mNo edit summary |
mNo edit summary |
||
(32 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 22: | Line 23: | ||
}}<!-- |
}}<!-- |
||
− | -->{{Component infobox section | name = Basic Information | conditions = {{{group|}}} {{{category|}}} {{{type|}}} {{{loot_cont|}}} {{{slot|}}} {{{ |
+ | -->{{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 = Group | value = {{Validate list |
+ | {{Component infobox field |name = Group | value = {{Validate list list |value = {{{group|}}} |
+ | |list = Basics, Building, Decor/Miscellaneous, Chemicals, Books, Science, Resources, Ammo/Weapons, Clothing, Food/Cooking, Tools/Traps, Mods |valuelink = 1}} }} |
||
− | |empty = %Items without a group}} |valuelink = 1 }} |
||
− | {{Component infobox field |name = Category | value = {{Validate list |value = {{{category|}}} |list = Ammo, |
+ | {{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}} }} |
{{Component infobox field |name = Type | value = {{{type|}}} }} |
{{Component infobox field |name = Type | value = {{{type|}}} }} |
||
{{Component infobox field |name = Loot Container| value = {{{loot_cont|}}} }} |
{{Component infobox field |name = Loot Container| value = {{{loot_cont|}}} }} |
||
{{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 = |
+ | {{Component infobox field |name = Covering Attribute | value = {{{attribute_focus|}}} }} <!-- |
⚫ | |||
--> {{Component infobox section | name = Block Properties| conditions = {{{durability|}}} {{{storage|}}} {{{lockable|}}} {{{max_load|}}} {{{mass|}}} {{{light-opacity|}}} {{{upgrades_to|}}} {{{breaks_to|}}} }} |
--> {{Component infobox section | name = Block Properties| conditions = {{{durability|}}} {{{storage|}}} {{{lockable|}}} {{{max_load|}}} {{{mass|}}} {{{light-opacity|}}} {{{upgrades_to|}}} {{{breaks_to|}}} }} |
||
Line 44: | Line 44: | ||
{{Component infobox field |name = Breaks to | value = {{{breaks_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|}}} {{{ |
+ | -->{{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 Damage | value = {{{pa_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 = Power Attack Block Damage | value = {{{pa_block_damage|}}} }} |
||
Line 58: | Line 58: | ||
{{Component infobox field |name = Ammo Type | value = {{{ammo|}}} }} |
{{Component infobox field |name = Ammo Type | value = {{{ammo|}}} }} |
||
{{Component infobox field |name = Magazine Size | value = {{{mag|}}} }} |
{{Component infobox field |name = Magazine Size | value = {{{mag|}}} }} |
||
− | {{Component infobox field |name = Stamina |
+ | {{Component infobox field |name = Stamina Usage | value = {{{stamina_usage|}}} }} |
− | {{Component infobox field |name = |
+ | {{Component infobox field |name = Power Attack Stamina Usage | value = {{{pa_stamina_usage|}}} }} |
⚫ | |||
⚫ | |||
{{Component infobox field | name = Damage Multiplier: Earth | value = {{{bonus_damage_earth|}}} }} |
{{Component infobox field | name = Damage Multiplier: Earth | value = {{{bonus_damage_earth|}}} }} |
||
{{Component infobox field | name = Damage Multiplier: Metal | value = {{{bonus_damage_metal|}}} }} |
{{Component infobox field | name = Damage Multiplier: Metal | value = {{{bonus_damage_metal|}}} }} |
||
{{Component infobox field | name = Damage Multiplier: Stone | value = {{{bonus_damage_stone|}}} }} |
{{Component infobox field | name = Damage Multiplier: Stone | value = {{{bonus_damage_stone|}}} }} |
||
{{Component infobox field | name = Damage Multiplier: Wood | value = {{{bonus_damage_wood|}}} }} |
{{Component infobox field | name = Damage Multiplier: Wood | value = {{{bonus_damage_wood|}}} }} |
||
+ | {{Component infobox field |name = [[Durability|Durability (Min Quality)]] | value = {{{durability_min|}}} }} |
||
⚫ | |||
⚫ | |||
{{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 = [[Butchering|Butcher]] Tool| value = {{Validate bool | value = {{{butcher_tool|}}} | format = yes/no | category = Butcher Tool }} | categorize = 1 | autocategory = {{#var:autocategory}} }} |
||
{{Component infobox field | name = [[Butchering|Butcher]] Damage Multiplier| value = {{{butcher_damage_multiplier|}}} }} |
{{Component infobox field | name = [[Butchering|Butcher]] Damage Multiplier| value = {{{butcher_damage_multiplier|}}} }} |
||
Line 78: | Line 79: | ||
{{Component infobox field |name = Seats | value = {{{seats|}}} }} |
{{Component infobox field |name = Seats | value = {{{seats|}}} }} |
||
− | -->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Protection | conditions = {{{hypo-thermal|}}} {{{hyper-thermal|}}} {{{waterproof|}}} {{{damage_resist|}}} {{{mobility|}}} {{{sta_regen|}}} }} |
+ | -->{{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 = {{{hypo-thermal|}}} }} |
{{Component infobox field |name = Cold Resist | value = {{{hypo-thermal|}}} }} |
||
{{Component infobox field |name = Heat Resist | value = {{{hyper-thermal|}}} }} |
{{Component infobox field |name = Heat Resist | value = {{{hyper-thermal|}}} }} |
||
Line 84: | Line 85: | ||
{{Component infobox field |name = Armor Rating | value = {{{damage_resist|}}} }} |
{{Component infobox field |name = Armor Rating | value = {{{damage_resist|}}} }} |
||
{{Component infobox field |name = Mobility Reduction | value = {{{mobility|}}} }} |
{{Component infobox field |name = Mobility Reduction | value = {{{mobility|}}} }} |
||
− | {{Component infobox field |name = Stamina Regen Reduction | value = {{{sta_regen|}}} }} |
+ | {{Component infobox field |name = Stamina Regen Reduction | value = {{{sta_regen|}}} }} |
⚫ | |||
-->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Consumption Effects | conditions = {{{food|}}}}} {{{water|}}} {{{stamina|}}} {{{health|}}} {{{health_max|}}} {{{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|}}} }} |
||
Line 97: | 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 = |
+ | -->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Characteristic Properties | conditions = {{{repair|}}} {{{power_required|}}} {{{unlocks|}}} {{{price_base|}}} {{{stack|}}} }} |
{{Component infobox field |name = [[Repairing|Repaired Using]] | value = {{{repair|}}}}} |
{{Component infobox field |name = [[Repairing|Repaired Using]] | value = {{{repair|}}}}} |
||
{{Component infobox field | name = [[Electricity|Electrical Power Required]] | value = {{{power_required|}}} }} |
{{Component infobox field | name = [[Electricity|Electrical Power Required]] | value = {{{power_required|}}} }} |
||
Line 104: | Line 106: | ||
{{Component infobox field |name = [[Max Stack]] | value = {{{stack|}}} }}<!-- |
{{Component infobox field |name = [[Max Stack]] | value = {{{stack|}}} }}<!-- |
||
− | -->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Scrapping/Forging | conditions = {{{scrappable|}}} {{{ |
+ | -->{{Component infobox section |autocategory = {{#var:autocategory}} | name = Scrapping/Forging Properties| conditions = {{{scrappable|}}} {{{breaks|}}} {{{scrap_amount|}}} {{{meltable|}}} {{{metal|}}} {{{fuel|}}} {{{burn-time|}}} }} |
{{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 = Scrappable | value = {{Validate bool |value = {{{scrappable|}}} |format = yes/no |category = Scrapable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }} |
||
− | {{Component infobox field |name = Scraps into | value = {{{ |
+ | {{Component infobox field |name = Scraps into | value = {{{breaks|}}} }} |
{{Component infobox field |name = Scrap Amount | value = {{{scrap_amount|}}} }} |
{{Component infobox field |name = Scrap Amount | value = {{{scrap_amount|}}} }} |
||
{{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 = Meltable |value = {{Validate bool |value = {{{meltable|}}} |format = yes/no |category = Meltable items }} |categorize = 1 |autocategory = {{#var:autocategory}} }} |
||
{{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|}}}}} |
||
Line 129: | Line 131: | ||
<!-- Category --> |
<!-- Category --> |
||
− | {{#if: {{{removed_version|}}} || |
+ | {{#if: {{{removed_version|}}} | | |
− | {{#if: {{{nocat|}}} || |
+ | {{#if: {{{nocat|}}} | | |
{{#if: {{{category|}}}| |
{{#if: {{{category|}}}| |
||
− | {{#switch: |
+ | {{#switch: {{{category}}} |
|Ammo = <includeonly>[[Category:Ammunition]]</includeonly> |
|Ammo = <includeonly>[[Category:Ammunition]]</includeonly> |
||
− | | |
+ | |Weapon = <includeonly>[[Category:Weapon]]</includeonly> |
− | | |
+ | |Explosive = <includeonly>[[Category:Explosive Weapon]]</includeonly> |
− | | |
+ | |Tool = <includeonly>[[Category:Tool]]</includeonly> |
− | | |
+ | |Book = <includeonly>[[Category:Books]]</includeonly> |
− | | |
+ | |Building Block = <includeonly>[[Category:Building]]</includeonly> |
− | |Building Blocks = <includeonly>[[Category:Building Blocks]]</includeonly> |
||
|Furniture = <includeonly>[[Category:Furniture]]</includeonly> |
|Furniture = <includeonly>[[Category:Furniture]]</includeonly> |
||
|Clothing = <includeonly>[[Category:Clothing]]</includeonly> |
|Clothing = <includeonly>[[Category:Clothing]]</includeonly> |
||
|Armor = <includeonly>[[Category:Armor]]</includeonly> |
|Armor = <includeonly>[[Category:Armor]]</includeonly> |
||
− | | |
+ | |Plant = <includeonly>[[Category:Plant]]</includeonly> |
|Food = <includeonly>[[Category:Food]]</includeonly> |
|Food = <includeonly>[[Category:Food]]</includeonly> |
||
− | | |
+ | |Beverage = <includeonly>[[Category:Drink]]</includeonly> |
− | | |
+ | |Seed = <includeonly>[[Category:Seed]]</includeonly> |
− | | |
+ | |Mod = <includeonly>[[Category:Mods]]</includeonly> |
− | | |
+ | |Trap = <includeonly>[[Category:Trap]]</includeonly> |
− | | |
+ | |Resource = <includeonly>[[Category:Resources]]</includeonly> |
− | | |
+ | |Medical Supply = <includeonly>[[Category:Medical Supply]]</includeonly> |
− | |Misc = <includeonly>[[Category:Misc]]</includeonly> |
||
− | |Medical Supplies = <includeonly>[[Category:Weapons]]</includeonly> |
||
|#default = <includeonly>[[Category:Items]]</includeonly> |
|#default = <includeonly>[[Category:Items]]</includeonly> |
||
}} |
}} |
||
Line 158: | 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
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: Crossbow 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 |
|
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 |
|
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 |
|
How this item can be obtained. |
The above documentation is transcluded from Template:Infobox item/Sandbox/doc. (edit | history)