Difference between revisions of "Help:Cheatsheet"

From ArchWiki
Jump to: navigation, search
(<tt> tag is deprecated in HTML 5)
Line 80: Line 80:
|colspan="3" style="border-top:1px solid #aaaaaa;"|
<div style="padding: 0.7em .5em; font-size:0.9em;">''Consider using <tt><nowiki><pre></nowiki></tt> tags to format code blocks.''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''There exist also a number of [[:Category:Template#Code formatting templates|code formatting templates]].''</div>
|colspan="3" style="border-top:1px solid #aaaaaa;"|
|colspan="3" style="border-top:1px solid #aaaaaa;"|

Revision as of 04:13, 1 September 2011

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



Bold text



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
Text to display

Add a page to a category [[Category:Category name]] Categories should be placed at the beginning of pages. The category name will display in a bar at the bottom when the page is previewed or saved.
Sign your contributions when posting to a Talk page.
Do not sign when contributing to an article.


Username (talk) 04:52, 23 June 2018 (UTC)

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






Centering text


Subscripts and superscripts

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

sub sup

Works only at the beginning of lines
Description You type You get
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 when four headings are added to an article.
=Level 1= should not be used.

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