(moved Wiki Markup Reference to Help:Wiki Markup Reference: Moving to the Help namespace)
 
(3 intermediate revisions by the same user 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 ==
{|border=0 cellpadding=4
|-
|
<pre>
'''Bold Text'''
</pre>
| '''Bold Text'''
|-
|
<pre>
''Italics Text''
</pre>
| ''Italics Text''
|-
|
<pre>
'''''Bold Italics Text'''''
</pre>
| '''''Bold Italics Text'''''
|-
|
<pre>
<big>Big Text</big>
</pre>
| <big>Big Text</big>
|-
|
<pre>
<small>Small Text</small>
</pre>
| <small>Small Text</small>
|-
|
<pre>
<span style="font-size: xx-large">xx-large Text</span>
</pre>
| <span style="font-size: xx-large">xx-large Text</span>
|-
|
<pre>
<span style="font-size: x-large">x-large Text</span>
</pre>
| <span style="font-size: x-large">x-large Text</span>
|-
|
<pre>
<span style="font-size: large">large Text</span>
</pre>
| <span style="font-size: large">large Text</span>
|-
|
<pre>
<span style="font-size: x-small">x-small Text</span>
</pre>
| <span style="font-size: x-small">x-small Text</span>
|-
|
<pre>
<span style="font-size: xx-small">xx-small Text</span>
</pre>
| <span style="font-size: xx-small">xx-small Text</span>
|-
|
<pre>
<strike>Stricken Text</strike>
</pre>
| <strike>Stricken Text</strike>
|-
|
<pre>
<u>Underlined Text</u>
</pre>
| <u>Underlined Text</u>
|-
|
<pre>
Super<sup>Script</sup>
</pre>
| Super<sup>Script</sup>
|-
|
<pre>
Sub<sub>Script</sub>
</pre>
| Sub<sub>Script</sub>
|-
|
<pre>
<tt>Teletype text</tt>
</pre>
| <tt>Teletype text</tt>
|-
|
<pre>
<span style="font-variant:
small-caps">small caps</span>
</pre>
| <span style="font-variant:small-caps">small caps</span>
|-
|
<pre>
<font color=red>Red Text</font>
</pre>
| <font color=red>Red Text</font>
|-
|
<pre>
<font color=#00FF00>Green Text</font>
</pre>
| <font color=#00FF00>Green Text</font>
|-
|
<pre>
{{lc:Lower Case}}
</pre>
| {{lc:Lower Case}}
|-
|
<pre>
{{uc:Upper Case}}
</pre>
| {{uc:Upper Case}}
|-
|
<pre>
{{ucfirst:first letter upper case}}
</pre>
| {{ucfirst:first letter upper case}}
|-
|
<pre>
{{lcfirst:FIRST LETTER LOWER CASE}}
</pre>
| {{lcfirst:FIRST LETTER LOWER CASE}}
|-
|}
 
== 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]]
 
<span class="plainlinks">[{{SERVER}}{{localurl:Image:Icon.png}} Image:Icon.png]</span> (internal link, no redirect symbol)
 
== 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 ===
You can create a hard link to the Whatlinkshere function. Use either a particular article name, or you can use a variable. The primary benefit to using a whatlinkshere function as opposed to just listing items, is in the future when more items are added to the wiki, a whatlinkshere will automatically reflect the new additions. A static list will depend on being correctly updated, something that may or may not happen.
 
<pre>
[[:Special:Whatlinkshere/Pack (White)|Vendors that sell White Packs.]]
 
[[:Special:Whatlinkshere/{{PAGENAME}}|Variable]]
</pre>
 
=== 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 cellpadding=10</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. You can adjust the alignment, cellpadding (whitespace around the ToC), color, etc if desired. For simple usage, you can use [[Template:RightToC|<nowiki>{{RightToC}}</nowiki>]].
|-
| <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.
|-
|}
=== Reserved Characters in HTML ===
{|border=1 cellpadding=3 cellspacing=0
!bgcolor=#F0F0F0| Character
!bgcolor=#F0F0F0| Code
!bgcolor=#F0F0F0| Description
|-
| " || <code>&amp;quot;</code> || quotation mark
|-
| ' || <code>&amp;apos;</code> || apostrophe
|-
| & || <code>&amp;amp;</code> || ampersand
|-
| < || <code>&amp;lt;</code> || less-than
|-
| > || <code>&amp;gt;</code> || greater-than
|-
| &nbsp; || &amp;nbsp; || [http://en.wikipedia.org/wiki/Non-breaking_space non-breaking space]
|-
|}
 
=== Variables ===
<pre>
{{PAGENAME}} - Name of the article where the variable is used.
 
{{??}} - ??
</pre>
 
== CSS Elements ==
# When one to four values can be specified they are top, right, bottom, and left. If one value is given, it will be applied to all four, for two to three values any missing values will take the value of their opposite.
# For possible color values, see [[Color Chart]].
 
* '''clear: <value>''' - <font color=#808080>clear: right</font> - Values can be none, left, right, or both and specifies whether an element allows floating elements to its sides.
* '''border: <value>''' - <font color=#808080>border: 2px dotted #808080</font> - Specify the width, style, and color (any or all) for all four borders. To specify the properties of an individual border see below.
** '''border-color: <value>''' - <font color=#808080>border-color: #F0F0F0 #303030 #F0F0F0 #303030</font> - Specify one to four color values, top, right, bottom, and left.
** '''border-style: <value>''' - <font color=#808080>border-style: dashed</font> - Value can be none, dotted, dashed, solid, double, groove, ridge, inset, outset. Specify one to four color values, top, right, bottom, and left.
** '''border-width: <value>''' - <font color=#808080>border-width: 3px</font> - The value can be thin, medium, thick, or a numeric value. Specify one to four values, top, right, bottom, and left.
* '''float: <value>''' - <font color=#808080>float: left</font> - Values can be left, right, or none and allow text to wrap (or not) around the element.
* '''font-family: <family-name>''' - <font color=#808080>font-family: Courier</font> - Use the font name.
* '''font-size: <value>''' - <font color=#808080>font-size: large</font> - Values can be xx-small, x-small, small, medium,  large, x-large, xx-large, larger, smaller, a length, or a percentage.
* '''margin: <value>''' - <font color=#808080>margin: 5px</font> - Values can be a length a percentage, or auto and specifies the margins of an element. Specify one to four values, top, right, bottom, and left.
* '''padding: <value>''' - <font color=#808080>padding: 10px</font> - Values can be a length or a percentage and specifies the amount of space between a border and the content of an element. Specify one to four values, top, right, bottom, and left.
 
[[Category:Help]]

Latest revision as of 00:26, 9 April 2014