Difference between revisions of "Help:Wiki markup cheatsheet"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 3 users not shown)
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>
<code><nowiki>[[Help:Links]]</nowiki></code>
 
 
|
 
|
[[Help:Starting a new page]]<br />[[Help:Links]]
+
[[Help:Starting a new page]]
 
|-
 
|-
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
 
|
 
|
"[[Help:Links|Pipe]]" a link to change the link's destination
+
"Pipe" a link to change the link's destination
 
|
 
|
 
<code><nowiki>[[Help:Editing pages|Edit a page]]</nowiki></code>
 
<code><nowiki>[[Help:Editing pages|Edit a page]]</nowiki></code>
Line 42: Line 41:
 
Link to a section
 
Link to a section
 
|
 
|
<code><nowiki>[[Images#Link_behavior]]</nowiki></code><br>
+
<code><nowiki>[[Flak vest#Acquisition]]</nowiki></code><br>
<code><nowiki>[[Images#Link_behavior|Link behavior and images]]</nowiki></code>
+
<code><nowiki>[[Flak pants#Acquisition|acquisition of flak pants]]</nowiki></code>
 
|
 
|
[[Images#Link behavior]]<br>
+
[[Flak vest#Acquisition]]<br>
[[Images#Link behavior|Link behavior and images]]
+
[[Flak pants#Acquisition|acquisition of flak pants]]
 
|-
 
|-
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
|[[Links|Red link]]
+
|Red link
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''red links in articles help by showing desired pages to be created''</div>
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''red links in articles help by showing desired pages to be created''</div>
 
|
 
|
<code><nowiki>[[a red link]]</nowiki></code>
+
<code><nowiki>[[Test Broken Link]]</nowiki></code>
 
|
 
|
[[a red link]]
+
[[Test Broken Link]]
 
|-
 
|-
 
|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 96:
 
<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 112: Line 111:
 
|colspan="3" |
 
|colspan="3" |
 
|-
 
|-
|[[Help:Images|Show an image]]
+
|Show an image
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the [[Help:Managing files]]
 
''</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 132: Line 128:
 
|
 
|
 
<code><nowiki>[[:Category:Help]]</nowiki></code><br />
 
<code><nowiki>[[:Category:Help]]</nowiki></code><br />
<code><nowiki>[[:File:Medicine.png]]</nowiki></code>
+
<code><nowiki>[[:File:Medicine industrial a.png]]</nowiki></code>
| [[:Category:Help]]<br />[[:File:Medicine.png]]
+
| [[:Category:Help]]<br />[[:File:Medicine industrial a.png]]
 
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
 
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
 
| colspan="3" style="text-align: center;" |
 
| colspan="3" style="text-align: center;" |
Line 142: Line 138:
 
! 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>
 
|
 
|
 
<code><nowiki>#REDIRECT [[About RimWorld]]</nowiki></code>
 
<code><nowiki>#REDIRECT [[About RimWorld]]</nowiki></code>
 
|
 
|
[[File:Redirectltr black.PNG|30px|link=]] [[About RimWorld]]
+
'''&#x21AA;'''  [[About RimWorld]]
 
|-
 
|-
 
|colspan="3"|
 
|colspan="3"|
Line 155: Line 151:
 
<code><nowiki>#REDIRECT [[About RimWorld#The tactics engine]]</nowiki></code>
 
<code><nowiki>#REDIRECT [[About RimWorld#The tactics engine]]</nowiki></code>
 
|
 
|
[[File:Redirectltr black.PNG|30px|link=]] [[About RimWorld#The tactics engine]]
+
'''&#x21AA;''' [[About RimWorld#The tactics engine]]
 
|-
 
|-
 
|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 176:
 
|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 190:
 
|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 204:
 
|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>
 
|
 
|

Latest revision as of 23:45, 19 March 2023


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:Starting a new page

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

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

Edit a page

Link to a section

[[Flak vest#Acquisition]]
[[Flak pants#Acquisition|acquisition of flak pants]]

Flak vest#Acquisition
acquisition of flak pants

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

[[Test Broken Link]]

Test Broken Link

Signature
sign your contributions when posting to a talk page

~~~~

do not sign in an article, only on talk pages

Username (talk) 14:46, 7 May 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

[[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 industrial a.png]]

Category:Help
File:Medicine industrial a.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]]

About RimWorld

Redirect to a section of another page

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

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

Level 3[edit]

Level 4[edit]

Level 5[edit]
Level 6[edit]
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[edit]