Wiki Markup Reference: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
(moved Wiki Markup Reference to Help:Wiki Markup Reference: Moving to the Help namespace)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you find new markup that you need to use, please add it for future reference.
#REDIRECT [[Help:Wiki Markup Reference]]
 
== Text ==
 
'''Bold Text'''
 
''Italics Text''
 
'''''Bold Italics Text'''''
 
<big>Big Text</big>
 
<small>Small Text</small>
 
<strike>Stricken Text</strike>
 
<u>Underlined Text</u>
 
Super<sup>Script</sup>
 
Sub<sub>Script</sub>
 
<span style="font-variant:small-caps">small caps</span>
 
<font color=red>Red Text</font>
 
<font color=#00FF00>Green Text</font>
 
== Links ==
 
=== External Links ===
 
[http://ac.turbine.com/]
 
[http://ac.turbine.com/ Turbine]
 
=== Internal Links ===
 
[[Armor]]
 
[[Armor | Link to Armor]]
 
[[:Category:Armor]]
 
[[:Special:Whatlinkshere/Wiki Markup Reference | What Links Here]]
 
== Lists ==
 
=== Unordered Lists ===
*Item A
*Item B
*Item C
 
=== Numbered Lists ===
#First Item
#Second Item
#Third Item
 
=== Nested Lists ===
Putting an unordered list within a numbered list:
 
#Numbered List 1
#Numbered List 2
#*Unordered List A
#*Unordered List B
#Numbered List 3
 
== Indentation, Alignment, and Spacing ==
 
<center>Centered text</center>
 
:Single Indentation
 
::Double Indentation
 
:::Triple Indentation
 
;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]]

Latest revision as of 18:26, 8 April 2014