Editing Template:Define/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Obsolete|reason = I'm proud to announce that the changeover from ''Define'' to ''Infobox main'' is complete! This template is no longer used by any page. Template retained to keep page histories legible.}}
 
 
===Description===
 
===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 Drug, Medicine, Material, Meal, Exotic Item or Textile. Most parameters are optional. Note: Some stats may no longer have any effect on the infobox.
+
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===
 
===Keywords===
Line 11: Line 10:
 
===Detailed Usage===
 
===Detailed Usage===
 
<pre style="word-wrap:break-word">
 
<pre style="word-wrap:break-word">
{{Define | (Drug/Medicine/Material/Meal/Textile/Exotic Item)
+
{{Define | (Medicine/Material/Textile/Exotic Item)
| category = Category of the 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.
 
| 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 (long) base =  
Line 18: Line 18:
 
| accuracy (short) base =
 
| accuracy (short) base =
 
| accuracy (touch) base =
 
| accuracy (touch) base =
 +
| addictiveness = % suffix
 +
| allow color generators =
 +
| altitude layer =
 +
| always haulable =
 +
| appearance =
 
| armor - (blunt/sharp) base = no prefix or suffix
 
| armor - (blunt/sharp) base = no prefix or suffix
| armor - (blunt/electric/heat/sharp) factor/offset = x prefix
+
| armor - (blunt/electric/heat/sharp) factor = x prefix
| beauty base/factor/offset =
+
| 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 filtration factor/offset =  
 
| blood pumping factor/offset =  
 
| blood pumping factor/offset =  
 
| breathing factor/offset =  
 
| breathing factor/offset =  
 +
| commonality =
 
| consciousness factor/offset =
 
| consciousness factor/offset =
| days to rot = (base)
+
| construct effect =
| description = the description in-game about the object
+
| days to rot =
 +
| def name =
 +
| default color = (Deprecated?)
 +
| default color two = (Deprecated?)
 +
| description =  
 +
| destroy on drop =
 
| deterioration rate base =
 
| deterioration rate base =
 +
| die if leafless =
 
| door opening speed factor =
 
| door opening speed factor =
 +
| DPS =
 +
| draw gui overlay =
 +
| drawer type =
 +
| drug category =
 +
| e type =
 +
| eat effect =
 +
| equipment type =
 
| equipped angle offset =
 
| equipped angle offset =
 +
| equipped texture path =
 +
| fertility =
 +
| fertility factor growth rate =
 +
| fertility factor plant chance =
 +
| fertility min =
 +
| fill percent =
 
| flammability base/factor =
 
| flammability base/factor =
 +
| food preference =
 
| global work speed offset =
 
| global work speed offset =
 +
| graphic class =
 +
| graphic on ground random rotate angle =
 +
| graphic overdraw =
 +
| graphic path =
 +
| graphic shader type =
 +
| grow days =
 +
| grow min glow =
 +
| harvest destroys =
 +
| harvest min growth =
 +
| harvest tag =
 +
| harvest work =
 +
| harvest yield =
 +
| harvest yield range max =
 +
| harvest yield range min =
 +
| harvested thing def =
 
| hearing factor/offset =
 
| hearing factor/offset =
 +
| hide at snow depth =
 
| hunger factor/offset =  
 
| hunger factor/offset =  
 +
| ingested direct thought =
 
| insulation - cold factor =
 
| insulation - cold factor =
 
| insulation - heat factor =  
 
| insulation - heat factor =  
 +
| is body part =
 +
| is pleasurable drug =
 +
| joy =
 
| joy offset =
 
| joy offset =
| manipulation factor/offset =
+
| joy factor =
| market value base/factor =
+
| label =
| mass = (base)
+
| leafless graphic graph =  
| max hit points base =
+
 
| max hit points factor =
 
| maximum comfortable temperature base =
 
| medical potency base =
 
| melee blunt damage base =
 
| melee cooldown base/factor =
 
| melee damage base =
 
| melee sharp damage base =
 
| metabolism factor/offset =
 
| minimum comfortable temperature base =
 
| move speed base =
 
| moving factor/offset =
 
| pain factor/offset =
 
| ranged cooldown base =
 
| rest effectiveness factor =
 
| rest factor/offset=
 
| sell price multiplier base =
 
| sight factor/offset =
 
| stack limit =
 
| talking factor/offset =
 
| taste =
 
| type =
 
| type2 =
 
| target hit chance factor =
 
| work to make base/factor/offset =
 
| work to build factor/offset =
 
}}
 
 
</pre>
 
</pre>
 
<includeonly>[[Category:SMW templates]]</includeonly>
 

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)