Help:Cheatsheet

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

[[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

[https://www.google.com/ Google search engine]

Google search engine

Add a page to a category
Categories should be placed at the beginning of pages.
[[Category:Category name]] The category name will display in a bar at the bottom when the page is previewed or saved.
Signature

Sign your contributions when posting to a Talk page.

Do not sign when contributing to an article.

See also mw:Help:Signatures.

~~~~

Username, 05:17, 2 August 2021 (UTC)

Works anywhere in the text (HTML)
Description You type You get
Strikethrough

<s>strikethrough</s>

strikethrough

Underline

<u>underline</u>

underline

Subscripts and superscripts

regular<sub>sub</sub> <sup>sup</sup>

regularsub sup

Works only at the beginning of lines
Description You type You get
Code

Start code lines with one or more spaces.

See also 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.

#redirect [[Target page]]

Target page

Section headings

A Table of Contents will automatically be generated for articles with four or more headings.

=Level 1= should not be used.

See also Help:Effective use of headers.

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2

Level 3

Level 4

Level 5
Level 6
Horizontal rule

----


Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Definition list

; Term one: Definition one
; Term two: Definition two

Term one
Definition one
Term two
Definition two
Indenting text
This is generally used when replying on a Talk page, as it keeps conversations easy to browse.

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

{{ic|code}}

code

Character escape

{{ic|1=echo =}}

echo =

Block code
{{bc|
block
code
}}
block
code
Block code with header
{{hc|header|
block
}}
header
block
Note

{{Note|This text should be noted.}}

Note: This text should be noted.
Warning

{{Warning|This text should be heeded.}}

Warning: This text should be heeded.
Man page

{{man|7|archlinux}}

archlinux(7)

Package

{{Pkg|linux}}

linux

AUR package

{{AUR|linux-git}}

linux-gitAUR