Difference between revisions of "Help:Basic MediaWiki Syntax"
From Computer History Wiki
(Add table example) |
(Add indent, rm redir (covered elsewhere)) |
||
Line 42: | Line 42: | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
Line 73: | Line 67: | ||
{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | ||
|-<!--2ND HEADING--> | |-<!--2ND HEADING--> | ||
− | | colspan="3" style="background:#E6F2FF; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | | + | | colspan="3" style="background:#E6F2FF; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Items below only apply at the beginning of a line |
|- | |- | ||
|Headings<br /> | |Headings<br /> | ||
Line 91: | Line 85: | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
+ | |- | ||
+ | |Indented items<br /> | ||
+ | (used mostly on Talk: pages) | ||
+ | | | ||
+ | <tt>: foo</tt><br /> | ||
+ | <tt>:: bar</tt><br /> | ||
+ | | | ||
+ | : foo | ||
+ | :: bar | ||
|- | |- | ||
|Bullet list | |Bullet list |
Revision as of 14:21, 10 February 2018
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 Computer History wiki) |
[[name of page]] |
|
External link (to other websites) |
[http://www.example.org] |
|
Sign your posts |
~~~~ |
Your username 00:57, |
Items below only apply at the beginning of a line | ||
Headings A Table of Contents will automatically be generated when four headings are added to an article. |
== Level 1 == |
Level 1Level 2Level 3Level 4Level 5 |
Indented items (used mostly on Talk: pages) |
: foo |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Tables
{| class="wikitable" ! Table !! Prototype |- | colspan="2" style="text-align:center;" | Headers |- | aa || rowspan="2" | yy |- | bb |- | cc || zz |}
produces:
Table | Prototype |
---|---|
Headers | |
aa | yy |
bb | |
cc | zz |
Images
[[Image:Pdp-11-40.jpg|thumb|Caption text]]
produces: