Difference between revisions of "Clicklaw Wikibooks Cheatsheet"

From Clicklaw Wikibooks
Jump to navigation Jump to search
Line 18: Line 18:
|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 26: Line 26:
|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 34: Line 34:
|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}}
||[[Wikipedia:Linking|Link to another Wikipedia page]]
|
|
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
Line 44: Line 44:
|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}}
|[[Wikipedia:Picture tutorial|Add an image]]
|
|
<tt><nowiki>[[</nowiki>File:Wiki.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption<nowiki>]]</nowiki></tt>
<tt><nowiki>[[</nowiki>File:Wiki.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption<nowiki>]]</nowiki></tt>

Revision as of 19:28, 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]]

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.
SignatureTemplate:Anchor
Sign your contributions when posting to a Talk Page.
Do not sign when contributing to an article.

~~~~

Username (talk) 04:43, 19 May 2024 (UTC)

Use a template Template:Anchor

{{Example}}

Template:Example

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[edit]

Level 3[edit]

Level 4[edit]

Level 5[edit]
Level 6[edit]
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/>