Wiki Format Sheet
Text formatting markup
For bold and italic text, use the icons in the editing window.
Template:Hl2 |Description | Template:Hl2 |You type | Template:Hl2 |You get |
only at the beginning of the line | ||
Indent text |
:Single indent |
|
Headings of different levels <ref>An article with four or more headings will automatically create a table of contents.</ref> |
=level 1=<ref>Use of a level 1 heading is highly discouraged as it appears with the same formatting and size as the page title, which can be confusing.</ref> |
Level 1 |
Horizontal rule |
---- |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Definition list |
;Definition |
|
How to link
Template:Hl3|Description | Template:Hl3|You type | Template:Hl3|You get |
Internal link | [[Main Page]] | Main Page |
Piped link | [[Main Page|different text]] | different text |
External link | http://mediawiki.org | http://mediawiki.org |
External link, different title |
[http://mediawiki.org MediaWiki] | MediaWiki |
External link, numbered |
[http://mediawiki.org] | [1] |
Anchor link | [[#See also]] | #See also |
Anchor link at another page | [[Help:Images#See also]] | Help:Images#See also |
Category link | [[:Category:Help]] | Category:Help |
Internal link to image file | [[media:example.jpg]] | media:example.jpg |
Internal link to pdf file | [[media:example.pdf]] | media:example.pdf |
Interwiki link | [[Wikipedia:MediaWiki]] | Wikipedia:MediaWiki |
mailto link | [mailto:info@example.org email me] | email me |
redirect | #REDIRECT [[Main Page]] | → Main Page |
External link to video file (.avi, .mpg) | [http://en.wikipedia.org/wiki/.avi .avi] | .avi |
External link to sound file (.mp3, .ogg, .wav) | [http://en.wikipedia.org/wiki/.wav .wav] | .wav |
External link to a document (.doc, .pdf) | [http://en.wikipedia.org/wiki/.doc .doc] | .doc |
More advanced
Template:Hl3|Description | Template:Hl3|You type | Template:Hl3|You get |
Piped link, different title |
[[Main Page|<span title="different title">different text</span>]] | different text |
External link, same host unnamed |
[http://{{SERVERNAME}}/pagename] | [2] |
External link, other host, pass pagename |
[http://google.com/search?q={{PAGENAMEE}}] | [3] |
mailto named with subject line and body | [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] | info |