Difference between revisions of "Help:Wiki markup cheatsheet"

From RimWorld Wiki
Jump to navigation Jump to search
(needs beautification...)
(→ Common templates to use)
Line 1: Line 1:
This page is for all future wiki editors and wiki geeks (me). Enjoy! [[User:Spdskatr|Spdskatr]] ([[User talk:Spdskatr|talk]]) 06:58, 14 January 2017 (UTC)
+
__NOTOC__
  
{{stub}}
+
This is a simple guide about the special markup language used to edit RimWorld Wiki, and is not a full guide. RimWorld Wiki runs [https://www.mediawiki.org/wiki/MediaWiki MediaWiki] with the [https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic] extension.
  
 
==Basic Markup==
 
==Basic Markup==
Line 34: Line 34:
 
|}
 
|}
 
==Headings==
 
==Headings==
{{Fmbox |type=system |text =
 
<div class="Infobox">
 
 
<pre>
 
<pre>
 
=Heading 1=
 
=Heading 1=
Line 44: Line 42:
 
======Heading 6======
 
======Heading 6======
 
</pre>
 
</pre>
=Heading 1=
+
 
==Heading 2==
+
==Common templates to use==
===Heading 3===
+
Documentation can be seen in detail on each template's page.
====Heading 4====
+
 
=====Heading 5=====
+
[[Template:Define]] is used for infoboxes (material, textile, food, medical items and exotic items)<br />
======Heading 6======
+
[[Template:Infobox main]] is used for infoboxes (everything else not supported by [[Template:Define]])<br />
</div>
+
[[Template:Asof]] is used to reference different versions of RimWorld.<br />
|image=none}}
+
[[Template:STDT]] is used for tables.<br />
 +
[[Template:List]] is to list the items in a category.<br />
 +
[[Template:Icon]] is used to display pictures the size of icons, inline with text.
 +
 
 +
[[Template:Stat]] is used to define a stat.<br />
 +
[[Template:Property with Page]] is used to define the properties included in infoboxes.

Revision as of 08:46, 17 January 2017


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.

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 <s>foo</s> foo
Internal Link [[Main Page]] Main Page
External Link [https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia:Help:Wiki markup] Wikipedia:Help:Wiki markup

Headings

=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 (material, textile, food, medical items and exotic items)
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.