Difference between revisions of "Help:Wiki markup cheatsheet"

From RimWorld Wiki
Jump to navigation Jump to search
(→‎Creating Pages: Changed the heading to 'new article' rather than 'pages')
(Added more examples, though at this stage it may be better to divide them up into more sections for easier readability. The colour scheme helped a little)
Line 11: Line 11:
 
==Basic Markup==
 
==Basic Markup==
  
{| {{STDT| sortable}}
+
{| {{STDT| sortable c_04}}
 
! Effect !! What you type !! What shows up
 
! Effect !! What you type !! What shows up
 
|-
 
|-
Line 43: Line 43:
 
! External Link
 
! External Link
 
| <code><nowiki>[https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia:Help:Wiki markup]</nowiki></code> || | [https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia:Help:Wiki markup]
 
| <code><nowiki>[https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia:Help:Wiki markup]</nowiki></code> || | [https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia:Help:Wiki markup]
 +
|-
 +
! Insert Image
 +
|<code><nowiki>[[File:Example image.png]]</nowiki></code> || | [[File:Medicine.png]]
 +
|-
 +
! Insert footnote
 +
| <code><nowiki><ref>Insert footnote text here</ref></nowiki></code> || | <ref>Insert footnote text here</ref>
 
|-
 
|-
 
! Read as plain text
 
! Read as plain text
 
| <code><nowiki><nowiki>[[foo]]</nowiki></nowiki></code> || | <nowiki>[[foo]]</nowiki>
 
| <code><nowiki><nowiki>[[foo]]</nowiki></nowiki></code> || | <nowiki>[[foo]]</nowiki>
 
|-
 
|-
 +
! Sign your talk comments<br />(with a time stamp)
 +
| <code><nowiki>~~~~</nowiki></code>
 +
| [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
 +
|-
 +
! Bulleted list
 +
|
 +
<code>* One</code><br />
 +
<code>* Two</code><br />
 +
<code>** Two point one</code><br />
 +
<code>** Two point two</code><br />
 +
<code>* Three</code>
 +
|
 +
* One
 +
* Two
 +
** Two point one
 +
** Two point two
 +
* Three
 +
|-
 +
! Numbered list
 +
|
 +
<code># One</code><br />
 +
<code># Two</code><br />
 +
<code>## Two point one</code><br />
 +
<code>## Two point two</code><br />
 +
<code># Three</code>
 +
|
 +
# One
 +
# Two
 +
## Two point one
 +
## Two point two
 +
# Three
 
|}
 
|}
 +
 
==Headings==
 
==Headings==
 
Heading 1 is the default if none is specified. It is intended for page titles, and are not suitable for page subheadings.
 
Heading 1 is the default if none is specified. It is intended for page titles, and are not suitable for page subheadings.

Revision as of 18:27, 26 June 2019


This is a simple guide about the special markup language used to edit RimWorld Wiki, and is not a full guide. RimWorld Wiki runs MediaWiki with the Semantic extension.

Creating New Articles

With a brand new account, you will need at least 10 edits to be able to make a new article. This is an anti-spam bot measure.

Check out the Special Pages area to see articles that could use links, pictures, categories, etc. Fixing up grammar and spelling on pages is always appreciated as well, and is also an easy way to get your 10 edits.

Basic Markup

Effect What you type What shows up
Bold (Wiki) '''foo''' foo
Italics (Wiki) ''foo'' foo
Bold italics (Wiki) '''''foo''''' foo
Bold (HTML) <b>foo</b> foo
Italics (HTML) <i>foo</i> foo
Strikethrough (HTML) <s>foo</s> foo
Underline (HTML) <u>foo</u> foo
Comment (HTML) <!-- This is a comment which only shows in editing --> Only shown in edit
Internal Link [[Main Page]] Main Page
External Link [https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia:Help:Wiki markup] Wikipedia:Help:Wiki markup
Insert Image [[File:Example image.png]] File:Medicine.png
Insert footnote <ref>Insert footnote text here</ref> [1]
Read as plain text <nowiki>[[foo]]</nowiki> [[foo]]
Sign your talk comments
(with a time stamp)
~~~~ Username (talk) 12:10, 23 November 2024 (UTC)
Bulleted list

* One
* Two
** Two point one
** Two point two
* Three

  • One
  • Two
    • Two point one
    • Two point two
  • Three
Numbered list

# One
# Two
## Two point one
## Two point two
# Three

  1. One
  2. Two
    1. Two point one
    2. Two point two
  3. Three

Headings

Heading 1 is the default if none is specified. It is intended for page titles, and are not suitable for page subheadings.

=Heading 1=
==Heading 2==
===Heading 3===
====Heading 4====
=====Heading 5=====
======Heading 6======

Common templates to use

Documentation can be seen in detail on each template's page.

Template:Define is used for infoboxes (drug, material, textile, food, medical items and exotic items, check Template:Define/doc for all supported item types.)
Template:Infobox main is used for infoboxes (everything else not supported by Template:Define)
Template:Asof is used to reference different versions of RimWorld.
Template:STDT is used for tables.
Template:List is to list the items in a category.
Template:Icon is used to display pictures the size of icons, inline with text.

Template:Stat is used to define a stat.
Template:Property with Page is used to define the properties included in infoboxes.

  1. Insert footnote text here