Template:Define/doc

From RimWorld Wiki
< Template:Define
Revision as of 23:15, 2 January 2017 by Spdskatr (talk | contribs) (WIP)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This template defines the stats for an item that, after a long and confusing chain of transclusions, will end up in Template:Infobox/Thing. It's usage is just like other Infobox templates, but for the first parameter you have to type either Medicine, Material, Exotic Item or Textile. Most parameters are optional. Note: Some stats may no longer have any effect in the Infobox.

Detailed Usage

(When stats have a prefix suffix eg. 25%, the suffix is automatically added, no need to add your own suffix.)
{{Define | (Medicine/Material/Textile/Exotic Item)
| category = (Deprecated? Needs verification, not compulsory)
| color = No apparent effect. (Deprecated?)
| image = Define a specific image name to be used in the Infobox. Not needed if the image name is the same as the page name.
| accuracy (long) base = 
| accuracy (medium) base = 
| accuracy (short) base =
| accuracy (touch) base =
| addictiveness = % suffix
| allow color generators = 
| altitude layer = 
| always haulable = 
| appearance = 
| armor - blunt base = no prefix or suffix
| armor - blunt factor = x prefix
| armor - blunt offset = % suffix