Difference between revisions of "Help:Wiki markup cheatsheet"

From RimWorld Wiki
Jump to navigation Jump to search
m
(Removed unnecessary usage of Anchor template.)
Line 13: Line 13:
 
! style="width:30%" | You get
 
! style="width:30%" | You get
 
|-<!--1ST ROW 1ST COLUMN-->
 
|-<!--1ST ROW 1ST COLUMN-->
|Italics{{Anchor|Italic text}}, bold{{Anchor|Bold text}}, and both{{Anchor|bold and italic}}
+
|Italics, bold, and both
 
|<!--2ND COLUMN-->
 
|<!--2ND COLUMN-->
 
<code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code>
 
<code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code>
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-->
|[[wikipedia:Wikipedia:Manual_of_Style|Link]]{{Anchor|Internal link}} to another page
+
|[[wikipedia:Wikipedia:Manual_of_Style|Link]] to another page
 
|
 
|
 
<code><nowiki>[[Help:Starting a new page]]</nowiki></code><br />
 
<code><nowiki>[[Help:Starting a new page]]</nowiki></code><br />
Line 59: Line 59:
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
|Signature{{Anchor|Signature}}
+
|Signature
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a [[mw:Help:Talk_pages|talk page]]''</div>
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a [[mw:Help:Talk_pages|talk page]]''</div>
 
|
 
|
Line 97: Line 97:
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated''</div>
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated''</div>
 
|
 
|
<code><nowiki><s>This page is missing important infomation.</s></nowiki></code>
+
<code><nowiki><s>This page is missing important information.</s></nowiki></code>
 
|
 
|
<s>This page is missing important infomation.</s>
+
<s>This page is missing important information.</s>
 
|-
 
|-
 
|colspan="3" |
 
|colspan="3" |
Line 115: Line 115:
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the [[Help:Managing files]]
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the [[Help:Managing files]]
 
''</div>
 
''</div>
{{Anchor|Thumbnail image}}
 
 
|
 
|
 
<code><nowiki>[[File:Bedroll east.png|thumb|Caption]]</nowiki></code>
 
<code><nowiki>[[File:Bedroll east.png|thumb|Caption]]</nowiki></code>
Line 142: Line 141:
 
! style="width:30%" | You get
 
! style="width:30%" | You get
 
|-
 
|-
|Redirect to another page{{Anchor|Redirect to another page}}
+
|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>
 
|
 
|
Line 159: Line 158:
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
|[[Help:Formatting#Level 2|Section headings]]{{Anchor|Section headings}}<br>
+
|[[Help:Formatting#Level 2|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>
 
|
 
|
Line 180: Line 179:
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
|[[Help:Formatting|Bulleted list]]{{Anchor|Bulleted list}}
+
|[[Help:Formatting|Bulleted list]]
 
|
 
|
 
<code>* One</code><br>
 
<code>* One</code><br>
Line 194: Line 193:
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
|[[Help:Formatting|Numbered list]]{{Anchor|Numbered list}}
+
|[[Help:Formatting|Numbered list]]
 
|
 
|
 
<code># One</code><br>
 
<code># One</code><br>
Line 208: Line 207:
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
|Indenting text{{Anchor|Indenting text}}
+
|Indenting text
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a 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 talk page, to make it easier to follow conversations.''</div>
 
|
 
|

Revision as of 06:42, 11 February 2021


Wiki markup cheatsheet

Works anywhere in the text

Description You type You get
Italics, bold, and both

''italics'', '''bold''', and '''''both'''''

italics, bold, and both

Link to another page

[[Help:Starting a new page]]
[[Help:Links]]

Help:Starting a new page
Help:Links

"Pipe" a link to change the link's destination

[[Help:Editing pages|Edit a page]]

Edit a page

Link to a section

[[Images#Link_behavior]]
[[Images#Link_behavior|Link behavior and images]]

Images#Link behavior
Link behavior and images

Red link
red links in articles help by showing desired pages to be created

[[a red link]]

a red link

Signature
sign your contributions when posting to a talk page

~~~~

do not sign in an article, only on talk pages

Username (talk) 04:20, 23 November 2024 (UTC)

Plain website

https://www.mediawiki.org

https://www.mediawiki.org

Link a website

[https://www.mediawiki.org]

[1]

Link and name a website

[https://www.mediawiki.org MediaWiki]

MediaWiki

Strike your talk page comment
to show your previous comment is outdated

<s>This page is missing important information.</s>

This page is missing important information.

Hide text somewhere for editors
Essentially leaving comments in an article

<!--Check the help section for assistance with templates!-->

Show an image
for uploading, see the Help:Managing files

[[File:Bedroll east.png|thumb|Caption]]

Caption
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
Link to a category or file

[[:Category:Help]]
[[:File:Medicine.png]]

Category:Help
File:Medicine.png

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 [[About RimWorld]]

30px About RimWorld

Redirect to a section of another page

#REDIRECT [[About RimWorld#The tactics engine]]

30px About RimWorld#The tactics engine

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
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
::::fourth indent

no indent (normal)

first indent
second indent
third indent
fourth indent

See also