Help:Cheatsheet
Appearance
For a full list of editing commands, see Help:Editing. To experiment with editing, use the sandbox.
Works anywhere in the text (wikitext) | ||
Description | You type | You get |
---|---|---|
Italic text |
''italic''
|
italic |
Bold text |
'''bold'''
|
bold |
Bold and italic text |
'''''bold & italic'''''
|
bold & italic |
Link to another ArchWiki page |
|
|
Link to section on same page | [[#Section]]
|
#Section |
External link |
[https://example.net/ Example external link]
|
Example external link |
Add a page to a category
|
[[Category:Category name]]
|
The category name will be displayed in a bar at the bottom when the page is previewed or saved. |
Works anywhere in the text (HTML) | ||
Description | You type | You get |
Strikethrough |
<s>strikethrough</s>
|
|
Underline | <u>underline</u>
|
underline |
Subscripts and superscripts | regular <sub>subscripts</sub> <sup>superscripts</sup>
|
regular subscripts superscripts |
Works only at the beginning of lines | ||
Description | You type | You get |
Code
|
$ echo Hello World
|
$ echo Hello World |
Redirect to another page
|
#REDIRECT [[Target page]]
|
↳ Target page |
Section headings
|
== Level 2 == === Level 3 === ==== Level 4 ==== ===== Level 5 ===== ====== Level 6 ====== |
Level 2Level 3Level 4Level 5Level 6 |
Horizontal rule | ----
|
|
Bulleted list |
* One * Two ** Two point one * Three |
|
Numbered list |
# One # Two ## Two point one # Three |
|
Definition list |
; Term one: Definition one ; Term two: Definition two |
|
Indenting text
|
no indent (normal) : first indent :: second indent ::: third indent |
no indent (normal)
|
Templates | ||
Description | You type | You get |
Inline code |
{{ic|code}}
|
code
|
Character escape |
{{ic|1=echo =}} or {{ic|echo {{=}}}}
|
echo =
|
Block of code
|
{{bc| block of code }} |
block of code |
Code block with header
|
{{hc|header| code block }} |
header code block |
Note |
{{Note|This text should be noted.}}
|
Note This text should be noted.
|
Tip
|
{{Tip|This text may be considered.}}
|
Tip This text may be considered.
|
Warning
|
{{Warning|This text should be heeded.}}
|
Warning This text should be heeded.
|
Man page
|
{{man|7|ascii}}
|
ascii(7) |
Package |
{{Pkg|linux}}
|
linux |
AUR package
|
{{AUR|linux-git}}
|
linux-gitAUR |