Help:Wikicode Editing
From Urban Earth
Contents |
Wikicode
Wikicode is the markup language used to specify how pages (and especially text) are rendered. While it performs much the same function as HTML, it uses a very different nomenclature.
Headings
Headings are created by enclosing the text of the heading with a set of two 'equal' signs, on a separate line. Single 'equal' signs should be reserved for the article title.
==Headings==
Subheadings
Subheadings are created by enclosing the text of the heading with a set of three or more 'equal' signs, on a separate line. Additional 'equal' signs create sub-subheadings at ever lower levels.
===Subheading=== ====Sub-subheading====
Text Flourishes
Wikicode allows you to spice up your text with italic, bold, or italic and bold styles.
Italics
Italic text is enclosed in two single quotes
Italic text
''Italic text''
Bold
Bold text is enclosed in three single quotes
Bold text
'''Bold text'''
Italic and Bold
Bold text is enclosed in three single quotes
Italic and Bold text
'''''Italic and Bold text'''''
Links
Free Links
Free linkings is the method used by Mediawiki to form links between wiki articles. To create a simple link simply enclose a word or phrase that you think ought be a link with double brackets.
[[This is a link]]
Free links with different display names then the linked page name
Many times you will find that you want to use a different display name for a free link then the name of the page you want to link to. In cases like this you will need to use a slightly different syntax then in simple free links.
To create a link like this you will need to place a pipe character after you specify the page to link to:
[[This is a link | Link is here]]
CamelCase
CamelCase is an older form of creating wiki links. When using CamelCase the wiki software turns words with more then one capital letter into links to a page of the same name. CamelCase was the original wiki linking scheme and as such seemingly is always mentioned in wikicode tutorials. CamelCase is now deprecated. Do not use it in this wiki.
External Links
To link to a site outside of the wiki you will need to use an external link. External links are created by placing a single bracket around a valid URL. External Links without a specified display name will take the form of numbered footnote.
[http://www.intriguing.com/mp/_scripts/cheese.asp]
External Links with different display names then the linked page name
Many times you will find that you want to use a different display name for an external link then the name of the page you want to link to. In cases like this you will need to use a slightly different syntax then in simple external links.
To create a link like this you will need to place a space after you specify the page to link to:
[http://www.intriguing.com/mp/_scripts/cheese.asp Cheese Shop Sketch]
Lists
Unordered Lists
Unordered lists are generated by perpending a Sentence with an *. Increasing the number of * will increase the indentation of that item in the list.
- Apples
- Oranges
- Clementine
- Chocolate
*Apples *Oranges **Clementine *Chocolate
Numbered Lists
Number Lists function similarly to unordered lists except instead of have bullet points they have a numbered position. Increasing the number of # will increase the indentation of the list. Each indentation will be a new instance.
- Apples
- Oranges
- Clementine
- Chocolate
#Apples #Oranges ##Clementine #Chocolate
Name and Time Stamp
The character tilde (~) is used to insert your name and/or time stamp in a page.
Adding four tildes (~~~~) will add your user name followed by a time stamp:
Jason Nu 14:02, 10 March 2008 (PDT)
Adding three tildes (~~~) will add just your user name:
Jason Nu
And adding five tildes (~~~~~) gives the date/time alone:
14:02, 10 March 2008 (PDT)
