Wiki Cheatsheet: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{pp-semi|small=yes}}</noinclude>
<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;"
Line 100: Line 99:
|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]]<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 128: Line 118:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Bulleted list]]
|Bulleted list
|
|
<tt>* One</tt><br />
<tt>* One</tt><br />
Line 142: Line 132:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Numbered list]]
|Numbered list
|
|
<tt># One</tt><br />
<tt># One</tt><br />

Revision as of 16:37, 4 January 2012

Template:Shortcut

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:LiftTracWithTracks.jpg|thumb|alt=Alt text|Your Caption text]]

Alt text
Your Caption text
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) 16:05, 3 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]]

File:Redirect arrow without text.svg 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

</nowiki>