Difference between revisions of "Talk:Syntax Cheatsheet for Wiki Markup"

From KDHX Production
Jump to: navigation, search
Line 33: Line 33:
 
====Level 4====
 
====Level 4====
 
|-
 
|-
|Bullet points
+
|[https://www.mediawiki.org/wiki/Help:Lists#List_basics Bullet points]
 
|<nowiki>*Item A</nowiki><br><nowiki>*Item B</nowiki><br><nowiki>**Item B2</nowiki><br><nowiki>*Item C</nowiki><br>
 
|<nowiki>*Item A</nowiki><br><nowiki>*Item B</nowiki><br><nowiki>**Item B2</nowiki><br><nowiki>*Item C</nowiki><br>
 
|
 
|
Line 41: Line 41:
 
*Item C
 
*Item C
 
|-
 
|-
|Numbered list
+
|[https://www.mediawiki.org/wiki/Help:Lists#List_basics Numbered list]
 
|<nowiki>#Item one</nowiki><br><nowiki>#Item two</nowiki><br><nowiki>##Item two point one</nowiki><br><nowiki>#Item three</nowiki><br>
 
|<nowiki>#Item one</nowiki><br><nowiki>#Item two</nowiki><br><nowiki>##Item two point one</nowiki><br><nowiki>#Item three</nowiki><br>
 
|
 
|
Line 48: Line 48:
 
#Item two point one
 
#Item two point one
 
#Item three
 
#Item three
 +
|-
 +
|[https://www.mediawiki.org/wiki/Help:Formatting Indented text]
 +
|no intentation<br><nowiki>:first indentation</nowiki><br><nowiki>::second indentation</nowiki><br><nowiki>:::third indentation</nowiki>
 +
|no indentation (normal text)
 +
:first indentation
 +
::second indentation
 +
:::three indentation
 
|-
 
|-
 
|}
 
|}
  
=Old Method=
+
==Helpful reference pages==
<div align="center">
+
<!--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;" |
+
<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; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works anywhere in the text'''
+
|-<!--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'''
+
|-<!--1ST ROW 1ST COLUMN-->
+
|Italic text
+
|<!--2ND COLUMN-->
+
<tt>
+
<nowiki>''italic''</nowiki> </tt>
+
|<!--3RD COLUMN-->
+
''italic''
+
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|-<!--2ND ROW 1ST COLUMN-->
+
|Bold text
+
|
+
<tt>
+
<nowiki>'''bold'''</nowiki> </tt>
+
|
+
'''bold'''
+
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|-
+
|Bold and italic text
+
|
+
<tt>
+
 
+
<nowiki>'''''bold & italic'''''</nowiki> </tt>
+
|
+
'''''bold & italic'''''
+
|-
+
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|-
+
||[https://en.wikipedia.org/wiki/Help:Link Link to another Wikipedia page]
+
|
+
<tt>
+
 
+
<nowiki>[[Name of page]]</nowiki> </tt><br />
+
<tt>
+
<nowiki>[[Name of page|Text to display]]</nowiki> </tt>
+
|
+
Name of page<br />
+
Name of page and Text to display
+
|-
+
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|-
+
|[[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>
+
|
+
[[File:Wiki.png|thumb|alt=Alt text|Caption]]
+
|-
+
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|-
+
|Add a page to a [[Wikipedia:FAQ/Categories|category]]
+
|<tt>
+
 
+
<nowiki>[[Category:Category name]]</nowiki> </tt>
+
|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.
+
|-
+
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|-
+
|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: 0em .5em; font-size:0.9em;">''Do not sign when contributing to an article.''</div>
+
|
+
<tt>
+
 
+
<nowiki>~~~~</nowiki> </tt>
+
|
+
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
+
 
+
|-<!--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]]
+
<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>
+
|
+
[[Target page]]
+
|-
+
|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>#REDIRECT [[Target page#anchorName]]</nowiki> </tt>
+
|
+
[[Target page#anchorName]]
+
|-
+
|colspan="3" style="border-top:1px solid #cee0f2;"|
+
|-
+
|[[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: 0em .5em; font-size:0.9em;">''Do not use =Level 1=; it is reserved for page titles.''</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>
+
|
+
==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.''</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>
+
|
+
no indent (normal)<br />
+
:first indent
+
::second 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]]
+
|}
+
</div>
+
<noinclude>
+
==See also==
+
<!--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 [[sandbox]]
 
* To experiment with editing, use the [[sandbox]]

Revision as of 22:09, 19 June 2015

Wikipedia Syntax Cheat Sheet
Description You type You get
Italic text

Bold text

Bold and italic text
''italic''

''bold''

'''''bold & italic'''''
italic

bold

bold & italic
Link to another Wikipedia page [[Name of page]]

[[Name of page|Text to display]]
Name of page

Name of page and text to display
Add an image [[File:filename.extension]] Wiki.png
Add a page to a category [[Category:Name]] Will display at the bottom of the wiki page.
Redirects #REDIRECT[[pagename]] Target page

(Avoid using, this is a bad practice and creates a mess for someone else to figure out down the road.)
Section headings
(Table of Contents will be automatically created when four or more headings are added to a page.)
==Level 2==

===Level 3===

====Level 4====

Level 2

Level 3

Level 4

Bullet points *Item A
*Item B
**Item B2
*Item C
  • Item A
  • Item B
    • Item B2
  • Item C
Numbered list #Item one
#Item two
##Item two point one
#Item three
  1. Item one
  2. Item two
  3. Item two point one
  4. Item three
Indented text no intentation
:first indentation
::second indentation
:::third indentation
no indentation (normal text)
first indentation
second indentation
three indentation

Helpful reference pages

Information Technology