7 Days to Die Wiki
mNo edit summary
mNo edit summary
(45 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
<!-- REMOVED TAG -->
 
<!-- REMOVED TAG -->
 
{{#if: {{{removed_version|}}} |{{#vardefine:autocategory|1}} }}
 
{{#if: {{{removed_version|}}} |{{#vardefine:autocategory|1}} }}
  +
{{#if: {{{removed_version|}}} |{{Removed_item|This item was removed in {{#ifeq: {{{removed_version|}}} | Unknown | a previous version of ''7 Days to Die'' | {{{removed_version|}}} }}. }} }}
 
<!-- END REMOVED TAG -->
 
<!-- END REMOVED TAG -->
 
<!-- NOCAT FUNCTIONALITY -->
 
<!-- NOCAT FUNCTIONALITY -->
Line 12: Line 13:
 
<!-- END NOCAT FUNCTIONALITY -->
 
<!-- END NOCAT FUNCTIONALITY -->
 
{{Component infobox header
 
{{Component infobox header
|name = {{{name|}}}
+
|name = {{{name|{{PAGENAME}} }}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|caption = {{{caption|}}}
 
|caption = {{{caption|}}}
Line 20: Line 21:
 
|caption_alt2 = {{{caption_alt2|}}}
 
|caption_alt2 = {{{caption_alt2|}}}
 
|size = {{{size|}}}
 
|size = {{{size|}}}
}} <!--
+
}}<!--
   
-->{{Component infobox section | name = Basic Information | conditions = {{{item-id|}}} {{{group|}}} {{{category|}}} {{{tool-type|}}} {{{obtained|}}} {{{breaks|}}} {{{slot|}}} {{{tool-fuel|}}} {{{cookable|}}} {{{meltable|}}} {{{scrapable|}}} {{{dismantleable|}}} {{{lockable|}}} {{{crafting-skill|}}} {{{action-skill|}}} {{{unlocks|}}} }}
+
-->{{Component infobox section | name = Basic Information | conditions = {{{group|}}} {{{category|}}} {{{type|}}} {{{loot_cont|}}} {{{slot|}}} {{{attribute_focus|}}} }}
 
|-style="{{#if: {{{removed_version|}}}| [[Category:Removed_Items]] | display: none;}}"
 
|-style="{{#if: {{{removed_version|}}}| [[Category:Removed_Items]] | display: none;}}"
 
| style="font-size:95%; text-align: center;" colspan="2" | <span style="color:#FF0000">'''Removed'''</span>: <span style="color:#FF0000">'''{{{removed_version}}}'''</span>
 
| style="font-size:95%; text-align: center;" colspan="2" | <span style="color:#FF0000">'''Removed'''</span>: <span style="color:#FF0000">'''{{{removed_version}}}'''</span>
{{Component infobox field |name = Item ID | value = {{{item-id|}}} }}
+
{{Component infobox field |name = Group | value = {{Validate list list |value = {{{group|}}}
{{Component infobox field |name = Group | value = {{Validate list |value = {{{group|}}} |list = Ammo/Weapons,Basics,Books,Building,Chemicals,Clothing,Decor/Miscellaneous,Food/Cooking,Mods,Science,Resources,Tools/Traps |value_not_found = (!){{{group|}}}%Unknown Group
+
|list = Basics, Building, Decor/Miscellaneous, Chemicals, Books, Science, Resources, Ammo/Weapons, Clothing, Food/Cooking, Tools/Traps, Mods |valuelink = 1}} }}
 
{{Component infobox field |name = Category | value = {{Validate list list |value = {{{category|}}} |list = Ammo, Weapon, Explosive, Tool, Book, Building Block, Furniture, Clothing, Armor, Food, Beverage, Seed, Mod, Trap, Resource, Plant}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
|empty = %Items without a group}} |valuelink = 1 }}
 
{{Component infobox field |name = Category | value = {{Validate list |value = {{{category|}}} |list = Ammo,Melee Weapons,Ranged Weapons,Explosives,Tools,Books,Building Block,Furniture,Clothing,Armor,Food,Beverage,Seeds,Mods,Traps,Resources,Misc }} |categorize = 1 }}
+
{{Component infobox field |name = Type | value = {{{type|}}} }}
{{Component infobox field |name = Block Repair Amount| value = {{{repair_amount|}}} }}
+
{{Component infobox field |name = Loot Container| value = {{{loot_cont|}}} }}
{{Component infobox field |name = Tool Type | value = {{Validate list |value={{{tool-type|}}} |list = Mechanical,Manual |value_not_found = (!){{{tool-type|}}}%Unknown Tool Type }} }}
 
{{Component infobox field |name = Fuel | value = {{{tool-fuel|}}}}}
 
 
{{Component infobox field |name = Gear Slot | value = {{Validate list |value = {{{slot|}}} |list = Hat,Glasses,Face Mask,Chest Armor,Jacket,Shirt,Leg Armor,Pants,Boots,Gloves,Backpack |value_not_found = (!){{{slot|}}}%Unknown Gear Slot }} }}
 
{{Component infobox field |name = Gear Slot | value = {{Validate list |value = {{{slot|}}} |list = Hat,Glasses,Face Mask,Chest Armor,Jacket,Shirt,Leg Armor,Pants,Boots,Gloves,Backpack |value_not_found = (!){{{slot|}}}%Unknown Gear Slot }} }}
{{Component infobox field |name = Crafting Skill Group | value = {{{crafting-skill|}}} }}
+
{{Component infobox field |name = Covering Attribute | value = {{{attribute_focus|}}} }} <!--
{{Component infobox field |name = Action Skill Group | value = {{{action-skill|}}} }}
 
{{Component infobox field |name = Unlocks | value = {{{unlocks|}}}}}
 
{{Component infobox field |name = Breaks into | value = {{{breaks|}}}}}
 
{{Component infobox field |name = Cooking Ingredient | value = {{Validate bool |value = {{{cookable|}}} |format = yes/no |category = Cooking Ingredients }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = Meltable |value = {{Validate bool |value = {{{meltable|}}} |format = yes/no |category = Meltable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = Scrappable | value = {{Validate bool |value = {{{scrapable|}}} |format = yes/no |category = Scrapable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = Dismantleable | value = {{Validate bool |value = {{{dismantleable|}}} |format = yes/no |category = Dismantleable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = Lockable | value = {{Validate bool |value = {{{lockable|}}} |format = yes/no |category = Lockable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }} <!--
 
   
--> {{Component infobox section | name = Statistics | conditions = {{{durability|}}} {{{storage|}}} {{{durability_min|}}} {{{durability_max|}}} {{{max_load|}}} {{{mass|}}} {{{tool|}}} {{{damage|}}} {{{block_damage|}}} {{{range|}}} {{{APM|}}} {{{RPM}}} {{{reload_speed|}}} {{{stamina_usage|}}} {{{inv_slots|}}} {{{stack|}}} {{{bonus_damage_headshot|}}} {{{bonus_damage_earth|}}} {{{bonus_damage_metal|}}} {{{bonus_damage_organic|}}} {{{bonus_damage_stone|}}} {{{bonus_damage_wood|}}} {{{exp1|}}} {{{exp2|}}} }}
+
--> {{Component infobox section | name = Block Properties| conditions = {{{durability|}}} {{{storage|}}} {{{lockable|}}} {{{max_load|}}} {{{mass|}}} {{{light-opacity|}}} {{{upgrades_to|}}} {{{breaks_to|}}} }}
 
{{Component infobox field |name = Hit Points | value = {{{durability|}}} }}
 
{{Component infobox field |name = Hit Points | value = {{{durability|}}} }}
 
{{Component infobox field |name = Storage Slots | value = {{{storage|}}} }}
 
{{Component infobox field |name = Storage Slots | value = {{{storage|}}} }}
{{Component infobox field |name = [[Durability|Durability (Min Quality)]] | value = {{{durability_min|}}} }}
+
{{Component infobox field |name = Lockable | value = {{Validate bool |value = {{{lockable|}}} |format = yes/no |category = Lockable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
{{Component infobox field |name = [[Durability|Durability (Max Quality)]] | value = {{{durability_max|}}} }}
+
{{Component infobox field |name = Horizontal Support | value = {{{max_load|}}} }}
{{Component infobox field |name = [[Max Load]] | value = {{{max_load|}}} }}
 
 
{{Component infobox field |name = [[Mass]] | value = {{{mass|}}} }}
 
{{Component infobox field |name = [[Mass]] | value = {{{mass|}}} }}
{{Component infobox field |name = [[Appropriate Tool]] | value = {{{tool|}}} }}
+
{{Component infobox field |name = Light Opacity | value = {{{light-opacity|}}} }}
  +
{{Component infobox field |name = Upgrades to | value = {{{upgrades_to|}}} }}
 
{{Component infobox field |name = Breaks to | value = {{{breaks_to|}}} }}<!--
  +
  +
-->{{Component infobox section | name = Weapon/Tool Properties| conditions = {{{damage|}}} {{{pa_damage|}}} {{{block_damage|}}} {{{pa_block_damage|}}} {{{range|}}} {{{range_effective|}}} {{{explosive_radius_entities|}}} {{{explosive_radius_blocks|}}} {{{attack_rate|}}} {{{reload_speed|}}} {{{ammo|}}} {{{mag|}}} {{{stamina_usage|}}} {{{pa_stamina_usage}}} {{{bonus_damage_earth|}}} {{{bonus_damage_metal|}}} {{{bonus_damage_stone|}}} {{{bonus_damage_wood|}}} {{{durability_min|}}} {{{durability_max|}}} {{{degradation_rate|}}} {{{butcher_tool|}}} {{{butcher_damage_multiplier|}}} {{{butcher_resource_multiplier|}}} {{{disassemble_tool|}}} {{{mod_type|}}} {{{mod_compa|}}} }}
 
{{Component infobox field |name = [[Entity Damage]] | value = {{{damage|}}} }}
 
{{Component infobox field |name = [[Entity Damage]] | value = {{{damage|}}} }}
  +
{{Component infobox field |name = Power Attack Entity Damage | value = {{{pa_damage|}}} }}
 
{{Component infobox field |name = [[Block Damage]] | value = {{{block_damage|}}} }}
 
{{Component infobox field |name = [[Block Damage]] | value = {{{block_damage|}}} }}
  +
{{Component infobox field |name = Power Attack Block Damage | value = {{{pa_block_damage|}}} }}
 
{{Component infobox field |name = [[Range]] | value = {{{range|}}} }}
 
{{Component infobox field |name = [[Range]] | value = {{{range|}}} }}
{{Component infobox field |name = Attacks per Minute| value = {{{APM|}}} }}
+
{{Component infobox field |name = [[Range|Effective Range]] | value = {{{range_effective|}}} }}
{{Component infobox field |name = Rounds per Minute| value = {{{RPM|}}} }}
+
{{Component infobox field |name = Explosion Range Entities | value = {{{explosive_radius_entities|}}} }}
{{Component infobox field |name = Reload Speed | value = {{{reload_speed|}}} }}
+
{{Component infobox field |name = Explosion Range Blocks| value = {{{explosive_radius_blocks|}}} }}
  +
{{Component infobox field |name = Attacks per Minute| value = {{{attack_rate|}}} }}
  +
{{Component infobox field |name = Rounds per Minute| value = {{{round_rate|}}} }}
 
{{Component infobox field |name = Reload Time | value = {{{reload_speed|}}} }}
 
{{Component infobox field |name = Ammo Type | value = {{{ammo|}}} }}
  +
{{Component infobox field |name = Magazine Size | value = {{{mag|}}} }}
 
{{Component infobox field |name = Stamina Usage | value = {{{stamina_usage|}}} }}
 
{{Component infobox field |name = Stamina Usage | value = {{{stamina_usage|}}} }}
{{Component infobox field |name = Inventory Slots | value = {{{inv_slots|}}} }}
+
{{Component infobox field |name = Power Attack Stamina Usage | value = {{{pa_stamina_usage|}}} }}
{{Component infobox field |name = [[Max Stack]] | value = {{{stack|}}} }}
+
{{Component infobox field | name = Damage Multiplier: Earth | value = {{{bonus_damage_earth|}}} }}
{{Component infobox field |name = [[Bonus Damage|Multiplier: Headshot]] | value = {{{bonus_damage_headshot|}}} }}
+
{{Component infobox field | name = Damage Multiplier: Metal | value = {{{bonus_damage_metal|}}} }}
{{Component infobox field |name = [[Bonus Damage|Multiplier: Earth]] | value = {{{bonus_damage_earth|}}} }}
+
{{Component infobox field | name = Damage Multiplier: Stone | value = {{{bonus_damage_stone|}}} }}
{{Component infobox field |name = [[Bonus Damage|Multiplier: Metal]] | value = {{{bonus_damage_metal|}}} }}
+
{{Component infobox field | name = Damage Multiplier: Wood | value = {{{bonus_damage_wood|}}} }}
{{Component infobox field |name = [[Bonus Damage|Multiplier: Organic]] | value = {{{bonus_damage_organic|}}} }}
+
{{Component infobox field |name = [[Durability|Durability (Min Quality)]] | value = {{{durability_min|}}} }}
{{Component infobox field |name = [[Bonus Damage|Multiplier: Stone]] | value = {{{bonus_damage_stone|}}} }}
+
{{Component infobox field | name = [[Durability|Durability (Max Quality)]] | value = {{{durability_max|}}} }}
{{Component infobox field |name = [[Bonus Damage|Multiplier: Wood]] | value = {{{bonus_damage_wood|}}} }}
+
{{Component infobox field | name = Degradation per Use | value = {{{degradation_rate|}}} }}
{{Component infobox field |name = [[Experience|Initial Experience]] | value = {{{exp1|}}} }}
+
{{Component infobox field | name = [[Butchering|Butcher]] Tool| value = {{Validate bool | value = {{{butcher_tool|}}} | format = yes/no | category = Butcher Tool }} | categorize = 1 | autocategory = {{#var:autocategory}} }}
{{Component infobox field |name = Subsequent Experience | value = {{{exp2|}}} }} <!--
+
{{Component infobox field | name = [[Butchering|Butcher]] Damage Multiplier| value = {{{butcher_damage_multiplier|}}} }}
  +
{{Component infobox field | name = [[Butchering|Butcher]] Resource Multiplier | value = {{{butcher_resource_multiplier|}}} }}
 
{{Component infobox field | name = [[Salvaging|Disassemble]] Tool| value = {{Validate bool | value = {{{disassemble_tool|}}} | format = yes/no | category = Disassemble Tool }} | categorize = 1 | autocategory = {{#var:autocategory}} }}
  +
{{Component infobox field |name = Mod Type| value = {{{mod_type|}}} }}
 
{{Component infobox field |name = Compatible Mods| value = {{{mod_compa|}}} }}<!--
  +
 
-->{{Component infobox section | name = Vehicle Properties | conditions = {{{vehicle_speed_base|}}} {{{vehicle_speed_sprint|}}} {{{seats|}}} }}
  +
{{Component infobox field |name = Vehicle Speed | value = {{{vehicle_speed_base|}}} }}
  +
{{Component infobox field |name = Vehicle Sprint Speed | value = {{{vehicle_speed_sprint|}}} }}
 
{{Component infobox field |name = Seats | value = {{{seats|}}} }}
   
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Protection | conditions = {{{coldr|}}} {{{heatr|}}} {{{physicalr|}}} {{{electricr|}}} {{{radiationr|}}} }}
+
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Protection Properties | conditions = {{{hypo-thermal|}}} {{{hyper-thermal|}}} {{{waterproof|}}} {{{damage_resist|}}} {{{mobility|}}} {{{sta_regen|}}} {{{noise|}}} }}
{{Component infobox field |name = Cold Resist | value = {{{coldr|}}} }}
+
{{Component infobox field |name = Cold Resist | value = {{{hypo-thermal|}}} }}
{{Component infobox field |name = Heat Resist | value = {{{heatr|}}} }}
+
{{Component infobox field |name = Heat Resist | value = {{{hyper-thermal|}}} }}
{{Component infobox field |name = Physical Damage Resist | value = {{{physicalr|}}} }}
+
{{Component infobox field |name = Waterproof | value = {{{waterproof|}}} }}
{{Component infobox field |name = Electric Damage Resist | value = {{{electricr|}}} }}
+
{{Component infobox field |name = Armor Rating | value = {{{damage_resist|}}} }}
{{Component infobox field |name = Radiation Damage Resist | value = {{{radiationr|}}} }}<!--
+
{{Component infobox field |name = Mobility Reduction | value = {{{mobility|}}} }}
  +
{{Component infobox field |name = Stamina Regen Reduction | value = {{{sta_regen|}}} }}
  +
{{Component infobox field |name = Noise Increase| value = {{{noise|}}} }}<!--
   
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Consumption Effects | conditions = {{{hunger|}}} {{{thirst|}}} {{{health|}}} {{{stamina|}}} {{{cures|}}} {{{buff|}}} {{{buff_chance|}}} {{{buff_effect|}}} }}
+
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Consumption Effects | conditions = {{{food|}}}}} {{{water|}}} {{{stamina|}}} {{{health|}}} {{{health_max|}}} {{{cures|}}} {{{buff|}}} {{{buff_chance|}}} {{{buff_effect|}}} }}
{{Component infobox field |name = Effect on [[Fullness]] | value = {{{hunger|}}}}}
+
{{Component infobox field |name = Effect on [[Fullness]] | value = {{{food|}}}}}
{{Component infobox field |name = Effect on [[Hydration]] | value = {{{thirst|}}}}}
+
{{Component infobox field |name = Effect on [[Hydration]] | value = {{{water|}}}}}
{{Component infobox field |name = Effect on [[Health]] | value = {{{health|}}}}}
 
 
{{Component infobox field |name = Effect on [[Stamina]] | value = {{{stamina|}}}}}
 
{{Component infobox field |name = Effect on [[Stamina]] | value = {{{stamina|}}}}}
 
{{Component infobox field |name = Effect on [[Health]] | value = {{{health|}}}}}
  +
{{Component infobox field |name = Effect on Max Health | value = {{{health_max|}}}}}
 
{{Component infobox field |name = Cures | value = {{{cures|}}}}}
 
{{Component infobox field |name = Cures | value = {{{cures|}}}}}
 
{{Component infobox field |name = Buff | value = {{{buff|}}} |valuelink=1 }}
 
{{Component infobox field |name = Buff | value = {{{buff|}}} |valuelink=1 }}
Line 86: Line 99:
 
{{Component infobox field |name = Buff Effect | value = {{{buff_effect|}}} }}<!--
 
{{Component infobox field |name = Buff Effect | value = {{{buff_effect|}}} }}<!--
   
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Ammunition | conditions = {{{ammo|}}} {{{clip|}}} }}
+
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Characteristic Properties | conditions = {{{repair|}}} {{{power_required|}}} {{{unlocks|}}} {{{price_base|}}} {{{stack|}}} }}
{{Component infobox field |name = Type | value = {{{ammo|}}}}}
 
{{Component infobox field |name = Capacity | value = {{{clip|}}}}}<!--
 
 
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Crafting/Repairing/Upgrading | conditions = {{{unlocked|}}} {{{repair|}}} {{{upgrades_to|}}} }}
 
{{Component infobox field |name = Unlocked Through | value = {{{unlocked|}}}}}
 
 
{{Component infobox field |name = [[Repairing|Repaired Using]] | value = {{{repair|}}}}}
 
{{Component infobox field |name = [[Repairing|Repaired Using]] | value = {{{repair|}}}}}
{{Component infobox field |name = Upgrades to | value = {{{upgrades_to|}}}}}<!--
+
{{Component infobox field | name = [[Electricity|Electrical Power Required]] | value = {{{power_required|}}} }}
 
{{Component infobox field |name = Unlocks | value = {{{unlocks|}}} }}
  +
{{Component infobox field |name = Base Price | value = {{{price_base|}}} }}
 
{{Component infobox field |name = [[Max Stack]] | value = {{{stack|}}} }}<!--
   
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Cooking | conditions = {{{unlocked_cooking|}}} {{{used_utensil|}}} }}
+
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Scrapping/Forging Properties| conditions = {{{scrappable|}}} {{{breaks|}}} {{{scrap_amount|}}} {{{meltable|}}} {{{metal|}}} {{{fuel|}}} {{{burn-time|}}} }}
{{Component infobox field |name = Unlocked through | value = {{{unlocked_cooking|}}}}}
+
{{Component infobox field |name = Scrappable | value = {{Validate bool |value = {{{scrappable|}}} |format = yes/no |category = Scrapable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
{{Component infobox field |name = Cookware Needed | value = {{{used_utensil|}}}}}<!--
+
{{Component infobox field |name = Scraps into | value = {{{breaks|}}} }}
  +
{{Component infobox field |name = Scrap Amount | value = {{{scrap_amount|}}} }}
 
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Scrapping | conditions = {{{used_in_scrapping|}}} {{{scrap_iron|}}} {{{scrap_brass|}}} {{{scrap_lead|}}} {{{cloth_fragment|}}} }}
+
{{Component infobox field |name = Meltable |value = {{Validate bool |value = {{{meltable|}}} |format = yes/no |category = Meltable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
{{Component infobox field |name = Scraps into | value = {{Deprecated Parameter |value = {{{used_in_scrapping|}}} }} }}
 
{{Component infobox field |name = [[File:ScrapIron.png|30px|link=Scrap Iron]][[Scrap Iron]] | value = {{Validate exists |value={{{scrap_iron|}}} |category= Iron}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[File:ScrapBrass.png|30px|link=Scrap Brass]][[Scrap Brass]] | value = {{Validate exists |value={{{scrap_brass|}}} |category= Brass}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[File:ScrapLead.png|30px|link=Scrap Lead]][[Scrap Lead]] | value = {{Validate exists |value={{{scrap_lead|}}} |category= Lead}} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[File:Cloth.png|30px|link=Cloth Fragment]][[Cloth Fragment]] | value={{{cloth_fragment|}}} }}<!--
 
 
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Forging | conditions = {{{metal|}}} {{{fuel|}}} {{{burn-time|}}} }}
 
 
{{Component infobox field |name = Material | value = {{Validate list |value = {{{metal|}}} |list = Brass%Brass (Forge),Glass% Glass (Forge),Iron%Iron (Forge),Lead%Lead (Forge),Stone%Stone (Forge) |value_not_found = (!){{{metal|}}}%Unknown Material }} }}
 
{{Component infobox field |name = Material | value = {{Validate list |value = {{{metal|}}} |list = Brass%Brass (Forge),Glass% Glass (Forge),Iron%Iron (Forge),Lead%Lead (Forge),Stone%Stone (Forge) |value_not_found = (!){{{metal|}}}%Unknown Material }} }}
 
{{Component infobox field |name = [[Combustible]] | value = {{Validate bool |value = {{{fuel|}}} |format = yes/no |category = Combustibles }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Combustible]] | value = {{Validate bool |value = {{{fuel|}}} |format = yes/no |category = Combustibles }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
{{Component infobox field |name = Burn Time | value = {{{burn-time|}}} }}<!--
+
{{Component infobox field |name = Burn Time | value = {{Validate time | value = {{{burn-time|}}} }} }}<!--
   
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Farming | conditions = {{{crop|}}} {{{seed|}}} {{{grow-time|}}} }}
+
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Farming Properties | conditions = {{{crop|}}} {{{seed|}}} {{{grow-time|}}} }}
 
{{Component infobox field |name = Crop produced | value = {{{crop|}}}}}
 
{{Component infobox field |name = Crop produced | value = {{{crop|}}}}}
 
{{Component infobox field |name = Seed used | value = {{{seed|}}}}}
 
{{Component infobox field |name = Seed used | value = {{{seed|}}}}}
{{Component infobox field |name = Time to grow | value = {{{grow-time|}}}}}<!--
+
{{Component infobox field |name = Time to grow | value = {{{grow-time|}}} }}<!--
  +
 
-->{{Component infobox section | autocategory = {{#var:autocategory}} | name = Obtaining | conditions = {{{obtain|}}} }}
  +
{{Component infobox field |name = Obtainable Through | value = {{Validate list |value = {{{obtain|}}} |list = Cooking,Crafting,Farming,Forging,Looting,Mining,Scrapping,Upgrading }} }}
   
-->{{Component infobox section | autocategory = {{#var:autocategory}} | name = Obtained through | conditions = {{{ob_cheat|}}} {{{ob_cook|}}} {{{ob_craft|}}} {{{ob_farm|}}} {{{ob_forge|}}} {{{ob_loot|}}} {{{ob_mine|}}} {{{ob_scrap|}}} {{{ob_upgrade|}}} |category = Unobtainable items |categorize = 1 }}
 
{{Component infobox field |name = [[Creative Menu]] | value = {{Validate bool |value = {{{ob_cheat|}}} |format = yes/no |category = Cheatable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Cooking]] | value = {{Validate bool |value = {{{ob_cook|}}} |format = yes/no |category = Cookable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Crafting]] | value = {{Validate bool |value = {{{ob_craft|}}} |format = yes/no |category = Craftable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Farming]] | value = {{Validate bool |value = {{{ob_farm|}}} |format = yes/no |category = Farmable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Forging]] | value = {{Validate bool |value = {{{ob_forge|}}} |format = yes/no |category = Forgeable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Looting]] | value = {{Validate bool |value = {{{ob_loot|}}} |format = yes/no |category = Lootable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Mining]] | value = {{Validate bool |value = {{{ob_mine|}}} |format = yes/no |category = Mineable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Scrapping]] | value = {{Validate bool |value = {{{ob_scrap|}}} |format = yes/no |category = Scrapped items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
{{Component infobox field |name = [[Upgrading]] | value = {{Validate bool |value = {{{ob_upgrade|}}} |format = yes/no |category = Upgraded items }} |categorize = 1 |autocategory = {{#var:autocategory}} }}
 
 
{{Component infobox footer}}
 
{{Component infobox footer}}
   
Line 131: Line 128:
   
 
<!-- Auto Categorization Start-->
 
<!-- Auto Categorization Start-->
 
<!-- Type -->
 
{{#if: {{{removed_version|}}} ||
 
{{#if: {{{nocat|}}} ||
 
{{#if: {{{type|}}}
 
|{{#switch: {{lc:{{{type}}}}}
 
|boiled = <includeonly>[[Category:Boiled Food]]</includeonly>
 
|charred = <includeonly>[[Category:Charred Food]]</includeonly>
 
|canned = <includeonly>[[Category:Canned Food]]</includeonly>
 
|door = <includeonly>[[Category:Doors]]</includeonly>
 
|grilled = <includeonly>[[Category:Grilled Food]]</includeonly>
 
|raw = <includeonly>[[Category:Raw Food]]</includeonly>
 
|siding = <includeonly>[[Category:Sidings]]</includeonly>
 
|loot container = <includeonly>[[Category:Storage]]</includeonly>
 
|storage = <includeonly>[[Category:Storage]]</includeonly>
 
|
 
}}
 
}}
 
}}
 
}}
 
 
<!-- Tool-Type -->
 
 
{{#if: {{{removed_version|}}} ||
 
{{#if: {{{nocat|}}} ||
 
{{#if: {{{tool-type|}}}
 
|[[Category:Tools]][[Category:Tools and Traps]]{{#switch: {{lc:{{{tool-type}}}}}
 
|manual=<includeonly>[[Category:Manual]]</includeonly>
 
|mechanical=<includeonly>[[Category:Mechanical]]</includeonly>
 
}}
 
}}
 
}}
 
}}
 
   
 
<!-- Category -->
 
<!-- Category -->
   
{{#if: {{{removed_version|}}} ||
+
{{#if: {{{removed_version|}}} | |
{{#if: {{{nocat|}}} ||
+
{{#if: {{{nocat|}}} | |
 
{{#if: {{{category|}}}|
 
{{#if: {{{category|}}}|
{{#switch: {{lc:{{{category}}}}}
+
{{#switch: {{{category}}}
|ammunition = <includeonly>[[Category:Ammunition]]</includeonly>
+
|Ammo = <includeonly>[[Category:Ammunition]]</includeonly>
|building material = <includeonly>[[Category:Building Material]]</includeonly>
+
|Weapon = <includeonly>[[Category:Weapon]]</includeonly>
|building material, trap = <includeonly>[[Category:Building Material]]</includeonly> <includeonly>[[Category:Weapons]]</includeonly>
+
|Explosive = <includeonly>[[Category:Explosive Weapon]]</includeonly>
|equipment = <includeonly>[[Category:Gear]]</includeonly>
+
|Tool = <includeonly>[[Category:Tool]]</includeonly>
|firearms = <includeonly>[[Category:Firearms]]</includeonly> <includeonly>[[Category:Weapons]]</includeonly>
+
|Book = <includeonly>[[Category:Books]]</includeonly>
|food = <includeonly>[[Category:Food]]</includeonly>
+
|Building Block = <includeonly>[[Category:Building]]</includeonly>
|gear = <includeonly>[[Category:Gear]]</includeonly>
+
|Furniture = <includeonly>[[Category:Furniture]]</includeonly>
|gun part = <includeonly>[[Category:Gun Parts]]</includeonly>
+
|Clothing = <includeonly>[[Category:Clothing]]</includeonly>
|lighting, weapon = <includeonly>[[Category:Weapons]]</includeonly>
+
|Armor = <includeonly>[[Category:Armor]]</includeonly>
|medical supplies = <includeonly>[[Category:Medical Supplies]]</includeonly>
+
|Plant = <includeonly>[[Category:Plant]]</includeonly>
|plant = <includeonly>[[Category:Plants]]</includeonly>
+
|Food = <includeonly>[[Category:Food]]</includeonly>
|resource = <includeonly>[[Category:Resources]]</includeonly>
+
|Beverage = <includeonly>[[Category:Drink]]</includeonly>
|resource, building material = <includeonly>[[Category:Resources]]</includeonly> <includeonly>[[Category:Building Material]]</includeonly>
+
|Seed = <includeonly>[[Category:Seed]]</includeonly>
|resource, building material, terrain = <includeonly>[[Category:Resources]]</includeonly> <includeonly>[[Category:Building Material]]</includeonly>
+
|Mod = <includeonly>[[Category:Mods]]</includeonly>
|rocket launcher = <includeonly>[[Category:Rocket launchers]]</includeonly> <includeonly>[[Category:Weapons]]</includeonly>
+
|Trap = <includeonly>[[Category:Trap]]</includeonly>
|sidearm = <includeonly>[[Category:Sidearms]]</includeonly> <includeonly>[[Category:Weapons]]</includeonly>
+
|Resource = <includeonly>[[Category:Resources]]</includeonly>
|tool, weapon = <includeonly>[[Category:Weapons]]</includeonly>
+
|Medical Supply = <includeonly>[[Category:Medical Supply]]</includeonly>
|trap = <includeonly>[[Category:Weapons]]</includeonly>
 
|weapon = <includeonly>[[Category:Weapons]]</includeonly>
 
|weapon, scrap = <includeonly>[[Category:Weapons]]</includeonly>
 
 
|#default = <includeonly>[[Category:Items]]</includeonly>
 
|#default = <includeonly>[[Category:Items]]</includeonly>
 
}}
 
}}
Line 196: Line 157:
 
}}
 
}}
 
}}
 
}}
 
}}
  +
 
<!-- Group -->
 
{{#if: {{{group|}}} |
  +
{{#vardefine:grouplist|{{{group|}}} }}
  +
{{#vardefine:pcount|0}}
  +
{{#while:
  +
| {{#explode:{{#var:grouplist}}|,|{{#var:pcount}} }}
  +
| {{#switch: {{#explode:{{#var:grouplist}}|,|{{#var:pcount}} }}
  +
|Basics|Building|Decor/Miscellaneous|Chemicals|Books|Science|Resources|
  +
Ammo/Weapons|Clothing|Food/Cooking|Tools/Traps|Mods = [[Category:{{#explode:
  +
{{#var:grouplist}}|,|{{#var:pcount}} }}]]
  +
|#default = [[Category:Items with invalid item group]]
 
}}
  +
{{#vardefine:pcount|{{#expr:{{#var:pcount}} + 1 }} }}
  +
}} |
  +
[[Category:Items without a group]]
 
}}
 
}}
   
 
{{#if: {{{removed_Version|}}} | [[Category:Removed_Items]] | }}
 
{{#if: {{{removed_Version|}}} | [[Category:Removed_Items]] | }}
 
<!-- Auto Categorization End -->
 
<!-- Auto Categorization End -->
  +
  +
{{clear}}
  +
{{Warning_Box
  +
| message = Changes to this template will affect several other pages. <p>Please be careful when modifying this template.</p>{{
 
#dpl:
  +
| uses = Template:Infobox_item
  +
| format = ,
  +
| resultsheader = <p>This template is used on <B><big>%TOTALPAGES%</big></b> pages.</p>
 
}}
 
}}
   
 
<noinclude>
 
<noinclude>

Revision as of 15:35, 31 July 2020

Quest icon   This is a Template SANDBOX


Quest icon   Changes to this template will affect several other pages.

Please be careful when modifying this template.

This template is used on 1046 pages.

Template-info Documentation


This template generates an infobox for items. The Infobox provides a summary of statistics associated with a given item. It is intended to organize the information consistently across all items and provide a quick reference-point for pertinent information about the item.

Formatting and ordering of information is largely done by the template with a few exceptions noted below (sizing images, adding links, etc).

Information is passed to the template in the form of parameters and values that are designated as such: |parameter = value. Parameters containing no value or only whitespace will be ignored and not included in the infobox.

Auto-categorization[]

Certain parameters enable the template to automatically add the item to other categories. The parameters with this feature are noted below in the list of parameters. This functionality extends the usefulness of the infobox but it may not always be desirable. To disable auto-categorization, add the parameter/value combination: |nocat = 1.

The removed_version parameter also affects auto-categorization by disabling categorization by other parameters to ensure the item is only auto-categorized into Category:Removed_Items. There may be other categories added to the item outside the infobox, which the infobox can not control or manipulate.

Auto-link[]

If a field is set to auto-link, it will automatically include the [[ and ]] around the field. Thus creating a link to the page that is referenced in this field. The template should make sure that the field is accurate by passing the value through a validation template, normally the Validate list or Validate list list templates.

The removed_version parameter disables also the auto link system.

Boolean Values[]

Parameters that expect boolean values such as true or false allow for some variation in terminology as in the following:

1, y, yes, t, true = TRUE
0, n, no, f, false = FALSE

For more information, see the documentation for Template:Validate_bool.

Notes[]

  • Please add a small picture of an item you put into the infobox (e.g. ammunition) for the overall look.
 Use this syntax:
 |ammo = [[File:CrossbowBolt.png|20px|link=Crossbow Bolt]][[Crossbow Bolt]]
 will look like: CrossbowBoltCrossbow Bolt.
  • Most values for items can be found in items.xml.
  • Information on placeable items, such as traps and mines, are found in blocks.xml.

Syntax[]

Use the following to easily create new infoboxes. Cut and paste the code then replace needed values, do not remove the lines (leave {"="[nothing]} to do not display them).

Preset
{{Infobox item
|name = {{PAGENAME}}
|image =
|caption =
|image_alt1 =
|caption_alt1 =
|image_alt2 =
|caption_alt2 =
|size =

|nocat =
|group = 
|category = 
|type = 
|loot_cont = 
|slot = 
|crafting-skill = 
|action-skill = 

|durability = 
|storage = 
|lockable = 
|max_load = 
|mass = 
|light-opacity = 
|upgrades_to = 
|breaks_to = 

|damage = 
|pa_damage = 
|block_damage = 
|pa_block_damage = 
|range = 
|range_effective = 
|explosive_radius_entities
|explosive_radius_blocks
|attack_rate = 
|round_rate =
|reload_speed = 
|mag = 
|ammo = 
|stamina_usage = 
|durability_min = 
|durability_max = 
|degradation_rate = 
|bonus_damage_earth = 
|bonus_damage_metal = 
|bonus_damage_stone = 
|bonus_damage_wood = 
|butcher_tool = 
|butcher_damage_multiplier = 
|butcher_resource_multiplier = 
|disassemble_tool = 
|mod_type = 
|mod_compa = 
 
|vehicle_speed_base = 
|vehicle_speed_sprint = 
|seats = 

|hypo-thermal = 
|hyper-thermal = 
|waterproof = 
|damage_resist = 
|mobility = 
|sta_regen = 
|noice =

|food = 
|water = 
|stamina = 
|health = 
|health_max = 
|cures = 
|buff = 
|buff_chance = 
|buff_effect = 

|repair = 
|power_required = 
|unlocks = 
|price_base = 
|stack =

|scrappable = 
|breaks= 
|scrap_amount = 
|meltable = 
|metal = 
|fuel = 
|burn-time = 

|crop = 
|seed = 
|grow-time = 

|obtain = 
}}

Parameters[]

Parameter Legal Values Description Auto-categorizes Auto-links
removed_version Version in which item was removed (overrides further auto-categorization) Y
nocat Disables auto-categorization. Syntax: nocat = true
name Name to be shown in the header of the infobox, uses {{PAGENAME}} if not specified
image Main image file name to be displayed
caption Caption for the main image
image_alt1 First alternative image file name to be displayed
caption_alt1 Caption for the first alternate image
image_alt2 Second alternate image file name to be displayed
caption_alt2 Caption for the second alternate image
size Size (in px) the image should be displayed at, eg. 75px

Basic Information Section

group The group this item belongs to. (For possible groups see: Item Group)
Can be more than one.
Y Y
category <Text> The wiki category in which to place the item. Only one value. Y
type <Text> A comma separated list of a sub-category, depending on the item. For example Melee Weapon, Repair Tool.
loot_cont <Numeric> The loot container this container uses.
slot
  • Hat
  • Glasses
  • Face
  • Overcoat
  • Chest Armor
  • Shirt
  • Gloves
  • Leg Armor
  • Pants
  • Boots
  • Backpack
Gear slot. Example: for bandana slot = face
attribute_focus <Text> Which Attribute covers the item; usually for tools and weapons.

Block Properties Section

durability <Numeric> Hit Points of a block. Note that blocks use durability without min/max, items with quality levels use durability min/max
storage <Numeric> How many storage slots this item has (if container).
lockable <Boolean> Whether this item can be locked. Y
max_load <Numeric> See: Max Load
mass <Numeric> Weight (only for blocks); see: Mass
light-opacity <Numeric> How much light the block blocks.
upgrades_to <Text> The block into which it upgrades (Mostly building blocks and doors/hatches)
breaks_to <Text> Breaks into what block. (The opposite of the above.)

Weapon/Tool Properties Section

damage <Numeric> Damage this item deals to entities; see Entity Damage.
pa_damage <Numeric> Power Attack damage this item deals to entities.
block_damage <Numeric> Damage this item deals to blocks; see Block Damage.
pa_block_damage <Numeric> Power Attack damage this item deals to blocks.
range <Numeric> Maximum range for melee and ranged attacks
range_effective <Numeric> For ranged weapons, effective range with full damage. See: Range
explosive_radius_entities <Numeric> This is the radius of effect of the explosion as applied to entities.
explosive_radius_blocks <Numeric> This is the radius of effect of the explosion as applied to blocks.
attack_rate <Numeric> Attack rate, units are per minute.
round_rate <Numeric> Round rate, units are per minute.
reload_speed <Numeric> Time it takes to reload item
mag <Numeric> Magazine Size
ammo <Numeric> The item this item uses as ammo.
stamina_usage <Numeric> How much stamina this item uses.
pa_stamina_usage <Numeric> How much stamina this item uses on power attacks.
durability_min <Numeric> The durability of an item at its minimum quality. Note that blocks use durability without min/max, items with quality levels use durability min/max
durability_max <Numeric> The durability of an item at its maximum quality. Note that blocks use durability without min/max, items with quality levels use durability min/max
degradation_rate <Numeric> The rate at which the durability decreases per use when the item is used.
bonus_damage_earth <Numeric> Bonus damage to this type of item, expressed as a multiplier
bonus_damage_metal <Numeric> Bonus damage to this type of item, expressed as a multiplier
bonus_damage_stone <Numeric> Bonus damage to this type of item, expressed as a multiplier
bonus_damage_wood <Numeric> Bonus damage to this type of item, expressed as a multiplier
butcher_tool <Boolean> If the item is a butcher tool.
butcher_damage_multiplier <Numeric> Self-explanatory, usually over 1.
butcher_resource_multiplier <Numeric> Self-explanatory, between 0 and 1.
disassemble_tool <Boolean> If the item is a disassemble tool.
mod_type <Text> The mod's type, eg. Barrel Attachment
mod_compa <Text> The mod types this item can have.

Vehicle Properties Section

vehicle_speed_base <Numeric> Base speed of a vehicle
vehicle_speed_sprint <Numeric> Sprint speed of a vehicle
seats <Numeric> The amount of people that can sit in the vehicle at the same time.

Protection Properties Section

hypo-thermal <Numeric> Temperature modifier. This is the how much protection against the cold the item provides. An item can have both hypo and hyper attributes.
hyper-thermal <Numeric> Temperature modifier. This is the how much protection against heat the item provides. An item can have both hypo and hyper attributes.
waterproof <Numeric> How much protection the item provides against water, rain and the like, this will help or hinder with temperature effects.
damage_resist <Numeric> The basic armor rating of the armor.
mobility <Numeric> What effect the armor has in mobility, eg. -4.1%.
sta_regen <Numeric> How much the item reduces stamina regeneration while running, eg. the bigger number that is shown in-game too. For example -1.5%
noise <Numeric> How much the item increases the player's noise eg. 20%

Consumption Effects Section

food <Numeric> Fullness change when you eat/drink this one.
water <Numeric> Thirst change when you eat/drink this one.
stamina <Numeric> Stamina change when you eat/drink this one.
health <Numeric> Health change when you eat/drink this one.
health_max <Numeric> Change to max health when you eat/drink/use this one - Integrated Survival System.
buff <Text> Other buffs when you eat/drink this one.
buff_chance <Numeric> The chance to obtain said buff.
buff_effect <Text> What the buff does.

Characteristic Properties Section

repair <Text> The item that is needed to repair this one.
power_required <Numeric> The value given is the amount of power required to run this device.
unlocks <Text> The item this one unlocks (if any).
price_base Default Value of an item
stack <Numeric> Maximum amount of items in one stack

Scrapping/Forging Properties Section

scrappable <Boolean> Whether or not the item can be scrapped.
breaks <Text> The material got when scrapping this item.
scrap_amount <Numeric> The amount of material got in scrapping.
meltable <Boolean> Whether or not the item can be melted in forge.
metal
  • Brass
  • Sand
  • Iron
  • Lead
  • Stone
  • Clay
The kind of metal this item gives when melted.
fuel <Boolean> Whether or not the item can be used as fuel in campfire/forge etc.
burn-time <Numeric> amount of time the item burns (in seconds).

Farming Properties Section

crop <Text> The item that can be harvested from the plant this seed grows.
seed <Text> The seed that can be planted to get this crop.
grow-time <Numeric> The time this seed needs to grow to be harvestable.

Obtaining Section

obtain
  • Cooking
  • Crafting
  • Farming
  • Forging
  • Looting
  • Mining
  • Scrapping
  • Upgrading
How this item can be obtained.