From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
m (putting actual button image on)
(→‎Lists: another type of list (I'm surprised it wasn't on here))
Line 1: Line 1:
{{All Game Nav|game=StrategyWiki:Guide}}
This page explains basic wiki markup and provides links to pages explaining advanced features. For a more complete guide, you may want to see [http://meta.wikimedia.org/wiki/Help:Editing Help:Editing on Wikimedia.org].


You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <tt><nowiki>''this''</nowiki></tt>.  Also note that when editing a page there are buttons that can help you if you forget such code, the ones at the top that look like this: [[Image:button_bold.png]]  By clicking them, an example will appear with the wikitext and text for you to replace.
== Basic Formatting ==
Plain text appears the same way that it was entered. A single newline inside the editing window will not affect the appearance of the text, but two consecutive newlines (one blank line) will cause a paragraph break. You can also use '''bold''', ''italics'', and '''''bold italics''''' formatting on blocks of text.


== Text formatting markup ==
{| width="100%" border="1" class="wikitable"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
Hello, world!
| width="50%"|
<pre>Hello, world!</pre>
|-
| width="50%"|
Hello
there.
| width="50%"|
<pre>Hello
there.</pre>
|-
| width="50%"|
Paragraph one.


{| align="center" border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
Paragraph two.
| width="50%"|
<pre>Paragraph one.
 
Paragraph two.</pre>
|-
|-
|bgcolor="#8DA7D6"|'''Description'''
| width="50%"|
|bgcolor="#8DA7D6"|'''You type'''
'''Bold.'''
|bgcolor="#8DA7D6"|'''You get'''
 
''Italics.''
 
'''''Bold italics.'''''
| width="50%"|
<pre>'''Bold.'''
 
''Italics.''
 
'''''Bold italics.'''''</pre>
|}
<br />
 
== Headings ==
Use headings to divide up a page into logical sections. A table of contents will automatically appear at the top of pages with four or more headings for easy navigation. See [[Help:Heading]] for information about using headings.
 
== Links ==
Link from one page to another to help readers navigate your guide. You can link to any page on the wiki or any external web page. To link to a page in another wiki namespace, use the full page name (i.e. <nowiki>Help:Contents</nowiki>).
 
{| width="100%" border="1" class="wikitable"
|-
|-
| colspan="3" align="center" | ''applies anywhere''
! width="50%"|
What you see
! width="50%"|
What you type
|-
|-
|Italic text
| width="50%"|
|<tt><nowiki>''italic''</nowiki></tt>
[[Zelda: Ocarina of Time]]
|''italic''
| width="50%"|
<pre>[[Zelda: Ocarina of Time]]</pre>
|-
|-
| Bold text
| width="50%"|
|<tt><nowiki>'''bold'''</nowiki></tt>
[[Zelda: Ocarina of Time|Ocarina of Time Homepage (named link)]]
|'''bold'''
| width="50%"|
<pre>[[Zelda: Ocarina of Time|Ocarina of Time Homepage (named link)]]</pre>
|-
|-
| Bold and italic
| width="50%"|
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
[[Nonexistant page]]
|'''''bold & italic'''''
| width="50%"|
<pre>[[Nonexistant page]]</pre>
|-
|-
|Escape wiki markup
| width="50%"|
|<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt>
http://www.google.com
|<nowiki>no ''markup''</nowiki>
| width="50%"|
<pre>http://www.google.com</pre>
|-
|-
| colspan="3" align="center" | ''only at the beginning of the line''
| width="50%"|
[http://www.google.com]
| width="50%"|
<pre>[http://www.google.com]</pre>
|-
|-
|Headings of<br />
| width="50%"|
different sizes
[http://www.google.com Google]
|
| width="50%"|
<tt><nowiki>==level 1==</nowiki></tt><br />
<pre>[http://www.google.com Google]</pre>
<tt><nowiki>===level 2===</nowiki></tt><br />
|}
<tt><nowiki>====level 3====</nowiki></tt><br />
<br />
<tt><nowiki>=====level 4=====</nowiki></tt>
 
|
== Lists ==
==Level 1==
You can create bulleted or numbered lists and sublists by prefixing lines with a special character.
===Level 2===
 
====Level 3====
{| width="100%" border="1" class="wikitable"
=====Level 4=====
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
|-
|Horizontal rule
| width="50%"|
|
* Bullet one
<tt><nowiki>----</nowiki></tt>
* Bullet two
|
* Bullet three
----
| width="50%"|
<pre>* Bullet one
* Bullet two
* Bullet three</pre>
|-
|-
|Bullet list
| width="50%"|
|
# First
&#42; one<br>
# Second
&#42; two<br>
# Third
&#42; three<br>
| width="50%"|
&#42;&#42; three and one-third<br>
<pre># First
&#42;&#42; three and two-thirds<br>
# Second
|
# Third</pre>
* one
* two
* three
** three and one-third
** three and two-thirds
|-
|-
|Numbered list
| width="50%"|
|
* Point
&#35; one<br />
** Subpoint
&#35; two<br />
** Subpoint
&#35; three<br />
*** Subsubpoint
&#35;&#35; three point one<br />
* Point
&#35;&#35; three point two<br />
| width="50%"|
|
<pre>* Point
# one
** Subpoint
# two
** Subpoint
# three
*** Subsubpoint
## three point one
* Point</pre>
## three point two
|-
|-
| Mixture of bulleted<br /> and numbered lists
| width="50%"|
|
# Thing
&#35; one<br />
## Subthing
&#35; two<br />
## Subthing
&#35;&#42; two point one<br />
### Subsubthing
&#35;&#42; two point two<br />
# Thing
|
| width="50%"|
# one
<pre># Thing
# two
## Subthing
#* two point one
## Subthing
#* two point two
### Subsubthing
# Thing</pre>
|-
|-
|Definition list
| width="50%"|
|
* Bullet
&#59;Definition<br />
# Numbered
&#58;item 1<br />
# Numbered
&#58;item 2<br />
* Bullet
|
# Numbered
;Definition
# Numbered
:item 1
| width="50%"|
:item 2
<pre>* Bullet
# Numbered
# Numbered
* Bullet
# Numbered
# Numbered</pre>
|-
|-
|Preformatted text
| width="50%"|
|
# Numbered
&nbsp;&nbsp;preformatted text is done with<br />
#* Bullet
&nbsp;&nbsp;a space at the<br />
#* Bullet
&nbsp;&nbsp;beginning of the line<br />
# Numbered
|
#* Bullet
preformatted text is done with
#* Bullet
a space at the
| width="50%"|
beginning of the line
<pre># Numbered
#* Bullet
#* Bullet
# Numbered
#* Bullet
#* Bullet</pre>
|}
|}
<br />


== Paragraphs ==
== Indenting ==
You can indent paragraphs by prefixing the paragraph with a colon. This is helpful for lining up items under a bullet point or for quoting big blocks of text.


MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a newline with the HTML tag <tt><nowiki><br&nbsp;/></nowiki></tt>
{| width="100%" border="1" class="wikitable"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
This is a short paragraph. It is not indented.
:This is a second paragraph. It has been indented a little bit.
::This third paragraph has been indented twice.
| width="50%"|
<pre>This is a short paragraph. It is not indented.
:This is a second paragraph. It has been indented a little bit.
::This third paragraph has been indented twice.</pre>
|}
<br />


== HTML ==
== No Formatting/No Wiki ==
There are several methods to keep your text from being formatted and keep its contents from being parsed for wiki markup.
 
{| width="100%" border="1" class="wikitable"
|-
! width="50%"|
What you see
! width="50%"|
What you type
|-
| width="50%"|
Preformatted text.
'''Wiki markup still works.'''
| width="50%"|
<pre> Preformatted text.
'''Wiki markup still works.'''</pre>
 
(There is a space before these lines.)
|-
| width="50%"|
<nowiki>Unwikified text.
'''Wiki markup is off.'''</nowiki>
| width="50%"|
<pre>&lt;nowiki&gt;[[Unwikified text.]]
'''Wiki markup is off.'''&lt;/nowiki&gt;</pre>
|-
| width="50%"|
<pre>Preformatted text.
No [[formatting]]
or '''wiki markup'''.</pre>
| width="50%"|
<pre>&lt;pre&gt;Preformatted text.
No [[formatting]]
or '''wiki markup'''.&lt;/pre&gt;</pre>
|}
<br />


Some HTML tags are allowed in MediaWiki; for example <tt><nowiki><code></nowiki></tt>, <tt><nowiki><div></nowiki></tt>, <tt><nowiki><span></nowiki></tt> and <tt><nowiki><font></nowiki></tt>.
== Images ==
Use of images can really help an explanation and can help to spice up a dull guide. See the [[Help:Image]] page for detailed instructions about uploading and using images in your pages.


== More advanced formatting ==
== Templates ==
Beyond the basic text formatting markup shown above, there are some more advanced formatting tricks:
You can use templates to insert pre-created content into your pages. By inserting a simple tag into your pages, you can achieve some nice effects and simplify editing. When a page is viewed, the tags are expanded out to their original form. See the [[Help:Template]] page for detailed information about creating and using templates.
*[[StrategyWiki:Guide/Links|Links]]
*[[StrategyWiki:Guide/Images|Images]]
*[[StrategyWiki:Guide/Tables|Tables]]


{{Footer_Nav|game=StrategyWiki:Guide|backpage=Preferences|nextpage=Links}}
== Categories ==
You can place your page into categories that group it with related pages and make it easier for readers to find. See the [[Help:Category]] page for information about adding your page to categories and linking to category listings.

Revision as of 04:19, 3 March 2007

This page explains basic wiki markup and provides links to pages explaining advanced features. For a more complete guide, you may want to see Help:Editing on Wikimedia.org.

Basic Formatting

Plain text appears the same way that it was entered. A single newline inside the editing window will not affect the appearance of the text, but two consecutive newlines (one blank line) will cause a paragraph break. You can also use bold, italics, and bold italics formatting on blocks of text.

What you see

What you type

Hello, world!

Hello, world!

Hello there.

Hello
there.

Paragraph one.

Paragraph two.

Paragraph one.

Paragraph two.

Bold.

Italics.

Bold italics.

'''Bold.'''

''Italics.''

'''''Bold italics.'''''


Headings

Use headings to divide up a page into logical sections. A table of contents will automatically appear at the top of pages with four or more headings for easy navigation. See Help:Heading for information about using headings.

Links

Link from one page to another to help readers navigate your guide. You can link to any page on the wiki or any external web page. To link to a page in another wiki namespace, use the full page name (i.e. Help:Contents).

What you see

What you type

Zelda: Ocarina of Time

[[Zelda: Ocarina of Time]]

Ocarina of Time Homepage (named link)

[[Zelda: Ocarina of Time|Ocarina of Time Homepage (named link)]]

Nonexistant page

[[Nonexistant page]]

http://www.google.com

http://www.google.com

[1]

[http://www.google.com]

Google

[http://www.google.com Google]


Lists

You can create bulleted or numbered lists and sublists by prefixing lines with a special character.

What you see

What you type

  • Bullet one
  • Bullet two
  • Bullet three
* Bullet one
* Bullet two
* Bullet three
  1. First
  2. Second
  3. Third
# First
# Second
# Third
  • Point
    • Subpoint
    • Subpoint
      • Subsubpoint
  • Point
* Point
** Subpoint
** Subpoint
*** Subsubpoint
* Point
  1. Thing
    1. Subthing
    2. Subthing
      1. Subsubthing
  2. Thing
# Thing
## Subthing
## Subthing
### Subsubthing
# Thing
  • Bullet
  1. Numbered
  2. Numbered
  • Bullet
  1. Numbered
  2. Numbered
* Bullet
# Numbered
# Numbered
* Bullet
# Numbered
# Numbered
  1. Numbered
    • Bullet
    • Bullet
  2. Numbered
    • Bullet
    • Bullet
# Numbered
#* Bullet
#* Bullet
# Numbered
#* Bullet
#* Bullet


Indenting

You can indent paragraphs by prefixing the paragraph with a colon. This is helpful for lining up items under a bullet point or for quoting big blocks of text.

What you see

What you type

This is a short paragraph. It is not indented.

This is a second paragraph. It has been indented a little bit.
This third paragraph has been indented twice.
This is a short paragraph. It is not indented.
:This is a second paragraph. It has been indented a little bit.
::This third paragraph has been indented twice.


No Formatting/No Wiki

There are several methods to keep your text from being formatted and keep its contents from being parsed for wiki markup.

What you see

What you type

Preformatted text.
Wiki markup still works.
 Preformatted text.
 '''Wiki markup still works.'''

(There is a space before these lines.)

Unwikified text. '''Wiki markup is off.'''

<nowiki>[[Unwikified text.]]
'''Wiki markup is off.'''</nowiki>
Preformatted text.
No [[formatting]]
or '''wiki markup'''.
<pre>Preformatted text.
No [[formatting]]
or '''wiki markup'''.</pre>


Images

Use of images can really help an explanation and can help to spice up a dull guide. See the Help:Image page for detailed instructions about uploading and using images in your pages.

Templates

You can use templates to insert pre-created content into your pages. By inserting a simple tag into your pages, you can achieve some nice effects and simplify editing. When a page is viewed, the tags are expanded out to their original form. See the Help:Template page for detailed information about creating and using templates.

Categories

You can place your page into categories that group it with related pages and make it easier for readers to find. See the Help:Category page for information about adding your page to categories and linking to category listings.