Difference between revisions of "Help:Cheatsheet"

From ArchWiki
Jump to: navigation, search
m (space inside tt)
(it uses overflow:auto now)
Line 92: Line 92:
<div style="padding-left:.5em; font-size:0.9em;">
<div style="padding-left:.5em; font-size:0.9em;">
''Start code lines with one or more spaces. Warning, does not autowrap!''
''Start code lines with one or more spaces.''
''See also [[Help:Style#Code formatting templates]].''
''See also [[Help:Style#Code formatting templates]].''

Revision as of 10:15, 5 May 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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

Sign your contributions when posting to a Talk page.

Do not sign when contributing to an article.


Username, 14:37, 20 October 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

Start code lines with one or more spaces.

See also Help:Style#Code formatting templates.

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