Help:Contents

From webglcookbook
Revision as of 09:51, 6 November 2009 by Giles (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax highlighting

Pages on this site are written using the normal MediaWiki syntax. There's one extra feature; we're using the GeSHiCodeTag extension, which means that you can get code highlighting. If you do this:

<code javascript>
function sayhello()
{
    alert("Hello, world");
}
</code>

...you will get this:

function sayhello() {

   alert("Hello, world");

}

...and if you do this:

<code javascript n>
function sayhello()
{
    alert("Hello, world");
}
</code>

...you'll get line numbers:

function sayhello() {

   alert("Hello, world");

}


Normal MediaWiki syntax cheatsheet

(This is borrowed from MediaWiki Text Formatting Help - a more extended guide is at MediaWiki Help:Editing. Thanks to the Ironpython Cookbook for the pointer.)


Description You type You get
Applies anywhere
Italicise text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic

'''''bold & italic'''''

bold & italic

Internal link

(within Wikipedia)

[[name of page]]
[[name of page|display text]]

name of page
display text

Redirect

#redirect [[Target page]]

1. redirect Target page

External link

(to other websites)

[http://www.dolcera.com]
[http://www.dolcera.com Dolcera]
http://www.dolcera.com

[1]
Dolcera
http://www.dolcera.com

Escape wiki markup

with ''markup''
<nowiki>without ''markup''</nowiki>

with markup
without ''markup''

Applies only at the beginning of the line
Headings

of different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Bullet list

*one
*two
**two point one
*three

  • one
  • two
    • two point one
  • three
Numbered list

#one
#two
##two point one
#three

  1. one
  2. two
    1. two point one
  3. three
Definition list

;Definition
:item 1
:item 2
::item 2 point one
:item 3

Definition
item 1
item 2
item 2 point one
item 3
Thumbnail image

[[Image:Wiki.png|thumb|Caption text]]

Linking to an e-mail address

mailto:[email protected] or [mailto:[email protected] kirti]

mailto:[email protected] or kirti

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox