Difference between revisions of "Syntax Cheatsheet for Wiki Markup"

From KDHX Production
Jump to: navigation, search
m
m (Cleared nonexistent templates)
Line 11: Line 11:
 
| 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>
 
<tt>
 +
  
  
Line 28: Line 29:
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 42: Line 44:
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 56: Line 59:
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 63: Line 67:
 
<nowiki>[[Name of page]]</nowiki> </tt><br />
 
<nowiki>[[Name of page]]</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 78: Line 83:
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 84: Line 90:
  
 
<nowiki>[[</nowiki> File:Wiki.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption
 
<nowiki>[[</nowiki> File:Wiki.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption
 +
  
  
Line 97: Line 104:
 
|Add a page to a [[Wikipedia:FAQ/Categories|category]]
 
|Add a page to a [[Wikipedia:FAQ/Categories|category]]
 
|<tt>
 
|<tt>
 +
  
  
Line 107: Line 115:
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|Signature{{Anchor|Signature}}
+
|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: 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>
 
<div style="padding: 0em .5em; font-size:0.9em;">''Do not sign when contributing to an article.''</div>
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 128: Line 137:
 
| 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}}
+
|[[Wikipedia:Redirect|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>
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''Redirects must be placed at the start of the first line.''</div>
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 147: Line 157:
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 158: Line 169:
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|[[Help:Section|Section headings]]{{Anchor|Section headings}}<br />
+
|[[Help:Section|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>
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 170: Line 182:
 
<nowiki>== Level 2 ==</nowiki> </tt><br />
 
<nowiki>== Level 2 ==</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 177: Line 190:
 
<nowiki>=== Level 3 ===</nowiki> </tt><br />
 
<nowiki>=== Level 3 ===</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 184: Line 198:
 
<nowiki>==== Level 4 ====</nowiki> </tt><br />
 
<nowiki>==== Level 4 ====</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 191: Line 206:
 
<nowiki>===== Level 5 =====</nowiki> </tt><br />
 
<nowiki>===== Level 5 =====</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 238: Line 254:
 
|
 
|
 
<tt>
 
<tt>
 +
  
  
Line 245: Line 262:
 
<nowiki>no indent (normal)</nowiki> </tt><br />
 
<nowiki>no indent (normal)</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 252: Line 270:
 
<nowiki>:first indent</nowiki> </tt><br />
 
<nowiki>:first indent</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 259: Line 278:
 
<nowiki>::second indent</nowiki> </tt><br />
 
<nowiki>::second indent</nowiki> </tt><br />
 
<tt>
 
<tt>
 +
  
  
Line 282: Line 302:
 
<!--Please keep this uncluttered. If you wish to add a link, discuss it on the talk page first.-->
 
<!--Please keep this uncluttered. If you wish to add a link, discuss it on the talk page first.-->
 
* For a full list of editing commands, see [[Help:Wiki markup|Wiki markup]]
 
* For a full list of editing commands, see [[Help:Wiki markup|Wiki markup]]
* To experiment with editing, use the [[Wikipedia:Sandbox|sandbox]]
+
* To experiment with editing, use the [[sandbox]]
 
* For a guide to editing, see [[How to edit a page]]
 
* For a guide to editing, see [[How to edit a page]]
* For a PDF, printable cheatsheet, see [[File:WMDOC/Cheatsheet]]
+
* For a PDF, printable cheatsheet, see [[File:WMDOC/Cheatsheet.pdf]]
 
__NOTOC__ __NOEDITSECTION__
 
__NOTOC__ __NOEDITSECTION__
 
</noinclude>
 
</noinclude>

Revision as of 21:56, 22 December 2011

Wikipedia 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




]]

Alt text
Caption
Add a page to a category




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




~~~~

Username (talk) 23:29, 28 April 2024 (UTC)

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

30px Target page

Redirect to a section of another page
Redirects must be placed at the start of the first line.




#REDIRECT [[Target page#anchorName]]

30px Target page#anchorName

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 5 =====




====== Level 6 ======

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.




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

See also