Clicklaw Wikibooks Cheatsheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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;"| | ||
|- | |- | ||
| | |[[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>[[ | <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;"| | ||
|- | |- | ||
|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]] |
|
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]] |
|
Redirect to a section of another page
Redirects must be placed at the start of the first line.
|
#REDIRECT [[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 2Level 3Level 4Level 5Level 6 |
Bulleted listTemplate:Anchor |
* One |
|
Numbered listTemplate:Anchor |
# One |
|
Indenting textTemplate:Anchor
This is used when replying on a talk page, to make it easier to follow conversations.
|
no indent (normal) |
no indent (normal)
|
Adding references | ||
Cheatsheet for citing a website or publication | ||
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>
|
Hello,<ref>Encyclopædia Britannica</ref> World.<ref>http://www.w3.org/</ref> References: <references/> |