Difference between revisions of "Clicklaw Wikibooks Cheatsheet"

From Clicklaw Wikibooks
Jump to navigation Jump to search
Line 41: Line 41:
[[Name of page]]<br />
[[Name of page]]<br />
[[Name of page|Text to display]]
[[Name of page|Text to display]]
|-
|-<!--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;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Add an image
|[[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>[[</nowiki>File:tips.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption<nowiki>]]</nowiki></tt>
<tt><nowiki>#REDIRECT [[Target page#anchorName]]</nowiki></tt>
|
|
[[File:tips.png|thumb|alt=Alt text|Caption]]
[[Image:Redirect arrow without text.svg|30px|link=]] [[Target page#anchorName]]
|-
|-
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Section headings<br />
|[[Help:Section|Section headings]]{{Anchor|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 62: Line 76:
<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 68: Line 83:
====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 100: Line 115:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Indenting text
|Indenting text{{Anchor|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 111: Line 127:
::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>

Revision as of 19:36, 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 Clicklaw wiki page

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

Name of page
Text to display

Works only at the beginning of lines
Description You type 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

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

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

Level 3

Level 4

Level 5
Level 6
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 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
Adding references

Cheatsheet for citing a website or publication
Referencing for beginners

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