Difference between revisions of "Formatting Rules"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 6)
 
(old WiKit "Formatting Rules" page is now irrelevant)
 
Line 1: Line 1:
−
'''Links'''
+
For complete documentation on supported MediaWiki markup, see [http://meta.wikimedia.org/wiki/Help:Editing Help:Editing].
−
* Refer to a [[wiki]] page by enclosing it's name in square brackets: ''[wiki]''.  Case is not significant, spaces are fine.  Literal square brackets must be escaped: ''[[[[[''.
 
−
* URLs are recognized automatically: http://your.site/contents.html
 
−
* URLs in square brackets will be shown as a reference [http://www.aolserver.com/]], or as inline images if they have the extension .gif or .jpg.  You can also name an external link by putting a space and some string after the URL, like so: [http://www.aolserver.com/ an external link to your site].
 
−
 
 
−
----
 
−
 
 
−
'''Emphasis'''
 
−
* Surround text with pairs of single quotes to make it ''display in italic''
 
−
* Surround text with triple single quotes to make it '''display in bold'''
 
−
 
 
−
To emphasise more than set of words per line, break the paragraph into multiple
 
−
lines.  They will be concatenated together for display.
 
−
 
 
−
----
 
−
 
 
−
'''Lists'''
 
−
 
 
−
List items begin with three spaces, a token followed by a space, then the content of the list item, all on one line.  Three types of list are supported, here are the tokens:
 
−
* Bulleted lists use a '''*''' (star) token
 
−
* Numbered lists use the number-period '''1.''' token.  Just use the number ''1'', the items will be auto numbered.
 
−
* Definition lists use the definition followed by a colon, as token: '''mydef: '''
 
−
 
 
−
----
 
−
 
 
−
'''Formatting text'''
 
−
 
 
−
You can blockquote indent text by starting the line out with a colon and whitespace, like so:
 
−
 
 
−
: this should be indented.
 
−
 
 
−
You can get a line break (basically, a <br/>) using three tildes, like so:
 
−
 
 
−
    this should ~~~ appear on two lines
 
−
 
 
−
which looks like this:
 
−
: this should ~~~ appear on two lines
 
−
 
 
−
To get literal (preformatted) text, start the line with one or more whitespace:
 
−
 
 
−
    proc example {foo bar} {
 
−
        puts "You can't go wrong with examples!"
 
−
    }
 
−
 
 
−
----
 
−
 
 
−
'''Horizontal rules'''
 
−
 
 
−
4 or more dashes (''----'') on a line by themselves create a horizontal rule.
 
−
 
 
−
----
 
−
 
 
−
'''Adding new pages'''
 
−
 
 
−
To add a new page:~~~
 
−
  1. when editing a page, create a link to a new wiki page (using square brackets around the ''[New Page Name]'')
 
−
  1. ''Save'' the page you've edited
 
−
  1. when the page is redisplayed after being saved, click on the square bracket (on either side) of your new link
 
−
  1. you will be taken to an empty page with the title given by the link in the previous page, e.g. ''New Page Name''
 
−
  1. click on the link at the bottom of the page (to the right of the ''Last Updated:'' timestamp) for ''Edit '''New Page Name''' ''
 
−
  1. now you can edit the newly created page
 
−
 
 
−
----
 
−
 
 
−
Practice your wiki skills on the [[graffiti]] page!
 

Latest revision as of 16:21, 7 October 2005

For complete documentation on supported MediaWiki markup, see Help:Editing.