Difference between revisions of "Template:Define/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
===Keywords===
 
===Keywords===
  
base = write in decimal form about a base stat.
+
base = write in decimal form about a base stat.<br />
factor = how many times your item affects something, eg. 2.5 would show on the Infobox: 2.5x
+
factor = how many times your item affects something, eg. 2.5 would show on the Infobox: 2.5x<br />
 
offset = add a + or - to say how much using this item will offset a stat
 
offset = add a + or - to say how much using this item will offset a stat
  

Revision as of 23:14, 3 January 2017

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. The best thing to do is to fill in as much as possible.

Keywords

base = write in decimal form about a base stat.
factor = how many times your item affects something, eg. 2.5 would show on the Infobox: 2.5x
offset = add a + or - to say how much using this item will offset a stat

Detailed Usage

{{Define | (Medicine/Material/Textile/Exotic Item)
| category = (Deprecated? Needs verification)
| 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/sharp) base = no prefix or suffix
| armor - (blunt/electric/heat/sharp) factor = x prefix
| armor - (blunt/electric/heat/sharp) offset = add a - or + sign
| beauty base = no prefix or suffix
| beauty factor = x prefix
| beauty offset = add a - or + sign, wiki will not fill in anything extra
| block adjacent sow = (for trees)
| blood filtration factor/offset = 
| blood pumping factor/offset = 
| breathing factor/offset = 
| commonality = 
| consciousness factor/offset =
| construct effect =
| days to rot =
| def name = 
| default color = (Deprecated?)
| default color two = (Deprecated?)
| description = 
| destroy on drop =
| deterioration rate base =
| die if leafless =
| door opening speed factor =
| DPS = 
| draw gui overlay = 
| drawer type =
| drug category =
| e type =
| eat effect = 
| equipment type =
| equipped angle offset =
| equipped texture path = 
| fertility = 
| fertility factor growth rate = 
| fertility factor plant chance =
| fertility min =
| fill percent =
| flammability base/factor =
| food preference =
| global work speed offset =
| graphic class =
|