Wiki Markup Reference: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
imported>Tlosk
Line 75: Line 75:


;Definition List Term : Definition List Definition
;Definition List Term : Definition List Definition
== Magic Words ==
{|border=1 cellpadding=3 cellspacing=0
!bgcolor=#F0F0F0| Word
!bgcolor=#F0F0F0| Description
|-
| <nowiki>__NOTOC__</nowiki>
| Hides ToC on the current page.
|-
| <nowiki>__FORCETOC__</nowiki>
| Forces the table of contents to appear.
|-
| <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.
|-
| <nowiki>__NOEDITSECTION__</nowiki>
| 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)
|-
| <nowiki>__NEWSECTIONLINK__</nowiki>
| [MW1.7+] Gives a "+"-link next to the edit-tab to make a new section on a non-talk page (post-a-comment feature).
|-
| <nowiki>__NOCONTENTCONVERT__</nowiki><br><nowiki>__NOCC__</nowiki>
| 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.
|-
| <nowiki>__NOGALLERY__</nowiki>
| [MW1.7+] This magic word allows images in category pages to be displayed as inline links instead of gallery.
|-
| <nowiki>__NOTITLECONVERT__</nowiki><br><nowiki>__NOTC__</nowiki>
| Like <nowiki>__NOCC__</nowiki> but affecting article title only.
|-
| <nowiki>__END__</nowiki>
| Allows for trailing whitespace to be included in the page save (does not seem to work anymore).
|-
| <nowiki>__START__</nowiki>
| This magic word has no effect but an ID in MagicWord.php (MAG_START).
|-
| <nowiki>__HIDDENCAT__</nowiki>
| 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.
|-
|}




[[Category:Help]]
[[Category:Help]]

Revision as of 18:38, 24 April 2008

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

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.
__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.