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)
 
(17 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
 
== Special Wiki Code ==
=== 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:
<pre>
--~~~~
</pre>
=== What Links Here ===
 
=== Search ===
You can create a wiki link to a search for a particular term or variable. For example to create a link that searches for the term [[:Special:Search/Geomancy|Geomancy]]:
 
<pre>
[[:Special:Search/Geomancy|Geomancy]]
</pre>
 
For more than one word, separate terms with +, such as:
 
<pre>
[[:Special:Search/Fire+Cold]]
</pre>
 
You can also use [[Wiki Markup Reference#Variables|variables]] such as:
 
<pre>
[[:Special:Search/{{PAGENAME}}|Article]]
</pre>
 
Note that a search term that exactly matches the name of an existing article will resolve to that article, not a search.
 
== 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>{|align=right</nowiki><br>
<nowiki>| __TOC__</nowiki><br>
<nowiki>|}</nowiki>
| Place the table of contents into a floating table on the right side, in other words the table of contents appears the same, just to the right side with text flowing normally alongside on the left.
|-
| <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.
|-
|}
 
=== Variables ===
<pre>
{{PAGENAME}} - Name of the article where the variable is used.
 
{{??}} - ??
</pre>
 
 
 
[[Category:Help]]

Latest revision as of 18:26, 8 April 2014