Format Examples: Difference between revisions
m (Equalses corrected) |
(Equalses corrected) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
Sub headings can be used by surrounding the sub heading text with increasing numbers of equals signs (=) on both sides. | Sub headings can be used by surrounding the sub heading text with increasing numbers of equals signs (=) on both sides. | ||
=<nowiki>=Heading 1=</nowiki>= | |||
==<nowiki>==Heading 2==</nowiki>== | |||
===<nowiki>===Heading 3===</nowiki>=== | |||
====<nowiki>====Heading 4====</nowiki>==== | |||
When a certain threshold of headings is used, the page will automatically obtain a menu at the top of the page. | When a certain threshold of headings is used, the page will automatically obtain a menu at the top of the page. |
Latest revision as of 10:39, 8 June 2014
Very basic formatting information is shown below. For more information, use the Media Wiki Formatting Documentation.
Headings
The name of the page is shown automatically as the top heading.
Sub headings can be used by surrounding the sub heading text with increasing numbers of equals signs (=) on both sides.
=Heading 1=
==Heading 2==
===Heading 3===
====Heading 4====
When a certain threshold of headings is used, the page will automatically obtain a menu at the top of the page.
Links
Link Type | You Type | Description | Shows on Page |
---|---|---|---|
Internal Link | [[Uffington]] | The name of the page you wish to link to, enclosed in two sets of square brackets. | Uffington |
Internal Link with alternative text | [[Uffington | Emergency Crossovers]] | The name of the page you wish to link to, then a pipe (|), then the text to be displayed, all enclosed in TWO sets of square brackets. | Emergency Crossovers |
External Link | http://www.bbc.co.uk | The link of the external site, starting with http://. | http://www.bbc.co.uk |
External Link with alternative text | [http://www.bbc.co.uk BBC] | The link of the external site, starting with http://, then a space, then the text to be displayed, all enclosed in ONE set of square brackets. | BBC |
Tables
{| | Open curly bracket, pipe | Table start |
---|---|---|
|+ | Pipe, plus | Table caption, optional; only between table start and first table row |
|- | Pipe, hyphen | Table row, optional on first row -- wiki engine assumes the first row |
! | Exclamation Mark | Table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!). |
| | Pipe | Table data cell, required! Consecutive table data cells may be added on same line separated by double marks (||) or start on new lines, each with its own single mark (|). |
|} | Pipe, close curly bracket. | Table end |
Example:
{| class="wikitable" !Column A !Column B !Column C |- |Cell A1 |Cell B1 |Cell C1 |- |Cell A2 ||Cell B2 ||Cell C2 |}
produces:
Column A | Column B | Column C |
---|---|---|
Cell A1 | Cell B1 | Cell C1 |
Cell A2 | Cell B2 | Cell C2 |
(Note the use of 'class="wikitable"' to get the nice formatting.
Other Formatting
Format | You Type | Shows on Page |
---|---|---|
Bold | '''Bold''' | Bold |
Italics | ''Italics'' | Italics |
Bullet List | * Item 1 * Item 2 |
|
Numbered List | # Item 1 # Item 2 |
|
More info: http://www.mediawiki.org/wiki/Help:Formatting
References
When making a citation, type <ref >, then the citation, then </ref>.
At the bottom of the page, to show all the references, type <references>.
Ie, Swindon Panel opened in 1968[1].
- ↑ Swindon Panel Society
If it is necessary to use the same citation twice, type <ref name="SPS">Swindon Panel Society</ref> on the first occasion, and then <ref name="SPS /> thereafter.
Ie, Swindon Panel opened in 1968[1] and closes in 2014 or 2015[1].