Difference between revisions of "Help:Wiki markup cheatsheet"

From RimWorld Wiki
Jump to navigation Jump to search
(Removed unnecessary usage of Anchor template.)
 
(2 intermediate revisions by 2 users not shown)
Line 23: Line 23:
 
|[[wikipedia:Wikipedia:Manual_of_Style|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" |
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>
 
 
|
 
|
 
<code><nowiki>[[File:Bedroll east.png|thumb|Caption]]</nowiki></code>
 
<code><nowiki>[[File:Bedroll east.png|thumb|Caption]]</nowiki></code>
Line 131: 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 146: Line 143:
 
<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 154: 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" |

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) 09:22, 28 April 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]