Difference between revisions of "Resources/wikicheatsheet"

From DigitalCraft_Wiki
Jump to navigation Jump to search
(Created page with "what was the syntax again?")
 
Line 1: Line 1:
 
what was the syntax again?
 
what was the syntax again?
 +
<!--COMMENT MARKUP. Displays:Edit mode only.-->
 +
{|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|H:CHEAT}}
 +
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Wikipedia Cheatsheet</h2>
 +
|-<!--WORKS ANYWHERE IN THE TEXT-->
 +
| colspan=3 style="background:#E6F2FF; border-top:2px #a3b1bf solid" |
 +
<center>'''Works anywhere in the text''' &nbsp; &nbsp; &nbsp; &nbsp;
 +
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"
 +
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description
 +
| style="border-bottom:2px #a3b1bf solid" | You type
 +
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get
 +
|-<!--1ST ROW 1ST COLUMN-->
 +
|Italics, bold, and both
 +
|<!--2ND COLUMN-->
 +
<tt><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></tt>
 +
|<!--3RD COLUMN-->
 +
''italics'', '''bold''', and '''''both'''''
 +
|-<!--HORIZONTAL LINE-->
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-<!--2ND ROW 1ST COLUMN-->
 +
|[[Wikipedia:Manual of Style/Linking|Link]] to another page
 +
|
 +
<tt><nowiki>[[copy edit]]</nowiki></tt><br />
 +
<tt><nowiki>[[copy edit]]ors</nowiki></tt>
 +
|
 +
[[copy edit]]<br />
 +
[[copy edit]]ors
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|
 +
"[[Wikipedia:Piped link|Pipe]]" a link to change the link's destination
 +
|
 +
<tt><nowiki>[[People | The People involved in Digital Craft]]</nowiki></tt>
 +
|
 +
[[People | The People involved in Digital Craft]]
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|
 +
Link to a section
 +
|
 +
<tt><nowiki>[[People#Students]]</nowiki></tt><br />
 +
<tt><nowiki>[[People#Students | Students of Digital Craft]]</nowiki></tt>
 +
|
 +
[[People#Students]]<br />
 +
[[People#Students | Students of Digital Craft]]
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|[[WP:RED|Red link]]
 +
<div style="padding: 0.7em .5em; font-size:0.9em;">Red links show references to pages that don't exist yet ( they don't have content). Click them to add content to that page.</div>
 +
|
 +
<tt><nowiki>[[something missing]]</nowiki></tt>
 +
|
 +
[[something missing]]
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|References and footnotes
 +
<div style="padding: 0.7em .5em; font-size:0.9em;">''sources in the article will appear where <nowiki><references /></nowiki> is put, typically under a level 2 section heading (see below) towards the bottom of the page.''</div>
 +
<div style="padding: 0.7em .5em; font-size:0.9em;"></div>
 +
|
 +
<tt><nowiki>Hello,<ref>[http://www.loc.gov/about/ Library of Congress]</ref> World.<ref>http://www.w3.org/</ref></nowiki></tt>
 +
<br /><br />
 +
<tt><nowiki>
 +
References:
 +
 +
<references /></nowiki>
 +
 +
 +
</tt>
 +
|
 +
Hello,<ref>[http://www.loc.gov/about/ Library of Congress]</ref> World.<ref>http://www.w3.org/</ref>
 +
 +
References:
 +
<references />
 +
 +
|-
 +
|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>
 +
|
 +
<tt><nowiki>~~~~</nowiki></tt><br /><br /><span style="font-size:0.9em;">''do not sign in an article, only on talk pages''</span>
 +
|
 +
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|Plain website
 +
|
 +
<tt><nowiki>http://www.wikipedia.org</nowiki></tt>
 +
|
 +
http://www.wikipedia.org
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|Link a website
 +
|
 +
<tt><nowiki>[http://www.wikipedia.org]</nowiki></tt>
 +
|
 +
[http://www.wikipedia.org]
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|Link and name a website
 +
|
 +
<tt><nowiki>[http://www.wikipedia.org Wikipedia]</nowiki></tt>
 +
|
 +
[http://www.wikipedia.org Wikipedia]
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|[[WP:STRIKE|Strike]] your [[WP:TALK|talk page]] comment
 +
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated''</div>
 +
|
 +
<tt><nowiki><s>This topic isn't [[WP:N|notable]].</s></nowiki></tt>
 +
|
 +
<s>This topic isn't [[WP:N|notable]].</s>
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|Hide text somewhere for editors
 +
<div style="padding: 0.7em .5em; font-size:0.9em;">''[[WP:CON|consensus]] is how things are decided''</div>
 +
|
 +
<tt><nowiki><!--This had consensus, discuss at talk page--></nowiki></tt>
 +
|
 +
<!--This had consensus, discuss at talk page-->
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|[[Wikipedia:Picture tutorial|Show an image]]
 +
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the [[Help:Introduction to uploading images|intro to uploading images]]
 +
''</div>
 +
{{Anchor|Thumbnail image}}
 +
|
 +
<tt><nowiki>[[</nowiki></tt>File:Wiki.png<tt>|thumb|</tt>Caption<tt><nowiki>]]</nowiki></tt>
 +
|
 +
[[File:Wiki.png|thumb|Caption]]
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|[[Template:Citation needed]]
 +
<div style="padding: 0.7em .5em; font-size:0.9em;">''one of many [[WP:TC|cleanup templates]]''</div>
 +
|
 +
<tt><nowiki>This statement is true.{{cn}}</nowiki></tt>
 +
|
 +
This statement is true.{{cn}}
 +
|-
 +
|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><br /><br /><span style="font-size:0.9em;">''place near the bottom of a page''</span>
 +
|<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or saved''</span>
 +
 +
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
 +
| colspan="3" style="background:#E6F2FF; border-top:2px #a3b1bf solid" |
 +
<center>'''Works only at the beginning of lines''' &nbsp; &nbsp;
 +
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"
 +
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description
 +
| style="border-bottom:2px #a3b1bf solid" | You type
 +
| style="border-bottom:2px #a3b1bf solid" width="30%" | 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]]
 +
|
 +
<tt><nowiki>#REDIRECT [[</nowiki></tt>Target page#anchorName<tt><nowiki>]]</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>
 +
|
 +
<tt><nowiki>==Level 2==</nowiki></tt><br />
 +
<tt><nowiki>===Level 3===</nowiki></tt><br />
 +
<tt><nowiki>====Level 4====</nowiki></tt><br />
 +
<tt><nowiki>=====Level 5=====</nowiki></tt><br />
 +
<tt><nowiki>======Level 6======</nowiki></tt><br /><br />
 +
<span style="font-size:0.9em">''do not use''&nbsp; =Level 1=&nbsp; ''as it is for page titles''</span>
 +
|
 +
 +
==Level 2==
 +
===Level 3===
 +
====Level 4====
 +
=====Level 5=====
 +
======Level 6======
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|[[Help:List|Bulleted list]]{{Anchor|Bulleted list}}
 +
|
 +
<tt>* One</tt><br />
 +
<tt>* Two</tt><br />
 +
<tt>** Two point one</tt><br />
 +
<tt>* Three</tt>
 +
|
 +
* One
 +
* Two
 +
** Two point one
 +
* Three
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|[[Help:List|Numbered list]]{{Anchor|Numbered list}}
 +
|
 +
<tt># One</tt><br />
 +
<tt># Two</tt><br />
 +
<tt>## Two point one</tt><br />
 +
<tt># Three</tt>
 +
|
 +
# One
 +
# Two
 +
## Two point one
 +
# Three
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|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. <br /> After a string of indents, or to revive a discussion, an outdent <nowiki>{{Outdent|n}}</nowiki> ([[Template:Outdent]]) can be used to reset the paragraph to the left margin.''</div>
 +
|
 +
<tt><nowiki>no indent (normal)</nowiki></tt><br />
 +
<tt><nowiki>:first indent</nowiki></tt><br />
 +
<tt><nowiki>::second indent</nowiki></tt><br />
 +
<tt><nowiki>:::third indent</nowiki></tt><br />
 +
<tt><nowiki>::::fourth indent</nowiki></tt><br />
 +
<tt><nowiki>{{Outdent|4}} outdent</nowiki></tt>
 +
|
 +
no indent (normal)<br />
 +
:first indent
 +
::second indent
 +
:::third indent
 +
::::fourth indent
 +
{{Outdent|4}} (return to left margin)
 +
|}
 +
</div>

Revision as of 23:23, 30 August 2014

what was the syntax again?

Template:Shortcut

Wikipedia Cheatsheet

Works anywhere in the text        
Description You type You get
Italics, bold, and both

''italics'', '''bold''', and '''''both'''''

italics, bold, and both

Link to another page

[[copy edit]]
[[copy edit]]ors

copy edit
copy editors

"Pipe" a link to change the link's destination

[[People | The People involved in Digital Craft]]

The People involved in Digital Craft

Link to a section

[[People#Students]]
[[People#Students | Students of Digital Craft]]

People#Students
Students of Digital Craft

Red link
Red links show references to pages that don't exist yet ( they don't have content). Click them to add content to that page.

[[something missing]]

something missing

References and footnotes
sources in the article will appear where <references /> is put, typically under a level 2 section heading (see below) towards the bottom of the page.

Hello,<ref>[http://www.loc.gov/about/ Library of Congress]</ref> World.<ref>http://www.w3.org/</ref>

References: <references />


Hello,[1] World.[2]

References:

SignatureTemplate:Anchor
sign your contributions when posting to a talk page

~~~~

do not sign in an article, only on talk pages

Username (talk) 14:58, 28 March 2024 (UTC)

Plain website

http://www.wikipedia.org

http://www.wikipedia.org

Link a website

[http://www.wikipedia.org]

[1]

Link and name a website

[http://www.wikipedia.org Wikipedia]

Wikipedia

Strike your talk page comment
to show your previous comment is outdated

<s>This topic isn't [[WP:N|notable]].</s>

This topic isn't notable.

Hide text somewhere for editors
consensus is how things are decided

<!--This had consensus, discuss at talk page-->

Show an image
for uploading, see the intro to uploading images

Template:Anchor

[[File:Wiki.png|thumb|Caption]]

Template:Citation needed
one of many cleanup templates

This statement is true.{{cn}}

This statement is true.Template:Cn

Add a page to a categoryTemplate:Anchor [[Category:Category name]]

place near the bottom of a page
shows "Category name" in a bar at bottom when the page is previewed or saved
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]]

30px Target page

Redirect to a section of another page

#REDIRECT [[Target page#anchorName]]

30px Target page#anchorName

Section headingsTemplate:Anchor
a Table of Contents will automatically be generated when four headings are added to an article

==Level 2==
===Level 3===
====Level 4====
=====Level 5=====
======Level 6======

do not use  =Level 1=  as it is for page titles

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.
After a string of indents, or to revive a discussion, an outdent {{Outdent|n}} (Template:Outdent) can be used to reset the paragraph to the left margin.

no indent (normal)
:first indent
::second indent
:::third indent
::::fourth indent
{{Outdent|4}} outdent

no indent (normal)

first indent
second indent
third indent
fourth indent

Template:Outdent (return to left margin)