Wiki Markup Reference: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
Line 98: Line 98:
| <nowiki>__TOC__</nowiki>
| <nowiki>__TOC__</nowiki>
| Places a ToC here (overriding any <nowiki>__NOTOC__</nowiki>). Multiple ToCs are no longer supported. If <nowiki>__TOC__</nowiki> is used multiple times, only the first occurrence causes a ToC to appear.
| Places a ToC here (overriding any <nowiki>__NOTOC__</nowiki>). Multiple ToCs are no longer supported. If <nowiki>__TOC__</nowiki> is used multiple times, only the first occurrence causes a ToC to appear.
|-
|
<nowiki>{|align=right</nowiki><br>
<nowiki>| __TOC__</nowiki><br>
<nowiki>|}</nowiki>
| Place the table of contents into a floating table on the right side.
|-
|-
| <nowiki>__NOEDITSECTION__</nowiki>
| <nowiki>__NOEDITSECTION__</nowiki>

Revision as of 16:05, 30 November 2008

If you find new markup that you need to use, please add it for future reference.

Text

Bold Text

Italics Text

Bold Italics Text

Big Text

Small Text

Stricken Text

Underlined Text

SuperScript

SubScript

small caps

Red Text

Green Text

Links

External Links

[1]

Turbine

Internal Links

Armor

Link to Armor

Category:Armor

What Links Here

Lists

Unordered Lists

  • Item A
  • Item B
  • Item C

Numbered Lists

  1. First Item
  2. Second Item
  3. Third Item

Nested Lists

Putting an unordered list within a numbered list:

  1. Numbered List 1
  2. Numbered List 2
    • Unordered List A
    • Unordered List B
  3. Numbered List 3

Indentation, Alignment, and Spacing

Centered text
Single Indentation
Double Indentation
Triple Indentation
Definition List Term
Definition List Definition

Signing Comments

It's helpful to sign comments made on disscussion/talk pages so later on we know who left the comment and when it was made. Clicking the Signature button on the edit toolbar will automatically insert wiki code that will be translated into a link to your user page and the current time when you click the Save Page button. Alternatively you can insert the code yourself:

--~~~~

Magic Words

Word Description
__NOTOC__ Hides ToC on the current page.
__FORCETOC__ Forces the table of contents to appear.
__TOC__ Places a ToC here (overriding any __NOTOC__). Multiple ToCs are no longer supported. If __TOC__ is used multiple times, only the first occurrence causes a ToC to appear.

{|align=right
| __TOC__
|}

Place the table of contents into a floating table on the right side.
__NOEDITSECTION__ Hides the edit links beside headings. Also, will no longer automatically edit only one section at a time when double- or right-clicking a heading (if you have that feature enabled in your preferences)
__NEWSECTIONLINK__ [MW1.7+] Gives a "+"-link next to the edit-tab to make a new section on a non-talk page (post-a-comment feature).
__NOCONTENTCONVERT__
__NOCC__
Don't perform the content language conversion (character and phase) in article display; for example, Chinese zh with zh_cn, zh_tw, zh_sg, zh_hk.
__NOGALLERY__ [MW1.7+] This magic word allows images in category pages to be displayed as inline links instead of gallery.
__NOTITLECONVERT__
__NOTC__
Like __NOCC__ but affecting article title only.
__END__ Allows for trailing whitespace to be included in the page save (does not seem to work anymore).
__START__ This magic word has no effect but an ID in MagicWord.php (MAG_START).
__HIDDENCAT__ When placed anywhere on a category page, this magic word causes that category not to appear in the horizontal box near the bottom of every member page. See Help:Category#Hidden_categories for further detail.