Wiki Markup Reference: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 77: | Line 77: | ||
;Definition List Term : Definition List Definition | ;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: | |||
<pre> | |||
--~~~~ | |||
</pre> | |||
== Magic Words == | == Magic Words == |
Revision as of 13:14, 9 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
Internal Links
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
- 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. |
__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. |