Editing Battlestar Wiki:Markup
From the only original and legitimate Battlestar Wiki: the free-as-in-beer, non-corporate, open-content encyclopedia, analytical reference, and episode guide on all things Battlestar Galactica. Accept neither subpar substitutes nor subpar clones.
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
== Editing basics == | == Editing basics == | ||
;Start editing | ;Start editing | ||
:To start editing a ''Battlestar Wiki'' page, click on the "'''Edit this page'''" (or just "'''edit'''") link at one of its edges. This will bring you to the '''edit page''': a page with a text box containing the editable source code from which the server produces the webpage. ''If you just want to experiment, please do so in the [[ | :To start editing a ''Battlestar Wiki'' page, click on the "'''Edit this page'''" (or just "'''edit'''") link at one of its edges. This will bring you to the '''edit page''': a page with a text box containing the editable source code from which the server produces the webpage. ''If you just want to experiment, please do so in the [[Sandbox]], not here''. | ||
;Summarize your changes | ;Summarize your changes | ||
| Line 135: | Line 132: | ||
''Headings'' organize your writing into sections. | ''Headings'' organize your writing into sections. | ||
The Wiki software can automatically generate | The Wiki software can automatically generate | ||
a table of contents from them. | a [[Help:table of contents|table of contents]] from them. | ||
| Line 145: | Line 142: | ||
<b>A smaller subsection</b> | <b>A smaller subsection</b> | ||
Don't skip levels, like from two to four equals signs. | |||
Start with two equals signs; | Start with two equals signs; don't use single equals signs. | ||
|<pre><nowiki> | |<pre><nowiki> | ||
== Section headings == | == Section headings == | ||
| Line 160: | Line 157: | ||
==== A smaller subsection ==== | ==== A smaller subsection ==== | ||
Don't skip levels, like from two to four equals signs. | |||
Start with two equals signs; | Start with two equals signs; don't use single equals signs. | ||
</nowiki></pre> | </nowiki></pre> | ||
|- | |- | ||
| Line 265: | Line 262: | ||
|- | |- | ||
| | | | ||
Here | Here's a link to a page named [[Raptor]]. | ||
You can even say [[raptor]]s | You can even say [[raptor]]s | ||
and the link will show up correctly. | and the link will show up correctly. | ||
|<pre><nowiki> | |<pre><nowiki> | ||
Here | Here's a link to a page named [[Raptor]]. | ||
You can even say [[raptor]]s | You can even say [[raptor]]s | ||
and the link will show up correctly. | and the link will show up correctly. | ||
| Line 293: | Line 290: | ||
|- | |- | ||
| | | | ||
[[ | [[Donnelly Rhodes]] is a page that doesn't exist | ||
yet. You could create it by clicking on the link. | yet. You could create it by clicking on the link. | ||
|<pre><nowiki> | |<pre><nowiki> | ||
[[ | [[Donnelly Rhodes]] is a page that doesn't exist | ||
yet. You could create it by clicking on the link. | yet. You could create it by clicking on the link. | ||
</nowiki></pre> | </nowiki></pre> | ||
| Line 327: | Line 324: | ||
|<pre><nowiki> | |<pre><nowiki> | ||
You can make a link point to a different place | You can make a link point to a different place | ||
with a piped link. Put the link | with a [[Help:Piped link|piped link]]. Put the link | ||
target first, then the pipe character "|", then | target first, then the pipe character "|", then | ||
the link text. | the link text. | ||
| Line 364: | Line 361: | ||
|- | |- | ||
| | | | ||
Category links | Category links don't show up, but add the page | ||
to a category. | to a category. [[Category:People from Caprica]] | ||
Add an extra colon to actually link to the category: | Add an extra colon to actually link to the category: | ||
| Line 423: | Line 420: | ||
<pre> | <pre> | ||
The pre tag ignores Wiki ''markup''. | The pre tag ignores Wiki ''markup''. | ||
It also | It also doesn't reformat text. | ||
It still interprets special characters: → | It still interprets special characters: → | ||
</pre> | </pre> | ||
| | |<pre><nowiki> | ||
<pre> | |||
The pre tag ignores Wiki ''markup''. | |||
It also doesn't reformat text. | |||
It still interprets special characters: &rarr; | |||
</pre> | |||
</nowiki></pre> | |||
|- | |- | ||
|'''Leading spaces''' | |'''Leading spaces''' | ||
| Line 462: | Line 460: | ||
#The list continues. | #The list continues. | ||
| | | | ||
<pre><nowiki> | |||
#<nowiki>A newline | |||
surrounded by nowiki tags | |||
in a list | |||
does not mark the end of the list. | |||
</nowiki><pre><nowiki> | |||
You can combine pre tags with nowiki tags so | |||
preformatted examples can go inside of lists. | |||
</nowiki></pre> | |||
#The list continues. | |||
</nowiki></pre> | |||
|} | |} | ||
| Line 651: | Line 651: | ||
|- | |- | ||
| | | | ||
{{ | {{Transclusion demo}} | ||
|<pre><nowiki> | |<pre><nowiki> | ||
{{ | {{Transclusion demo}} | ||
</nowiki></pre> | </nowiki></pre> | ||
|- | |- | ||
| | | | ||
This template takes a | This template takes two parameters, and | ||
creates underlined text with a hover box | |||
for many modern browsers supporting CSS: | |||
{{ | {{H:title|This is the hover text| | ||
Hover your mouse over this text}} | |||
Go to this page to see the | Go to this page to see the H:title template | ||
itself: {{tl| | itself: {{tl|H:title}} | ||
|<pre><nowiki> | |<pre><nowiki> | ||
This template takes two parameters, and | |||
creates underlined text with a hover box | |||
for many modern browsers supporting CSS: | |||
This | {{H:title|This is the hover text| | ||
Hover your mouse over this text}} | |||
Go to this page to see the | Go to this page to see the H:title template | ||
itself: {{tl| | itself: {{tl|H:title}} | ||
</nowiki></pre> | </nowiki></pre> | ||
|} | |} | ||
| Line 681: | Line 686: | ||
===Edit conflicts=== | ===Edit conflicts=== | ||
If someone else makes an edit while you are making yours, the result is an edit conflict. Many conflicts can be automatically resolved by the Wiki. If it can | If someone else makes an edit while you are making yours, the result is an edit conflict. Many conflicts can be automatically resolved by the Wiki. If it can't be resolved, however, you will need to resolve it yourself. The Wiki gives you two text boxes, where the top one is the other person's edit and the bottom one is your edit. Merge your edits into the top edit box, which is the only one that will be saved. | ||
===Reverting=== | ===Reverting=== | ||
| Line 687: | Line 693: | ||
===Error messages=== | ===Error messages=== | ||
If you get an error message upon saving a page, you can | If you get an error message upon saving a page, you can't tell whether the actual save has failed or just the confirmation. You can go back and save again, and the second save will have no effect, or you can check "My contributions" to see whether the edit went through. | ||
===Checking spelling and editing in your favorite editor=== | ===Checking spelling and editing in your favorite editor=== | ||
You may find it more convenient to copy and paste the text first into your favorite text editor, edit and spell check it there, and then paste it back into your web browser to preview. This way, you can also keep a local backup copy of the pages you have edited. It also allows you to make changes offline. Google Toolbar offers a spell-checker for all fields, for example. | You may find it more convenient to copy and paste the text first into your favorite text editor, edit and spell check it there, and then paste it back into your web browser to preview. This way, you can also keep a local backup copy of the pages you have edited. It also allows you to make changes offline. Google Toolbar offers a spell-checker for all fields, for example. | ||
If you edit this way, it | If you edit this way, it's best to leave the editing page open after you copy from it, using the same edit box to submit your changes, so that the usual edit conflict mechanism can deal with it. If you return to the editing page later, please make sure that nobody else has edited the page in the meantime. If someone has, you'll need to merge their edits into yours by using the diff feature in the page history. | ||
===Composition of the edit page=== | ===Composition of the edit page=== | ||
| Line 710: | Line 716: | ||
*Category|Categories | *Category|Categories | ||
*The magic words <nowiki>__NOTOC__ and __FORCETOC__</nowiki>. | *The magic words <nowiki>__NOTOC__ and __FORCETOC__</nowiki>. | ||
==External links== | ==External links== | ||
*[http://meta.wikimedia.org/wiki/Help:Editing MediaWiki Handbook] on Meta-Wiki | *[http://meta.wikimedia.org/wiki/Help:Editing MediaWiki Handbook] on Meta-Wiki | ||
*[http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html Special characters in HTML] | *[http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html Special characters in HTML] | ||