Difference between revisions of "Help:Basic MediaWiki Syntax"
From Computer History Wiki
(Add table example) |
|||
| Line 117: | Line 117: | ||
## two point one | ## two point one | ||
# three | # three | ||
| + | |} | ||
| + | </div> | ||
| + | |||
| + | ==Tables== | ||
| + | <pre> | ||
| + | {| class="wikitable" | ||
| + | ! Table !! Prototype | ||
| + | |- | ||
| + | | colspan="2" style="text-align:center;" | Headers | ||
| + | |- | ||
| + | | aa || rowspan="2" | yy | ||
| + | |- | ||
| + | | bb | ||
| + | |- | ||
| + | | cc || zz | ||
| + | |} | ||
| + | </pre> | ||
| + | |||
| + | produces: | ||
| + | |||
| + | {| class="wikitable" | ||
| + | ! Table !! Prototype | ||
| + | |- | ||
| + | | colspan="2" style="text-align:center;" | Headers | ||
| + | |- | ||
| + | | aa || rowspan="2" | yy | ||
|- | |- | ||
| − | | | + | | bb |
|- | |- | ||
| − | | | + | | cc || zz |
| − | | | + | |} |
| + | |||
| + | ==Images== | ||
| + | |||
<nowiki>[[Image:Pdp-11-40.jpg|thumb|Caption text]]</nowiki> | <nowiki>[[Image:Pdp-11-40.jpg|thumb|Caption text]]</nowiki> | ||
| − | + | ||
| + | produces: | ||
| + | |||
[[Image:Pdp-11-40.jpg|thumb|Caption text]] | [[Image:Pdp-11-40.jpg|thumb|Caption text]] | ||
| − | |||
| − | |||
Revision as of 02:51, 9 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]] |
|
| Redirect to another page |
#REDIRECT [[Target page]] |
|
| External link (to other websites) |
[http://www.example.org] |
|
|
Sign your posts |
~~~~ |
Your username 14:15, |
| Applies only at the beginning of the 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 |
| 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: