Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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:
{{Project|Markup|image=BSG WIKI Wiki.png|shortcut=BW:CODE<br/>BW:MARK<br/>BW:MARKUP}}
Having trouble learning '''Wiki markup''' code? This page shows you how!
''Note: For most default resolutions, this page will expands further horizontally beyond the page's margins because of the content of this page. Do not worry, it is not a malfunction of your browser.''
== 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 [[BW:SAND|Sandbox]], not here''.
: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>


Do not skip levels, like from two to four equals signs.
Don't skip levels, like from two to four equals signs.
Start with two equals signs; do not use single 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 ====


Do not skip levels, like from two to four equals signs.
Don't skip levels, like from two to four equals signs.
Start with two equals signs; do not use single equals signs.
Start with two equals signs; don't use single equals signs.
</nowiki></pre>
</nowiki></pre>
|-
|-
Line 265: Line 262:
|-
|-
|
|
Here is a link to a page named [[Raptor]].
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 is a link to a page named [[Raptor]].
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:
|-
|-
|
|
[[Example]] is a page that does not exist
[[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>
[[Example]] is a page that does not exist
[[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 do not show up, but add the page
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 does not     reformat text.
It also doesn't     reformat text.
It still interprets special characters: &rarr;
It still interprets special characters: &rarr;
</pre>
</pre>
|
|<pre><nowiki>
<pre>
<pre>
The pre tag ignores Wiki ''markup''.
The pre tag ignores Wiki ''markup''.
It also does not     reformat text.
It also doesn't     reformat text.
It still interprets special characters: &amp;rarr;
It still interprets special characters: &amp;rarr;
</pre>
</pre>
</nowiki></pre>
|-
|-
|'''Leading spaces'''
|'''Leading spaces'''
Line 462: Line 460:
#The list continues.
#The list continues.
|
|
#&lt;nowiki&gt;A newline
<pre><nowiki>
surrounded by nowiki tags
#&lt;nowiki&gt;A newline
in a list
surrounded by nowiki tags
does not mark the end of the list.
in a list
&lt;/nowiki&gt;&lt;pre&gt;&lt;nowiki&gt;
does not mark the end of the list.
You can combine pre tags with nowiki tags so
&lt;/nowiki&gt;<pre>&lt;nowiki&gt;
preformatted examples can go inside of lists.
You can combine pre tags with nowiki tags so
&lt;/nowiki&gt;&lt;/pre&gt;
preformatted examples can go inside of lists.
#The list continues.
&lt;/nowiki&gt;</pre>
#The list continues.
</nowiki></pre>
|}
|}


Line 651: Line 651:
|-
|-
|
|
{{WikiFrakr}}
{{Transclusion demo}}
|<pre><nowiki>
|<pre><nowiki>
{{WikiFrakr}}
{{Transclusion demo}}
</nowiki></pre>
</nowiki></pre>
|-
|-
|
|
This template takes a parameter, allowing the template to be modified ''without'' modifying the code for said template directly:
This template takes two parameters, and
creates underlined text with a hover box
for many modern browsers supporting CSS:


{{WikiFrakr|He That Puteth In Me}}
{{H:title|This is the hover text|
Hover your mouse over this text}}


Go to this page to see the WikiFrakr template
Go to this page to see the H:title template
itself: {{tl|WikiFrakr}}
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 template takes a parameter, allowing the template to be modified ''without'' modifying the code for said template directly:
{{H:title|This is the hover text|
 
Hover your mouse over this text}}
{{WikiFrakr|He That Puteth In Me}}


Go to this page to see the WikiFrakr template
Go to this page to see the H:title template
itself: {{tl|WikiFrakr}}
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 not 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.
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 not 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.
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 is 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 will need to merge their edits into yours by using the diff feature in the page history.
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]

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).