This is the wiki and special markup available on SUMO.
Markup common to articles and forum posts
| Description | What it looks like | Wiki Syntax | ||||||
|---|---|---|---|---|---|---|---|---|
| Typeface | ||||||||
| Bold | bold | '''bold'''
| ||||||
| Italics | italics | ''italics''
| ||||||
| Underline | underline | <u>underline</u>
| ||||||
| Superscript | Text in superscript | Text in <sup>superscript</sup>
| ||||||
| Subscript | Text in subscript | Text in <sub>subscript</sub>
| ||||||
| Strikeout | <s>Strikeout</s> or <del>Strikeout</del>
| |||||||
| Code | code
| <code>code</code>
| ||||||
Quoting | ||||||||
| Blockquote | blockquote | <blockquote>blockquote</blockquote>
| ||||||
| Preformatted text (start each line with a space) |
This is preformatted | This is | ||||||
Text breaks | ||||||||
| Line break | line
break | line
| ||||||
| Line break within tables, lists, etc. | line break | line<br>break
| ||||||
| Horizontal rule | text above
text below | text above ---- text below | ||||||
| Links | ||||||||
| Link to other articles | Page Title | [[Page Title]]
| ||||||
| Link specific text to other articles | click here | [[Page Title|click here]]
| ||||||
| Link specific text to anchor in the same article | click here | [[#w_anchor|click here]]
| ||||||
| Link specific text to anchor in other articles | click here | [[Page Title#w_anchor|click here]]
| ||||||
| External link | http://www.mozilla.com/ | [http://www.mozilla.com/]
| ||||||
| External link with text | Mozilla | [http://www.mozilla.com/ Mozilla]
| ||||||
| Lists | ||||||||
| Numbered list |
| # Item 1
| ||||||
| Unordered list |
| * Item A
| ||||||
| Unordered sub-list within a numbered list |
| #Item 1
| ||||||
| Mixed sub-lists (You can mix and match multiple list types) |
| * Item A
| ||||||
Tables | ||||||||
| Table with caption, column headings and multiple rows |
|
{|
|+ Table caption
!col 1!!col 2
|-
|A||B
|-
|C||D
|}
| ||||||
Media | ||||||||
| Image | Obrázek "Image Title" neexistuje. | [[Image:Image Title]]
| ||||||
Miscellaneous | ||||||||
| Escape wiki parsing | [[Not a link]] | <nowiki>[[Not a link]]</nowiki>
| ||||||
| Hidden comments | <!-- comment -->
|
Markup for articles
Article Wiki markup
| Description | What it looks like | Wiki Syntax |
|---|---|---|
| Headings | ||
| Table of Contents | Table of Contents (list of article headings) | __TOC__
|
| Indicates a level 1 heading |
Level 1 | = Level 1 =
|
| Indicates a level 2 heading |
Level 2 | == Level 2 ==
|
| Indicates a level 3 heading |
Level 3 | === Level 3 ===
|
| Indicates a level 4 heading |
Level 4 | ==== Level 4 ====
|
| Indicates a level 5 heading |
Level 5 | ===== Level 5 =====
|
| Indicates a level 6 heading |
Level 6 | ====== Level 6 ======
|
Customized styling | ||
| Note | text
| {note}text{/note}
|
| Warning | text
| {warning}text{/warning}
|
| Preference name / value | text | {pref text}
|
| File name / path | file | {filepath file}
|
| Keyboard shortcut | Ctrl + T | {key Ctrl+T}
|
| Menu path | {menu Firefox}
| |
| Button | {button Button}
| |
Indent text | ||
| Definition list |
| ; Term
|
Media | ||
| Image | Obrázek "Image Title" neexistuje. | [[Image:Image Title]]
|
| Video | Video "Video Title" neexistuje. | [[Video:Video Title]]
|
{for}
{for} doesn't get any special styling. It's useful for specifying that content only applies to certain operating systems or Firefox versions. See How to use "For" tags for details.
Templates
Templates are a way of reusing small pieces of content. Instead of writing a message twice, you can create and update it in one place, and then refer to it in other pages. The other pages will stay up-to-date with changes to the Template automatically! See How to use Templates for details.