Wiki Cheatsheet: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "<noinclude>{{pp-semi|small=yes}}</noinclude> <div align="center"> {{Help pages header}} <!--COMMENT MARKUP. Displays:Edit mode only.--> {|align="center" style="width:100%; border...")
 
No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{pp-semi|small=yes}}</noinclude>
__NOTOC__
<noinclude></noinclude>
<div align="center">
<div align="center">
{{Help pages header}}
<!--COMMENT MARKUP. Displays:Edit mode only.-->
<!--COMMENT MARKUP. Displays:Edit mode only.-->
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
{|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}}
|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>  
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Wiki Editing Cheatsheet</h2>  
|-<!--WORKS ANYWHERE IN THE TEXT-->
|-<!--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'''
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-size: 0.9em; text-align:center;" | '''Works anywhere in the text'''
Line 13: Line 13:
| 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><nowiki>''italic''</nowiki></tt>
<tt><nowiki>''italic''</nowiki></tt>
Line 21: Line 21:
|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 29: Line 29:
|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 37: Line 37:
|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 page]]
|
|
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
Line 47: Line 47:
|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:Linking|Link to external website]]
|
|
<tt><nowiki>[[</nowiki>File:Wiki.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption<nowiki>]]</nowiki></tt>
<tt><nowiki>[http://externalsite.com Site Name]</nowiki></tt>
|
|
[[File:Wiki.png|thumb|alt=Alt text|Caption]]
[http://externalsite.com Site Name]
 
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Wikipedia:Picture tutorial|Add an image]]
|
<tt><nowiki>[[</nowiki>File:LiftTracWithTracks.jpg|400px<nowiki>]]</nowiki></tt>
|
[[File:LiftTracWithTracks.jpg|400px]]
|-
 
 
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Add a page to a [[Wikipedia:FAQ/Categories|category]]{{Anchor|Add a page to a category}}
|Add a page to a [[Wikipedia:FAQ/Categories|category]]
|<tt><nowiki>[[Category:Category name]]</nowiki></tt>
|<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.
|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.
Line 61: Line 73:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Signature{{Anchor|Signature}}
|Add a link to a [[Wikipedia:FAQ/Categories|category]]
|<tt><nowiki>[[:Category:Category name]]</nowiki></tt>
|Just put : in front of the same code for adding a page to a category
|-
|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: 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>
Line 72: Line 90:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Use a template {{anchor|Use a template}}
|Use a template
|
|
<tt><nowiki>{{Example}}</nowiki></tt>
<tt><nowiki>{{Example}}</nowiki></tt>
Line 85: Line 103:
| 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><nowiki>#REDIRECT [[Target page]]</nowiki></tt>
<tt><nowiki>#REDIRECT [[Target page]]</nowiki></tt>
|
|
[[Image:Redirect arrow without text.svg|30px|link=]] [[Target page]]
redirect to the Target page
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Wikipedia:Redirect|Redirect to a section of another page]]
|Section headings<br />
<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>
|
[[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>
<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>
Line 122: Line 131:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Bulleted list]]{{Anchor|Bulleted list}}
|Bulleted list
|
|
<tt>* One</tt><br />
<tt>* One</tt><br />
Line 136: Line 145:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Numbered list]]{{Anchor|Numbered list}}
|Numbered list
|
|
<tt># One</tt><br />
<tt># One</tt><br />
Line 150: Line 159:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Indenting text{{Anchor|Indenting text}}
|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>
<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>
|
|
Line 162: Line 171:
::second indent
::second indent
:::third indent
:::third indent
</nowiki></tt>
|
|
|}
|}
</div>
</div>
<noinclude>
<noinclude>
[[Category:Wiki]]

Latest revision as of 00:24, 19 November 2017


Wiki Editing 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

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

Name of page
Text to display

Link to external website

[http://externalsite.com Site Name]

Site Name

Add an image

[[File:LiftTracWithTracks.jpg|400px]]

LiftTracWithTracks.jpg

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.
Add a link to a category [[:Category:Category name]] Just put : in front of the same code for adding a page to a category
Signature
Sign your contributions when posting to a Talk Page.
Do not sign when contributing to an article.

~~~~

Username (talk) 05:02, 27 July 2025 (UTC)

Use a template

{{Example}}

Template:Example

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 to the Target page

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