Clicklaw Wikibooks Cheatsheet: Difference between revisions

From Clicklaw Wikibooks
Jump to navigation Jump to search
No edit summary
No edit summary
Line 52: Line 52:


|-<!--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'''
|-<!--COLUMN HEADINGS-->
| 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
|-
|[[Wikipedia:Redirect|Redirect to another page]]{{Anchor|Redirect to another page}}
<div style="padding: 0.7em .5em; font-size:0.9em;">''Redirects must be placed at the start of the first line.''</div>
|
<tt><nowiki>#REDIRECT [[Target page]]</nowiki></tt>
|
[[Image:Redirect arrow without text.svg|30px|link=]] [[Target page]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Wikipedia:Redirect|Redirect to a section of another page]]
<div style="padding: 0.7em .5em; font-size:0.9em;">''Redirects must be placed at the start of the first line.''</div>
|
<tt><nowiki>#REDIRECT [[Target page#anchorName]]</nowiki></tt>
|
[[Image:Redirect arrow without text.svg|30px|link=]] [[Target page#anchorName]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:Section|Section headings]]{{Anchor|Section headings}}<br />
|Section headings<br />
<div style="padding: 0.7em .5em; font-size:0.9em;">''A Table of Contents will automatically be generated when four headings are added to an article.''</div>
<div style="padding: 0.7em .5em; font-size:0.9em;">''A Table of Contents will automatically be generated when four headings are added to an article.''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''Do not use =Level 1=; it is reserved for page titles.''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''Do not use =Level 1=; it is reserved for page titles.''</div>
Line 84: Line 62:
<tt><nowiki>==== Level 4 ====</nowiki></tt><br />
<tt><nowiki>==== Level 4 ====</nowiki></tt><br />
<tt><nowiki>===== Level 5 =====</nowiki></tt><br />
<tt><nowiki>===== Level 5 =====</nowiki></tt><br />
<tt><nowiki>====== Level 6 ======</nowiki></tt>
|
|


Line 91: Line 68:
====Level 4====
====Level 4====
===== Level 5 =====
===== Level 5 =====
====== Level 6 ======
 
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
Line 123: Line 100:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Indenting text{{Anchor|Indenting text}}
|Indenting text
<div style="padding: 0.7em .5em; font-size:0.9em;">''This is used when replying on a [[Wikipedia:Tutorial (Talk pages)|talk page]], to make it easier to follow conversations.''</div>
|
|
<tt><nowiki>no indent (normal)</nowiki></tt><br />
<tt><nowiki>no indent (normal)</nowiki></tt><br />
Line 135: Line 111:
::second indent
::second indent
:::third indent
:::third indent
|-<!--OTHER-->
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Adding references'''
|-
| colspan="3" style="text-align:center;"|
[[Help:Citations quick reference|Cheatsheet for citing a website or publication]]<br />
[[Wikipedia:Referencing for beginners|Referencing for beginners]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Insert a reference into a page so it will be automatically formatted
|
<tt><nowiki>Hello,<ref>Encyclopædia Britannica</ref> World.<ref>http://www.w3.org/</ref></nowiki></tt>
<br/><br/>
<tt><nowiki>
References:
<references/>
</nowiki></tt>
|
Hello,<ref>Encyclopædia Britannica</ref> World.<ref>http://www.w3.org/</ref>
References:
<references/>
|}
|}
</div>
</div>

Revision as of 19:33, 17 November 2011

Clicklaw Wiki Cheatsheet

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

[[Name of page]]
[[Name of page|Text to display]]

Name of page
Text to display

Add an image

[[File:Wiki.png|thumb|alt=Alt text|Caption]]

Alt text
Caption
Section headings
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 2

Level 3

Level 4

Level 5
Bulleted listTemplate:Anchor

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered listTemplate:Anchor

# One
# Two
## Two point one
# Three

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

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

no indent (normal)

first indent
second indent
third indent