Editing Template:Infobox main/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 15: | Line 15: | ||
== Usage == | == Usage == | ||
− | |||
<div class="pull-left"> | <div class="pull-left"> | ||
* Everything is optional for the template to function; however, relevant sections should be filled in for the sake of completeness. The information displayed is dependent on which category is used, and will not be displayed unless a value is provided. | * Everything is optional for the template to function; however, relevant sections should be filled in for the sake of completeness. The information displayed is dependent on which category is used, and will not be displayed unless a value is provided. | ||
Line 25: | Line 24: | ||
<pre> | <pre> | ||
{{infobox main | {{infobox main | ||
+ | |animal/plant/weapon/area/structure/production/security/furniture/fabric/leathery/metallic/stony (used to set color theme) | ||
+ | |additional styles (optional) | ||
+ | |||
+ | |set property = Boolean value for whether the template should set properties. This defaults to true on main pages, and false on namespaced pages. | ||
+ | |||
+ | |name = Title of the infobox. Defaults to current page name if not specified. | ||
+ | |image = Picture name.(jpg/png)| variables such as size, alt text (optional) | ||
+ | |audio = Audio name.(.wav) | ||
+ | |description = Short description of the item. Recommended to use the description from the in-game info page. | ||
+ | |type = use for main category | ||
+ | |type2 = use for subcategory (optional) | ||
+ | |beauty = use for beauty | ||
+ | |flammability = how quickly it burns. format: in decimals(vb:0.8) , displayed as % vb(80%) | ||
+ | |market value = the amount of currency the item is worth | ||
+ | |mass base = mass in kilograms - DO NOT USE FOR ANIMALS | ||
+ | |hp = the amount of damage an object can take; use for objects with hit points | ||
<!-- All pawns (animals, humanoids, mechanoids) --> | <!-- All pawns (animals, humanoids, mechanoids) --> | ||
Line 69: | Line 84: | ||
|insulationheatfactor = base heat tolerance for material dependent Apparel and Armor | |insulationheatfactor = base heat tolerance for material dependent Apparel and Armor | ||
|insulationcoldfactor = base cold tolerance for material dependent Apparel and Armor | |insulationcoldfactor = base cold tolerance for material dependent Apparel and Armor | ||
− | |||
− | |||
|coverage = coverage provided by the item | |coverage = coverage provided by the item | ||
|layer = the layer the item occupies on the pawn | |layer = the layer the item occupies on the pawn | ||
Line 116: | Line 129: | ||
| max num to ingest at once = number | | max num to ingest at once = number | ||
| days to rot = number | | days to rot = number | ||
+ | |||
+ | <!-- Materials --> | ||
+ | | beauty factor = number | ||
+ | | beauty offset = number | ||
+ | | work to make factor = number | ||
+ | | work to build factor = number | ||
+ | | work to build offset = number in ticks | ||
+ | | max hit points factor = number | ||
+ | | flammability factor = number | ||
+ | | armor - sharp factor = number | ||
+ | | armor - blunt factor = number | ||
+ | | armor - heat factor = number | ||
+ | | insulation - cold factor = number in °C | ||
+ | | insulation - heat factor = number in °C | ||
+ | | melee blunt damage factor = number | ||
+ | | melee sharp damage factor = number | ||
+ | | melee cooldown factor = number | ||
+ | | door opening speed factor = number | ||
+ | | rest effectiveness factor = number | ||
<!-- Plants --> | <!-- Plants --> | ||
Line 169: | Line 201: | ||
<!-- All Weapons --> | <!-- All Weapons --> | ||
+ | |class = neolithic/modern/advanced/mechanoid | ||
|damage = Base weapon damage | |damage = Base weapon damage | ||
|cooldown = use for cooldown time of weapon (in ticks) | |cooldown = use for cooldown time of weapon (in ticks) | ||
Line 247: | Line 280: | ||
<!--Undocumented parameters --> | <!--Undocumented parameters --> | ||
+ | |deterioration = | ||
|is exotic species = | |is exotic species = | ||
|petness = | |petness = | ||
Line 279: | Line 313: | ||
</div> | </div> | ||
{{clear}} | {{clear}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Deprecated positional parameters == | == Deprecated positional parameters == | ||
Line 878: | Line 733: | ||
| resource 4 = Standard subcore | | resource 4 = Standard subcore | ||
| resource 4 amount = 1 | | resource 4 amount = 1 | ||
− | }}</pre></div> | + | }}</pre></div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example #6 == | == Example #6 == |