Help:Cheatsheet

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
Help:Style/Formatting and punctuation#Italic
''italic''
italic
Bold text
Help:Style/Formatting and punctuation#Bold
'''bold'''
bold
Bold and italic text
Help:Editing#Bold and italics
'''''bold & italic'''''
bold & italic
Link to another ArchWiki page
Help:Editing#Internal links
Help:Editing#Section links
[[Name of page]]
[[Name of page|Text to display]]
[[Name of page#Section]]
Name of page
Text to display
Name of page#Section
Link to section on same page
[[#Section]]
#Section
External link
Help:Editing#External links
[https://example.net/ Example external link]
Example external link
Add a page to a category
Categories should be placed at the
beginning
of pages.
Help:Style#Categories
[[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
Help:Editing#Strike-out

strikethrough

strikethrough
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
Start code lines with one or more spaces.
Help:Style#Code formatting
$ echo Hello World
$ echo Hello World
Redirect to another page
Redirects must be placed at the start of the first line.
Help:Editing#Redirects
Help:Style#Redirect pages
#REDIRECT [[Target page]]
↳
Target page
Section headings
= Level 1 =
should not be used
.
Help:Editing#Headings and subheadings
Help:Effective use of headers
Help:Style#Section headings
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======
Level 2
Level 3
Level 4
Level 5
Level 6
Horizontal rule
----
Bulleted list
Help:Editing#Bullet points
* One
* Two
** Two point one
* Three
One
Two
Two point one
Three
Numbered list
Help:Editing#Numbered lists
# One
# Two
## Two point one
# Three
One
Two
Two point one
Three
Definition list
Must not be simply used for formatting.
Help:Editing#Definition lists
; Term one: Definition one
; Term two: Definition two
Term one
Definition one
Term two
Definition two
Indenting text
Use indentation only when strictly necessary.
Help:Editing#Indenting
Help:Style/Formatting and punctuation#Quotations
no indent (normal)
: first indent
:: second indent
::: third indent
no indent (normal)
first indent
second indent
third indent
Templates
Description
You type
You get
Inline code
Use
Template:ic
.
See
Help:Style/Formatting and punctuation#Monospace
.
{{ic|code}}
code
Character escape
Help:Template#Escape template-breaking characters
{{ic|1=echo =}}
or
{{ic|echo {{=}}}}
echo =
Block of code
Use
Template:bc
.
See
Help:Style#Code formatting
.
{{bc|
block
of code
}}
block
of code
Code block with header
Use
Template:hc
.
{{hc|header|
code
block
}}
header
code
block
Note
Use
Template:Note
.
See
Help:Style#Notes, Warnings, Tips
.
{{Note|This text should be noted.}}
Note
This text should be noted.
Tip
Use
Template:Tip
.
{{Tip|This text may be considered.}}
Tip
This text may be considered.
Warning
Use
Template:Warning
.
{{Warning|This text should be heeded.}}
Warning
This text should be heeded.
Man page
Use
Template:man
.
See
Help:Style#Man pages
.
{{man|7|ascii}}
ascii(7)
Package
Use
Template:Pkg
.
See
Help:Style#Official packages
.
See
Help:Style/Formatting and punctuation#Package and group names
.
{{Pkg|linux}}
linux
AUR package
Use
Template:AUR
.
See
Help:Style#AUR packages
.
{{AUR|linux-git}}
linux-git
AUR