Difference between revisions of "Help:Contents"

(Indented text)
(Indented text)
Line 147: Line 147:
  
 
: Hello world.
 
: Hello world.
 +
 +
== Key-value lists ==
 +
 +
This:
 +
 +
<nowiki>
 +
; Chestnut: The most common colour of horse.
 +
; Dapple grey: Another colour for horses.</nowiki>
 +
 +
Gives you this:
 +
 +
; Chestnut: The most common colour of horse.
 +
; Dapple grey: Another colour for horses.

Revision as of 19:28, 21 November 2018

MediaWiki syntax

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 the wiki)

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

name of page
display text

Link to section in another page

[[Another page#Some heading]]
[[Another page#Some heading | Display text]]

Another page#Some heading
Display text

Link to a section in this page

[[#Some heading]]
[[#Some heading | Display text]]

#Some heading
Display text

Redirect to another page

#redirect [[Target page]]

Going to that page automatically bounces you to the specified other page.

External link

(to other websites)

[http://www.example.org]
[http://www.example.org display text]
http://www.example.org

[1]
display text
http://www.example.org

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
 
Thumbnail image

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

File:Wiki.png
Caption text

Indented text

If you start a line with a colon (:), it is indented. Two colons mean double-indented.

e.g. a line like this:

: Hello world.

Gives you text like this:

Hello world.

Key-value lists

This:

 ; Chestnut: The most common colour of horse.
 ; Dapple grey: Another colour for horses.

Gives you this:

Chestnut
The most common colour of horse.
Dapple grey
Another colour for horses.