Syntax Cheatsheet for Wiki Markup
From KDHX Production
Wikipedia Cheatsheet | ||
Works anywhere in the text | ||
Description | You type | You get |
Italic textTemplate:Anchor |
''italic'' |
italic |
Bold text |
'''bold''' |
bold |
Bold and italic text |
'''''bold & italic''''' |
bold & italic |
Link to another Wikipedia page |
[[Name of page]]
[[Name of page|Text to display]] |
|
Add an image |
[[ File:Wiki.png|thumb|alt=Alt text|Caption
]] |
|
Add a page to a category |
[[Category:Category name]] |
Categories should be placed at the end of pages. The category name will display in a bar at the bottom when the page is previewed or saved. |
SignatureTemplate:Anchor
Sign your contributions when posting to a Talk Page.
Do not sign when contributing to an article.
|
~~~~ |
|
Works only at the beginning of lines | ||
Description | You type | You get |
Redirect to another pageTemplate:Anchor
Redirects must be placed at the start of the first line.
|
#REDIRECT [[Target page]] |
|
Redirect to a section of another page
Redirects must be placed at the start of the first line.
|
#REDIRECT [[Target page#anchorName]] |
|
Section headingsTemplate:Anchor A Table of Contents will automatically be generated when four headings are added to an article.
Do not use =Level 1=; it is reserved for page titles.
|
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ====== |
Level 2Level 3Level 4Level 5Level 6 |
Bulleted listTemplate:Anchor |
* One |
|
Numbered listTemplate:Anchor |
# One |
|
Indenting textTemplate:Anchor
This is used when replying on a talk page, to make it easier to follow conversations.
|
no indent (normal)
:first indent
::second indent
:::third indent |
no indent (normal)
|
Adding references | ||
Cheatsheet for citing a website or publication |
See also
- For a full list of editing commands, see Wiki markup
- To experiment with editing, use the sandbox
- For a guide to editing, see How to edit a page
- For a PDF, printable cheatsheet, see m:WMDOC/Cheatsheet