m (let's not use an impossible user)
(added section about tables)
Line 12: Line 12:
 
|Italic text
 
|Italic text
 
|<!--2ND COLUMN-->
 
|<!--2ND COLUMN-->
<tt><nowiki>''italic''</nowiki></tt>
+
<pre>''italic''</pre>
 
|<!--3RD COLUMN-->
 
|<!--3RD COLUMN-->
 
''italic''
 
''italic''
Line 20: Line 20:
 
|Bold text
 
|Bold text
 
|
 
|
<tt><nowiki>'''bold'''</nowiki></tt>
+
<pre>'''bold'''</pre>
 
|
 
|
 
'''bold'''
 
'''bold'''
Line 28: Line 28:
 
|Bold and italic text
 
|Bold and italic text
 
|
 
|
<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
+
<pre>'''''bold & italic'''''</pre>
 
|
 
|
 
'''''bold & italic'''''
 
'''''bold & italic'''''
Line 36: Line 36:
 
||[[Help:Links|Link to another page]]
 
||[[Help:Links|Link to another page]]
 
|
 
|
<tt><nowiki>[[Target page]]</nowiki></tt><br />
+
<pre>[[Target page]]</pre><br />
<tt><nowiki>[[Target page|Text to display]]</nowiki></tt>
+
<pre>[[Target page|Text to display]]</pre>
 
|
 
|
 
[[Target page]]<br />
 
[[Target page]]<br />
Line 44: Line 44:
 
||[[Help:Links|Link internal heading]]
 
||[[Help:Links|Link internal heading]]
 
|
 
|
<tt><nowiki>[[#Heading name]]</nowiki></tt><br />
+
<pre>[[#Heading name]]</pre><br />
<tt><nowiki>[[#Heading name2|Name2]]</nowiki></tt>
+
<pre>[[#Heading name2|Name2]]</pre>
 
|
 
|
 
[[#Heading name]]<br />
 
[[#Heading name]]<br />
Line 54: Line 54:
 
|[[Help:Images|Show an image]]
 
|[[Help:Images|Show an image]]
 
|
 
|
<tt><nowiki>[[</nowiki></tt>File:Wiki.png<tt>|thumb|[[Wikipedia:Alternative text for images|alt=text]]|</tt>Caption<tt><nowiki>]]</nowiki></tt>
+
<code>[[''File:Wiki.png''|thumb|[[Wikipedia:Alternative text for images|alt=text]]|Caption]]</code>
 
|
 
|
 
[[File:Wiki.png|thumb|alt=text|Caption]]
 
[[File:Wiki.png|thumb|alt=text|Caption]]
Line 60: Line 60:
 
|[[Help:Images#Size and Frame|Size an image]]
 
|[[Help:Images#Size and Frame|Size an image]]
 
|
 
|
<tt><nowiki>[[</nowiki></tt>File:Wiki.png<tt>|thumb|60px|[[Wikipedia:Alternative text for images|alt=text]]|Cap<nowiki>]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">(''option'' "60px" ''means 60 pixels wide'')</span>
+
<code>[[''File:Wiki.png''|thumb|60px|[[Wikipedia:Alternative text for images|alt=text]]|Cap]]</code><br/><br/><span style="font-size:0.9em;">(''option'' "60px" ''means 60 pixels wide'')</span>
 
|
 
|
 
[[File:Wiki.png|thumb|60px|alt=Alt text|Cap]]
 
[[File:Wiki.png|thumb|60px|alt=Alt text|Cap]]
Line 67: Line 67:
 
|-
 
|-
 
|Add a page to a [[Help:Categories|category]]
 
|Add a page to a [[Help:Categories|category]]
|<tt><nowiki>[[Category:Category name]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">(''place near the bottom of a page'')</span>
+
|<pre>[[Category:Category name]]</pre><br /><br /><span style="font-size:0.9em;">(''place near the bottom of a page'')</span>
 
|Shows "Category name" in a bar at bottom when the page is previewed or saved.
 
|Shows "Category name" in a bar at bottom when the page is previewed or saved.
 
|-
 
|-
Line 75: Line 75:
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''Sign your contributions when posting to a [[Help:Talk Page|talk page]].''</div>
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''Sign your contributions when posting to a [[Help:Talk Page|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>
+
<pre>~~~~</pre><br /><br /><span style="font-size:0.9em;">(''Do not sign in an article, only on talk-pages.'')</span>
 
|
 
|
 
<scratchsig>Example</scratchsig> {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
 
<scratchsig>Example</scratchsig> {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
Line 87: Line 87:
 
|[[Help:Templates|Use a template]]
 
|[[Help:Templates|Use a template]]
 
|
 
|
<tt><nowiki>{{example}}</nowiki></tt>
+
<pre>{{example}}</pre>
 
|
 
|
 
{{example}}
 
{{example}}
Line 93: Line 93:
 
|[[Template:Note|Use &#123;{note}}]]
 
|[[Template:Note|Use &#123;{note}}]]
 
|
 
|
<tt><nowiki>{{note|This Text}}</nowiki></tt>
+
<pre>{{note|This Text}}</pre>
 
|
 
|
 
{{note|This Text}}
 
{{note|This Text}}
Line 99: Line 99:
 
|[[Template:Warning|Use &#123;{warning}}]]
 
|[[Template:Warning|Use &#123;{warning}}]]
 
|
 
|
<tt><nowiki>{{warning|This Text}}</nowiki></tt>
+
<pre>{{warning|This Text}}</pre>
 
|
 
|
 
{{warning|This Text}}
 
{{warning|This Text}}
Line 105: Line 105:
 
|[[Template:Caution|Use &#123;{caution}}]]
 
|[[Template:Caution|Use &#123;{caution}}]]
 
|
 
|
<tt><nowiki>{{caution|This Text}}</nowiki></tt>
+
<pre>{{caution|This Text}}</pre>
 
|
 
|
 
{{caution|This Text}}
 
{{caution|This Text}}
Line 111: Line 111:
 
|[[Template:Note|Use &#123;{note}}]]
 
|[[Template:Note|Use &#123;{note}}]]
 
|
 
|
<tt><nowiki>{{note}}This Text</nowiki></tt>
+
<pre>{{note}}This Text</pre>
 
|
 
|
 
{{note}}This Text
 
{{note}}This Text
Line 117: Line 117:
 
|[[Template:Warning|Use &#123;{warning}}]]
 
|[[Template:Warning|Use &#123;{warning}}]]
 
|
 
|
<tt><nowiki>{{warning}}This Text</nowiki></tt>
+
<pre>{{warning}}This Text</pre>
 
|
 
|
 
{{warning}}This Text
 
{{warning}}This Text
Line 123: Line 123:
 
|[[Template:Caution|Use &#123;{caution}}]]
 
|[[Template:Caution|Use &#123;{caution}}]]
 
|
 
|
<tt><nowiki>{{caution}}This Text</nowiki></tt>
+
<pre>{{caution}}This Text</pre>
 
|
 
|
 
{{caution}}This Text
 
{{caution}}This Text
Line 129: Line 129:
 
|[[Template:Main|Use &#123;{main}}]]
 
|[[Template:Main|Use &#123;{main}}]]
 
|
 
|
<tt><nowiki>{{main|Target page}}</nowiki></tt>
+
<pre>{{main|Target page}}</pre>
 
|
 
|
 
{{main|Target page}}
 
{{main|Target page}}
Line 142: Line 142:
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''Redirects must be placed at the start of the first line.''</div>
 
<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>
+
<pre>#REDIRECT [[Target page]]</pre>
 
|[[File:Redirect arrow.png|link=]] [[Target page]]
 
|[[File:Redirect arrow.png|link=]] [[Target page]]
 
|-
 
|-
Line 149: Line 149:
 
|[[Help:Redirects|Redirect to a section of another page]]
 
|[[Help:Redirects|Redirect to a section of another page]]
 
|
 
|
<tt><nowiki>#REDIRECT [[</nowiki></tt>Target page#anchorName<tt><nowiki>]]</nowiki></tt>
+
<code>#REDIRECT <nowiki>[[</nowiki>''Target page#anchorName''<nowiki>]]</nowiki></code>
 
|[[File:Redirect arrow.png|link=]] [[Target page#anchorName]]
 
|[[File:Redirect arrow.png|link=]] [[Target page#anchorName]]
 
|-
 
|-
Line 157: Line 157:
 
<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>
 
|
 
|
<tt><nowiki>==Level 2==</nowiki></tt><br />
+
<pre>==Level 2==</pre><br />
<tt><nowiki>===Level 3===</nowiki></tt><br />
+
<pre>===Level 3===</pre><br />
<tt><nowiki>====Level 4====</nowiki></tt><br />
+
<pre>====Level 4====</pre><br />
<tt><nowiki>=====Level 5=====</nowiki></tt><br />
+
<pre>=====Level 5=====</pre><br />
<tt><nowiki>======Level 6======</nowiki></tt><br /><br />
+
<pre>======Level 6======</pre><br /><br />
 
<span style="font-size:0.9em">(''Do not use''&nbsp; =Level 1=&nbsp; ''as it is for page titles'')</span>
 
<span style="font-size:0.9em">(''Do not use''&nbsp; =Level 1=&nbsp; ''as it is for page titles'')</span>
 
|
 
|
Line 175: Line 175:
 
|Nonindexed headers <div style="font-size:0.9em;">(''left out of Table of Contents'')</div>
 
|Nonindexed headers <div style="font-size:0.9em;">(''left out of Table of Contents'')</div>
 
|
 
|
<tt><nowiki>; Header name</nowiki></tt><br />
+
<pre>; Header name</pre><br />
 
<div style="font-size:0.9em;">(''has a leading semicolon'' ";" ''in front'')</div>
 
<div style="font-size:0.9em;">(''has a leading semicolon'' ";" ''in front'')</div>
 
|
 
|
Line 215: Line 215:
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''This is used when replying on a [[Help:Talk Page|talk page]], to make it easier to follow conversations.''</div>
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''This is used when replying on a [[Help:Talk Page|talk page]], to make it easier to follow conversations.''</div>
 
|
 
|
<tt><nowiki>no indent (normal)</nowiki></tt><br />
+
<pre>no indent (normal)</pre><br />
<tt><nowiki>:first indent</nowiki></tt><br />
+
<pre>:first indent</pre><br />
<tt><nowiki>::second indent</nowiki></tt><br />
+
<pre>::second indent</pre><br />
<tt><nowiki>:::third indent</nowiki></tt>
+
<pre>:::third indent</pre>
 
|
 
|
 
no indent (normal)<br />
 
no indent (normal)<br />
Line 233: Line 233:
 
|Insert footnotes as references in a page to list at page bottom<br>&nbsp;
 
|Insert footnotes as references in a page to list at page bottom<br>&nbsp;
 
|
 
|
<tt><nowiki>Hello,<ref>Scratch Wiki</ref> World.<ref>http://scratch.mit.edu/</ref></nowiki></tt>
+
<pre>Hello,<ref>Scratch Wiki</ref>
 +
World.<ref>http://scratch.mit.edu/</ref></pre>
 
<br /><br />
 
<br /><br />
<tt><nowiki>
+
<pre>
 
References:
 
References:
  
 
<references />
 
<references />
  
</nowiki></tt>
+
</pre>
 
|
 
|
Hello,<ref>Scratch Wiki</ref> World.<ref>http://scratch.mit.edu/</ref>
+
Hello,<ref>Scratch Wiki</ref>
 +
World.<ref>http://scratch.mit.edu/</ref>
  
 
References:
 
References:
Line 258: Line 260:
 
|Small text
 
|Small text
 
|
 
|
<tt><nowiki><small>smaller text</small></nowiki></tt>
+
<pre><small>smaller text</small></pre>
 
|
 
|
 
<small>smaller text</small>
 
<small>smaller text</small>
Line 264: Line 266:
 
|Big text
 
|Big text
 
|
 
|
<tt><nowiki><big>bigger text</big></nowiki></tt>
+
<pre><big>bigger text</big></pre>
 
|
 
|
 
<big>bigger text</big>
 
<big>bigger text</big>
Line 270: Line 272:
 
|Set text font color blue
 
|Set text font color blue
 
|
 
|
<tt><nowiki><span style="color:blue">words</span></nowiki></tt>
+
<pre><span style="color:blue">words</span></pre>
 
|
 
|
 
<span style="color:blue">words</span>
 
<span style="color:blue">words</span>
Line 276: Line 278:
 
|Set text gold
 
|Set text gold
 
|
 
|
<tt><nowiki><span style="color:gold">golden</span></nowiki></tt>
+
<pre><span style="color:gold">golden</span></pre>
 
|
 
|
 
<span style="color:gold">golden</span>
 
<span style="color:gold">golden</span>
Line 282: Line 284:
 
|Set text grayish
 
|Set text grayish
 
|
 
|
<tt><nowiki><span style="color:#616161">grayed</nowiki><br /><nowiki></span></nowiki></tt>
+
<pre><span style="color:#616161">grayed</span></pre>
 
|
 
|
 
<span style="color:#616161">grayed</span>
 
<span style="color:#616161">grayed</span>
Line 288: Line 290:
 
|Set text white-on-blue
 
|Set text white-on-blue
 
|
 
|
<tt><nowiki><span style="color:white; background:blue"></nowiki></tt><br />
+
<pre><span style="color:white; background:blue"></pre><br />
<tt><nowiki>blue background</span></nowiki></tt>
+
<pre>blue background</span></pre>
 
|
 
|
 
<span style="color:white; background:blue">blue background</span>
 
<span style="color:white; background:blue">blue background</span>
Line 295: Line 297:
 
|Shadowed text
 
|Shadowed text
 
|
 
|
<tt><nowiki><span style="text-shadow:1px 0px 0px orange"></nowiki></tt><br />
+
<pre><span style="text-shadow:1px 0px 0px orange"></pre><br />
<tt><nowiki>shadowed text</span></nowiki></tt>
+
<pre>shadowed text</span></pre>
 
|
 
|
 
<span style="text-shadow:1px 0px 0px orange">shadowed text</span>
 
<span style="text-shadow:1px 0px 0px orange">shadowed text</span>
Line 304: Line 306:
 
|Strike through text
 
|Strike through text
 
|
 
|
<tt><nowiki><s>strike words</s></nowiki></tt>
+
<pre><s>strike words</s></pre>
 
|
 
|
 
<s>strike words</s>
 
<s>strike words</s>
 +
|-<!--USING TABLES-->
 +
! colspan=3 style="background:#E6F2FF;text-align:center;" | '''Using tables'''
 +
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"
 +
|  width="30%" | Description
 +
|  You type
 +
|  width="30%" | You get
 +
|-
 +
| Start and end a table
 +
| <pre>{|
 +
|}</pre>
 +
| <table></table> (nothing, because the table has nothing in it)<!-- can't use wikitable inside wikitable -->
 +
|-
 +
| Add a table cell
 +
| <pre>{|
 +
| Cell 1
 +
| Cell 2
 +
|}</pre>
 +
| <table><tr><td> Cell 1</td><td> Cell 2</td></tr></table>
 +
|-
 +
| Use a wikitable (recommended)
 +
| <pre>{| class="wikitable"
 +
| Cell 1
 +
| Cell 2
 +
|}</pre>
 +
| <table class="wikitable"><tr><td> Cell 1</td><td> Cell 2</td></tr></table>
 +
|-
 +
| Add a table heading
 +
| <pre>{| class="wikitable"
 +
! Heading 1
 +
! Heading 2
 +
|}</pre>
 +
| <table class="wikitable"><tr><th> Heading 1</th><th> Heading 2</th></tr></table>
 +
|-
 +
| Add a table row
 +
| <pre>{| class="wikitable"
 +
! Heading 1
 +
! Heading 2
 +
|-
 +
| Cell 1
 +
| Cell 2
 +
|-
 +
| Cell 3
 +
| Cell 4
 +
|}</pre>
 +
| <table class="wikitable"><tr><td> Cell 1</td><td> Cell 2</td></tr><tr><td> Cell 3</td><td> Cell 4</td></tr></table>
 +
|-
 +
| Add HTML attributes to tables, headings, and cells
 +
| <pre>{| class="wikitable" width="200px"
 +
! style="background-color: #f00" | Heading
 +
| style="background-color: #00f; color: white;" | Cell
 +
|}</pre>
 +
| <table class="wikitable" width="200px"><tr><th style="background-color: #f00"> Heading</th><td style="background-color: #00f; color: white;"> Cell</td></tr></table>
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 10:14, 6 November 2018

Shortcut:
S:CHEAT

Scratch 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 page
[[Target page]]

[[Target page|Text to display]]

Target page
Text to display

Link internal heading
[[#Heading name]]

[[#Heading name2|Name2]]

#Heading name
Name2

Show an image

[[File:Wiki.png|thumb|alt=text|Caption]]

text
Caption
Size an image

[[File:Wiki.png|thumb|60px|alt=text|Cap]]

(option "60px" means 60 pixels wide)

Alt text
Cap
Add a page to a category
[[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.
Signature
Sign your contributions when posting to a talk page.
~~~~


(Do not sign in an article, only on talk-pages.)


Example (talk | contribs) 12:23, 9 August 2020 (UTC)

Using Templates
Description You type You get
Use a template
{{example}}
Gobo1.png This is an example template. For help with templates, see Help:Templates.
Use {{note}}
{{note|This Text}}
Note Note: This Text
Use {{warning}}
{{warning|This Text}}
Note Warning: This Text
Use {{caution}}
{{caution|This Text}}
Note Caution: This Text
Use {{note}}
{{note}}This Text

Note Note: This Text

Use {{warning}}
{{warning}}This Text

Note Warning: This Text

Use {{caution}}
{{caution}}This Text

Note Caution: This Text

Use {{main}}
{{main|Target page}}
Main article: Target page
Works only at the beginning of lines
Description You type You get
Redirect to another page
Redirects must be placed at the start of the first line.
#REDIRECT [[Target page]]
Redirect arrow.png Target page
Redirect to a section of another page

#REDIRECT [[Target page#anchorName]]

Redirect arrow.png Target page#anchorName
Section headings
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
Nonindexed headers
(left out of Table of Contents)
; Header name

(has a leading semicolon ";" in front)

Header name

(will not appear in Table of Contents)
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indenting text
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 footnote references
Referencing for beginners
Insert footnotes as references in a page to list at page bottom
 
Hello,<ref>Scratch Wiki</ref>
World.<ref>http://scratch.mit.edu/</ref>



References:

<references />

Hello,[1] World.[2]

References:

  1. Scratch Wiki
  2. http://scratch.mit.edu/
Changing text fonts
Description You type You get
Small text
<small>smaller text</small>

smaller text

Big text
<big>bigger text</big>

bigger text

Set text font color blue
<span style="color:blue">words</span>

words

Set text gold
<span style="color:gold">golden</span>

golden

Set text grayish
<span style="color:#616161">grayed</span>

grayed

Set text white-on-blue
<span style="color:white; background:blue">

blue background</span>

blue background

Shadowed text
<span style="text-shadow:1px 0px 0px orange">

shadowed text</span>

shadowed text

Strike through text
<s>strike words</s>

strike words

Using tables
Description You type You get
Start and end a table
{|
|}
(nothing, because the table has nothing in it)
Add a table cell
{|
| Cell 1
| Cell 2
|}
Cell 1 Cell 2
Use a wikitable (recommended)
{| class="wikitable"
| Cell 1
| Cell 2
|}
Cell 1 Cell 2
Add a table heading
{| class="wikitable"
! Heading 1
! Heading 2
|}
Heading 1 Heading 2
Add a table row
{| class="wikitable"
! Heading 1
! Heading 2
|-
| Cell 1
| Cell 2
|-
| Cell 3
| Cell 4
|}
Cell 1 Cell 2
Cell 3 Cell 4
Add HTML attributes to tables, headings, and cells
{| class="wikitable" width="200px"
! style="background-color: #f00" | Heading
| style="background-color: #00f; color: white;" | Cell
|}
Heading Cell

See Also