Difference between revisions of "Help:Wiki markup cheatsheet"
(needs beautification...) |
PigeonGuru (talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
− | + | 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 23: | Line 23: | ||
| <code><nowiki><i>foo</i></nowiki></code> || | <i>foo</i> | | <code><nowiki><i>foo</i></nowiki></code> || | <i>foo</i> | ||
|- | |- | ||
− | ! Strikethrough | + | ! Strikethrough (HTML) |
| <code><nowiki><s>foo</s></nowiki></code> || | <s>foo</s> | | <code><nowiki><s>foo</s></nowiki></code> || | <s>foo</s> | ||
+ | |- | ||
+ | ! Underline (HTML) | ||
+ | | <code><nowiki><u>foo</u></nowiki></code> || | <u>foo</u> | ||
+ | |- | ||
+ | ! Comment (HTML) | ||
+ | | <code><nowiki><!-- This is a comment which only shows in editing --></nowiki></code> || | Only shown in edit<!-- This is a comment you won't see unless editing --> | ||
|- | |- | ||
! Internal Link | ! Internal Link | ||
Line 31: | Line 37: | ||
! 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] | ||
+ | |- | ||
+ | ! Read as plain text | ||
+ | | <code><nowiki><nowiki>[[foo]]</nowiki></nowiki></code> || | <nowiki>[[foo]]</nowiki> | ||
|- | |- | ||
|} | |} | ||
==Headings== | ==Headings== | ||
− | + | Heading 1 is the default if none is specified. It is intended for page titles, and are not suitable for page subheadings. | |
− | |||
<pre> | <pre> | ||
=Heading 1= | =Heading 1= | ||
Line 44: | Line 52: | ||
======Heading 6====== | ======Heading 6====== | ||
</pre> | </pre> | ||
− | + | ||
− | == | + | ==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.)<br /> | |
− | + | [[Template:Infobox main]] is used for infoboxes (everything else not supported by [[Template:Define]])<br /> | |
− | </ | + | [[Template:Asof]] is used to reference different versions of RimWorld.<br /> |
− | + | [[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. | ||
+ | |||
+ | [[Category:Help pages]] |
Revision as of 12:38, 3 October 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 (HTML) | <s>foo</s> |
|
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 |
Read as plain text | <nowiki>[[foo]]</nowiki> |
[[foo]] |
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.