Clicklaw Wikibooks Cheatsheet

From Clicklaw Wikibooks
Revision as of 19:23, 17 November 2011 by Drew (talk | contribs)
Jump to navigation Jump to search

|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |

Wikipedia Cheatsheet

|- | colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | Works anywhere in the text |- | width="30%" style="background:#E6F2FF; 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 | width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You get |- |Italic textTemplate:Anchor | ''italic'' | italic |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Bold textTemplate:Anchor | '''bold''' | bold |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Bold and italic textTemplate:Anchor | '''''bold & italic''''' | bold & italic |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- ||Link to another Wikipedia pageTemplate:Anchor | [[Name of page]]
[[Name of page|Text to display]] | Name of page
Text to display |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Add an imageTemplate:Anchor | [[File:Wiki.png|thumb|alt=Alt text|Caption]] |

Alt text
Caption

|- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Add a page to a categoryTemplate:Anchor |[[Category:Category name]] |Categories should be placed at the end 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;"| |- |SignatureTemplate:Anchor

Sign your contributions when posting to a Talk Page.
Do not sign when contributing to an article.

| ~~~~ | Username (talk) 02:20, 23 November 2024 (UTC)

|- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Use a template Template:Anchor | {{Example}} | Template:Example

|- | colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | Works only at the beginning of lines |- | width="30%" style="background:#E6F2FF; 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 | width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You get |- |Redirect to another pageTemplate:Anchor

Redirects must be placed at the start of the first line.

| #REDIRECT [[Target page]] | File:Redirect arrow without text.svg Target page |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Redirect to a section of another page

Redirects must be placed at the start of the first line.

| #REDIRECT [[Target page#anchorName]] | File:Redirect arrow without text.svg Target page#anchorName |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Section headingsTemplate:Anchor

A Table of Contents will automatically be generated when four headings are added to an article.
Do not use =Level 1=; it is reserved for page titles.

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

Level 2[edit]

Level 3[edit]

Level 4[edit]

Level 5[edit]
Level 6[edit]

|- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Bulleted listTemplate:Anchor | * One
* Two
** Two point one
* Three |

  • One
  • Two
    • Two point one
  • Three

|- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Numbered listTemplate:Anchor | # One
# Two
## Two point one
# Three |

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

|- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Indenting textTemplate:Anchor

This is used when replying on a talk page, to make it easier to follow conversations.

| no indent (normal)
:first indent
::second indent
:::third indent | no indent (normal)

first indent
second indent
third indent

|- | colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | Adding references |- | colspan="3" style="text-align:center;"| Cheatsheet for citing a website or publication
Referencing for beginners |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |Insert a reference into a page so it will be automatically formatted | Hello,<ref>Encyclopædia Britannica</ref> World.<ref>http://www.w3.org/</ref>

References: <references/> | Hello,<ref>Encyclopædia Britannica</ref> World.<ref>http://www.w3.org/</ref>

References:

<references/> |}