Difference between revisions of "Help:Cheatsheet"

From ArchWiki
Jump to: navigation, search
(definition list)
(re-format (less of a blatant rip-off ;) ))
Line 2: Line 2:
 
<div align="center">
 
<div align="center">
 
<!--COMMENT MARKUP (displays in edit mode only)-->
 
<!--COMMENT MARKUP (displays in edit mode only)-->
{| align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
+
{| align="center" style="width:100%; border:1px #0771a6 solid; background:#f9f9f9; text-align:left;"
 
|-<!--WORKS ANYWHERE IN THE TEXT-->
 
|-<!--WORKS ANYWHERE IN THE TEXT-->
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works anywhere in the text'''
+
| colspan="3" style="background:#333333; color:#ffffff; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works anywhere in the text'''
 
|-<!--COLUMN HEADINGS-->
 
|-<!--COLUMN HEADINGS-->
| width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
+
| width="30%" style="background:#333333; color:#ffffff; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
| style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You type
+
|             style="background:#333333; color:#ffffff; padding:0.3em; font-size: 0.9em; text-align:center;"|You type
| width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
+
| width="30%" style="background:#333333; color:#ffffff; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
 
|-<!--1ST ROW 1ST COLUMN-->
 
|-<!--1ST ROW 1ST COLUMN-->
 
|Italic text
 
|Italic text
Line 16: Line 16:
 
''italic''
 
''italic''
 
|-<!--HORIZONTAL LINE-->
 
|-<!--HORIZONTAL LINE-->
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-<!--2ND ROW 1ST COLUMN-->
 
|-<!--2ND ROW 1ST COLUMN-->
 
|Bold text
 
|Bold text
Line 24: Line 24:
 
'''bold'''
 
'''bold'''
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Bold and italic text
 
|Bold and italic text
Line 32: Line 32:
 
'''''bold & italic'''''
 
'''''bold & italic'''''
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
||Link to another ArchWiki page<br />
 
||Link to another ArchWiki page<br />
Line 42: Line 42:
 
[[Name of page|Text to display]]
 
[[Name of page|Text to display]]
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Add a page to a category
 
|Add a page to a category
Line 48: Line 48:
 
|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.
 
|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.
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Signature
 
|Signature
Line 59: Line 59:
  
 
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
 
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works only at the beginning of lines'''
+
| colspan="3" style="background:#333333; color:#ffffff; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works only at the beginning of lines'''
 
|-<!--COLUMN HEADINGS-->
 
|-<!--COLUMN HEADINGS-->
| width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
+
| width="30%" style="background:#333333; color:#ffffff; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
| style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You type
+
|             style="background:#333333; color:#ffffff; padding:0.3em; font-size: 0.9em; text-align:center;"|You type
| width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You get  
+
| width="30%" style="background:#333333; color:#ffffff; padding:0.3em; font-size: 0.9em; text-align:center;"|You get  
 
|-
 
|-
 
|Redirect to another page
 
|Redirect to another page
Line 72: Line 72:
 
&rarr; [[Target page]]
 
&rarr; [[Target page]]
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Section headings<br />
 
|Section headings<br />
Line 90: Line 90:
 
====== Level 6 ======
 
====== Level 6 ======
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Bulleted list
 
|Bulleted list
Line 104: Line 104:
 
* Three
 
* Three
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Numbered list
 
|Numbered list
Line 118: Line 118:
 
# Three
 
# Three
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Definition list
 
|Definition list
Line 128: Line 128:
 
; Term two: Definition two
 
; Term two: Definition two
 
|-
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|colspan="3" style="border-top:1px solid #aaaaaa;"|
 
|-
 
|-
 
|Indenting text
 
|Indenting text

Revision as of 05:07, 30 March 2010

Works anywhere in the text
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
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.
Signature
Sign your contributions when posting to a Talk page.
Do not sign when contributing to an article.

~~~~

Username (talk) 11:00, 6 May 2016 (UTC)

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

See also

  • For a full list of editing commands, see Help:Editing
  • To experiment with editing, use the sandbox