Difference between revisions of "Clicklaw Wikibooks Cheatsheet"

From Clicklaw Wikibooks
Jump to navigation Jump to search
(Created page with '{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" |colspan="3" align="center" style="background:#cee0f2; text-align:center;" |{{…')
 
m
 
(60 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
{{GUIDEPAGE}}
See the [[Clicklaw Wikibooks Style Guide]] for style and word usage.
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |{{shortcut|WP:CHEAT}}
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Wikipedia Cheatsheet</h2>  
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Clicklaw Wikibooks Cheatsheet</h2>  
|-<!--WORKS ANYWHERE IN THE TEXT-->
|-<!--THE FOLLOWING CODES WORK 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:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''These codes work 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:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
Line 9: Line 13:
| width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
| width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
|-<!--1ST ROW 1ST COLUMN-->
|-<!--1ST ROW 1ST COLUMN-->
|Italic text{{Anchor|Italic text}}
|Italic text
|<!--2ND COLUMN-->
|<!--2ND COLUMN-->
<tt><nowiki>''italic''</nowiki></tt>
<tt><nowiki>''italic''</nowiki></tt>
Line 17: Line 21:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-<!--2ND ROW 1ST COLUMN-->
|-<!--2ND ROW 1ST COLUMN-->
|Bold text{{Anchor|Bold text}}
|Bold text
|
|
<tt><nowiki>'''bold'''</nowiki></tt>
<tt><nowiki>'''bold'''</nowiki></tt>
Line 25: Line 29:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Bold and italic text{{Anchor|bold and italic}}
|Bold and italic text
|
|
<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
Line 33: Line 37:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
||[[Wikipedia:Linking|Link to another Wikipedia page]]{{Anchor|Internal link}}
||Link to another Clicklaw wiki page. <br />
:''Your link and the text that is shown do not have to be the same (although they can be if you want).''
|
|
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
<tt><nowiki>[[This is the full title]]</nowiki></tt><br />
<tt><nowiki>[[Name of page|Text to display]]</nowiki></tt>
<tt><nowiki>[[This is the full title|this is short]]</nowiki></tt>
|
|
[[Name of page]]<br />
[[This is the full title]]<br />
[[Name of page|Text to display]]
[[This is the full title|this is short]]
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Wikipedia:Picture tutorial|Add an image]]{{Anchor|Thumbnail image}}
||Link to an external page.<br />
:''Just write out the "<code>http://</code>", or place it between square brackets followed by the words that should be linked. With square brackets, anything after the space will appear underlined.''
|
|
<tt><nowiki>[[</nowiki>File:Wiki.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption<nowiki>]]</nowiki></tt>
<tt><nowiki>This is a link to PovNet: http://www.povnet.org</nowiki></tt><br />
<tt><nowiki>This is also a [http://www.povnet.org link to PovNet].</nowiki></tt>
|
|
[[File:Wiki.png|thumb|alt=Alt text|Caption]]
This is a link to PovNet:[http://www.povnet.org www.povnet.org]<br />
|-
This is a [http://www.povnet.org link to PovNet].
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Add a page to a [[Wikipedia:FAQ/Categories|category]]{{Anchor|Add a page to a category}}
|<tt><nowiki>[[Category:Category name]]</nowiki></tt>
|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;"|
|-
|Signature{{Anchor|Signature}}
<div style="padding: 0.7em .5em; font-size:0.9em;">''Sign your contributions when posting to a [[Wikipedia:Tutorial (Talk pages)|Talk Page]].''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''Do not sign when contributing to an article.''</div>
|
<tt><nowiki>~~~~</nowiki></tt>
|
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Use a template {{anchor|Use a template}}
|
<tt><nowiki>{{Example}}</nowiki></tt>
|
{{example}}


|-<!--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:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''These codes work 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:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
Line 81: Line 65:
| width="30%" style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
| 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}}
|Section headings<br />
<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;"|
|-
|[[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 106: Line 72:
<tt><nowiki>=== Level 3 ===</nowiki></tt><br />
<tt><nowiki>=== Level 3 ===</nowiki></tt><br />
<tt><nowiki>==== Level 4 ====</nowiki></tt><br />
<tt><nowiki>==== Level 4 ====</nowiki></tt><br />
<tt><nowiki>===== Level 5 =====</nowiki></tt><br />
<tt><nowiki>====== Level 6 ======</nowiki></tt>
|
|


==Level 2==
{{fake heading|Level 2}}
===Level 3===
{{fake heading|sub=3|Level 3}}
====Level 4====
'''Level 4'''
===== Level 5 =====
====== Level 6 ======
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Bulleted list]]{{Anchor|Bulleted list}}
|Bulleted list <br />
:''Bulleted lists are useful to break up a list of items. See the [[Clicklaw Wikibooks Style Guide#Lists|Style Guide]].''
|
|
<tt>* One</tt><br />
<tt>* One</tt><br />
Line 132: Line 95:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Numbered list]]{{Anchor|Numbered list}}
|Numbered list <br />
:''Numbered lists are good for describing ordered steps, or where the number of items in the list is important. See the [[Clicklaw Wikibooks Style Guide#Lists|Style Guide]].''
|
|
<tt># One</tt><br />
<tt># One</tt><br />
Line 146: Line 110:
|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 158: Line 121:
::second indent
::second indent
:::third indent
:::third indent
|-<!--OTHER-->
|-<!--BOLD AND ITALICS EXAMPLES-->
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Adding references'''
| colspan="3" style="background:#FFCC66; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Working Example of Emphasis using Bold and Italics'''<br /> ''See what the [[Clicklaw Wikibooks Style Guide#Italics| Style Guide]] says about using italics over bold for emphasis.''
|-
|-<!--COLUMN HEADINGS-->
| colspan="3" style="text-align:center;"|
| width="30%" style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
[[Help:Citations quick reference|Cheatsheet for citing a website or publication]]<br />
| style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|You type
[[Wikipedia:Referencing for beginners|Referencing for beginners]]
| width="30%" style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
|-
|-<!--1ST ROW 1ST COLUMN-->
|Use italics to emphasize a term.
|<!--2ND COLUMN-->
<tt><nowiki>An ''arquebus'' is an early muzzle-loaded firearm, while an ''aquabus'' is a motorized boat.</nowiki></tt>
|<!--3RD COLUMN-->
An ''arquebus'' is an early muzzle-loaded firearm, while an ''aquabus'' is a motorized boat.
|-<!--HORIZONTAL LINE-->
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-<!--CASELAW EXAMPLES-->
| colspan="3" style="background:#FFCC66; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Working Example of a Case Citation and Link'''
|-<!--COLUMN HEADINGS-->
| width="30%" style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
| style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|You type
| width="30%" style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
|-<!--1ST ROW 1ST COLUMN-->
|Case reference<br/>''For linking and providing the proper citation of case law, see [[Clicklaw Wikibooks Style Guide#References | Style Guide]].
|<!--2ND COLUMN-->
<tt><nowiki>In ''[http://canlii.ca/t/2d35m Domirti v. Domirti]'', 2010 BCCA 472, the Court of Appeal ruled that a spousal support award outside the Advisory Guidelines could be an appealable error.</nowiki></tt>
|<!--3RD COLUMN-->
In ''[http://canlii.ca/t/2d35m Domirti v. Domirti]'', 2010 BCCA 472, the Court of Appeal ruled that a spousal support award outside the Advisory Guidelines could be an appealable error.
|-<!--HORIZONTAL LINE-->
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-<!--LIST EXAMPLES-->
| colspan="3" style="background:#FFCC66; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Working Example of Lists'''
|-<!--COLUMN HEADINGS-->
| width="30%" style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|Description
| style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|You type
| width="30%" style="background:#FFCC66; padding:0.3em; font-size: 0.9em; text-align:center;"|You get
|-<!--1ST ROW 1ST COLUMN-->
|Numbered list<br/>''For a series of steps where the order is important. See [[Clicklaw Wikibooks Style Guide#Lists | Style Guide]] for use of lists.
|<!--2ND COLUMN-->
<tt><nowiki>The Application Record should be sorted as follows:</nowiki></tt><br/>
<tt><nowiki># the index,</nowiki></tt><br/>
<tt><nowiki># the Notice of Application,</nowiki></tt><br/>
<tt><nowiki># the Response to Application, and</nowiki></tt><br/>
<tt><nowiki># the affidavits to be relied upon at the hearing</nowiki></tt>
|<!--3RD COLUMN-->
The Application Record should be sorted as follows:
#the index,
#the Notice of Application,
#the Response to Application, and
#the affidavits to be relied upon at the hearing
|-<!--HORIZONTAL LINE-->
|colspan="3" style="border-top:1px solid #cee0f2;"|
|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:
{{Template:Navbox for Clicklaw Wikibooks Guide|type=guides}}
 
<noinclude>__NOGLOSSARY__</noinclude>
<references/>
[[Category:Clicklaw Wikibooks Guides]]
|}
</div>

Latest revision as of 19:14, 9 February 2017

This is a help page for contributors or users.


See the Clicklaw Wikibooks Style Guide for style and word usage.

Clicklaw Wikibooks Cheatsheet

These codes work 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.
Your link and the text that is shown do not have to be the same (although they can be if you want).

[[This is the full title]]
[[This is the full title|this is short]]

This is the full title
this is short

Link to an external page.
Just write out the "http://", or place it between square brackets followed by the words that should be linked. With square brackets, anything after the space will appear underlined.

This is a link to PovNet: http://www.povnet.org
This is also a [http://www.povnet.org link to PovNet].

This is a link to PovNet:www.povnet.org
This is a link to PovNet.

These codes work only at the beginning of lines
Description You type You get
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 2
Level 3

Level 4

Bulleted list
Bulleted lists are useful to break up a list of items. See the Style Guide.

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list
Numbered lists are good for describing ordered steps, or where the number of items in the list is important. See the Style Guide.

# 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
Working Example of Emphasis using Bold and Italics
See what the Style Guide says about using italics over bold for emphasis.
Description You type You get
Use italics to emphasize a term.

An ''arquebus'' is an early muzzle-loaded firearm, while an ''aquabus'' is a motorized boat.

An arquebus is an early muzzle-loaded firearm, while an aquabus is a motorized boat.

Working Example of a Case Citation and Link
Description You type You get
Case reference
For linking and providing the proper citation of case law, see Style Guide.

In ''[http://canlii.ca/t/2d35m Domirti v. Domirti]'', 2010 BCCA 472, the Court of Appeal ruled that a spousal support award outside the Advisory Guidelines could be an appealable error.

In Domirti v. Domirti, 2010 BCCA 472, the Court of Appeal ruled that a spousal support award outside the Advisory Guidelines could be an appealable error.

Working Example of Lists
Description You type You get
Numbered list
For a series of steps where the order is important. See Style Guide for use of lists.

The Application Record should be sorted as follows:
# the index,
# the Notice of Application,
# the Response to Application, and
# the affidavits to be relied upon at the hearing

The Application Record should be sorted as follows:

  1. the index,
  2. the Notice of Application,
  3. the Response to Application, and
  4. the affidavits to be relied upon at the hearing