Template:Infobox item

From PZwiki
Notebook.pngTemplate Documentation
LightBulbBlue.png
Documentation for this template is transcluded from Template:Infobox item/doc.
LightBulbYellow.png
IMPORTANT: This template has recently undergone a major rework. Please use this template with caution until all testing is completed.
Hammer.png
This template is currently under construction.
It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well.
If this page has not been updated in a while, please replace this notice with {{Improve}}. Last edit was 25/03/2024.

All item infoboxes use this template.

Basic usage

name
Image.png
General
Category
category
Encumbrance
Moodle Icon HeavyLoad.png
weight
Technical
Item ID
item_id
{{Infobox item
|name=
|model=
|icon=
|icon_name=
|category=
|weight=
|item_id=
}}

Detailed usage

Weapon

See more: Template:Infobox weapon
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|equipped=
|attachment_type=
|function=
|skill_type=
|ammo_type=
|clip_size=
<!--Properties-->
|material= <!-- E.g. Metal -->
|material_value= <!-- E.g. MetalValue attribute -->
|condition_max=
|condition_lower_chance=
|attack_speed=
<!--Performance-->
|damage_type=
|min_damage=
|max_damage=
|door_damage=
|tree_damage=
|min_range=
|max_range=
|hit_chance=
|recoil_delay=
|sound_radius=
|base_speed=
|push_back=
|knockdown=
|aiming_time=
|reload_time=
|crit_chance=
|angle_mod=
|kill_move=
<!--Technical-->
|tag=
|item_id=
}}

Weapon part

See more: Template:Infobox weapon mod
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|part_type=
|function=
|weapon=
|ammo_type=
|clip_size=
<!--Properties-->
|material= <!-- E.g. Metal -->
|material_value= <!-- E.g. MetalValue attribute -->
<!--Performance-->
|damage_mod=
|min_range_mod=
|max_range_mod=
|recoil_delay=
|sound_radius=
|aiming_time=
|reload_time=
|angle_mod=
|weight_mod=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}

Ammo

See more: Template:Infobox ammo
{{Infobox item
|name=
|model=
|model2=
|icon=
|icon_name=
|icon2=
|icon_name2=
<!--General-->
|category=Ammo
|weight=
|weight_text=(single)
|weight2=
|weight_text2=(box)
|weapon=
<!--Properties-->
|material=
|material_value=
|capacity=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}

Clothing

See more: Template:Infobox clothing
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|capacity=
|weight_reduction=
|body_location=
|function=
|attachments_provided
<!--Properties-->
|material= <!-- E.g. FabricType attribute -->
|condition_max=
|condition_lower_chance=
|run_speed=
|combat_speed=
|scratch_defense=
|bite_defense=
|bullet_defense=
|neck_protection=
|insulation=
|wind_resistance=
|water_resistance=
<!--Technical-->
|tag=
|item_id=
}}

Bag

See more: Template:Infobox container
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|capacity=
|weight_reduction=
|equipped= <!-- E.g. CanBeEquipped attribute -->
|function=
<!--Properties-->
|material= <!-- E.g. FabricType attribute -->
|weight_reduction=
|run_speed=
|combat_speed=
<!--Technical-->
|tag=
|item_id=
}}

Medical

{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
|max_units=
<!--Nutrition-->
|hunger_change=
|calories=
<!--Properties-->
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
|max_units= <!-- Do not add again if already defined in General section -->
<!--Effect-->
|unhappy_change=
|boredom_change=
|stress_change=
|fatigue_change=
|endurance_change=
|flu_change=
|pain_change=
|sick_change=
|reduce_infection_power=
|alcohol_power=
|wet_cooldown=
|bandage_power=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}

Water container

See more: Template:Infobox drainable
See more: Template:Infobox normal
{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
|weight_full=
|function=
<!--Properties-->
|max_units=
|contents=
|can_boil_water=
|rain_factor=
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
<!--Technical-->
|tag=
|item_id=
}}

Communication

See more: Template:Infobox radio
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|material=
|material_value=
|weight_reduction=
|condition_max=
|condition_lower_chance=
|energy_source=
|portable=
|two_way=
|mic_range=
|transmit_range=
|min_channel=
|max_channel=
<!--Performance-->
|sound_radius=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tags=
|item_id=
}}

Food

See more: Template:Infobox food
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
|max_units=
|days_fresh=
|days_rotten=
|cant_be_frozen=
|packaged=
<!--Nutrition-->
|hunger_change=
|thirst_change=
|calories=
|lipids=
|proteins=
|carbohydrates=
<!--Effect-->
|unhappy_change=
|boredom_change=
|stress_change=
|fatigue_change=
|endurance_change=
|flu_change=
|pain_change=
|sick_change=
|reduce_infection_power=
|alcohol_power=
|poison_power=
<!--Cooking-->
|cook_minutes=
|burn_minutes=
|dangerous_uncooked=
|bad_microwaved=
|good_hot=
|bad_cold=
|spice=
|evolved_recipe=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}

Literature

See more: Template:Infobox literature
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|consumed=
|writable=
|recipes=
|page_number=
|vol_number=
<!--Effect-->
|unhappy_change=
|boredom_change=
|stress_change=
<!--Technical-->
|tag=
|item_id=
}}

Light source

See more: Template:Infobox drainable
{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
|max_units=
|light_distance=
|light_strength=
|torch_cone=
|energy_source=
<!--Technical-->
|tag=
|item_id=
}}

Media

{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
<!--Properties-->
|skill_trained=
<!--EFFECT-->
|unhappy_change=
|boredom_change=
|stress_change=
|panic_change=
|fatigue_change=
|endurance_change=
|fitness_change=<!--currently unused-->
|drunk_change=<!--currently unused-->
|anger_change=<!--currently unused-->
|morale_change=<!--currently unused-->
|fear_change=<!--currently unused-->
<!--Technical-->
|item_id=
|media_id=
}}

Vehicle maintenance (wip)

See more: Template:Infobox vehicle part
Hammer.png
This section is currently under construction.
It is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well.
If this page has not been updated in a while, please replace this notice with {{Improve}}. Last edit was 25/03/2024.

Other (wip)

See more: Template:Infobox normal
See more: Template:Infobox drainable
{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
|max_units=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}

Parameters

Any of the following parameters can be used in the template, regardless of whether or not they're included in the above examples.

name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
name
General
Category
category
Encumbrance
Moodle Icon HeavyLoad.png
weight
weight_full (full)
Equipped
equipped
Slot attached
attachment_type
Function
function
Used in
weapon
Part type
part_type
Skill
skill_type
Ammunition
ammo_type
Magazine size
clip_size
Properties
Material
material
material quantity
material_value
Contents
contents
Capacity
max_units
Can boil water
Can_boil_water
Consumed
Consumed
Writable
Writable
Skills learned
recipes
Total pages
page_number pages
Total volumes
volumes
Packaged
Packaged
Rain factor
rain_factor
Days fresh
days_fresh days
Days until rotten
days_rotten days
Max condition
condition_max
Base durability
Expression error: Unrecognized word "condition".
Run speed
run_speed (disabled)
Combat speed
combat_speed
Scratch defence
scratch_defense
Bite defence
bite_defense
Bullet defence
bullet_defense
Neck protection
neck_protection
Insulation
insulation
Wind resistance
wind_resistance
Water resistance
water_resistance
Light distance
light_distance tiles
Light strength
light_strength
Torch cone
Torch_cone
Wet cooldown
wet_cooldown
Sensor range
sensor_range tiles
Energy source
energy_source
Two-way
Two_way
Mic range
mic_range
Transmit range
transmit_range
Frequency range
min_channel–max_channel
Performance
Damage type
Slash
Damage
min_damage–max_damage
Door damage
door_damage
Tree damage
tree_damage
Range
min_range–max_range
Min range
min_range_mod
Max range
max_range_mod
Accuracy
hit_chance
Recoil
recoil_delay
Noise radius
sound_radius
Attack speed
base_speed
Knockback
push_back
Knockdown
knockdown
Aiming time
aiming_time
Reload time
reload_time
Crit chance
crit_chance%
Spread
angle_mod
Special ability
kill_move
Encumbrance mod.
weight_mod
effect_type power
effect_power
effect_type range
effect_range tiles
effect_type duration
effect_duration minutes
effect_type timer
effect_timer
Nutrition
HungerMoodle Icon Hungry.png
hunger_change
ThirstMoodle Icon Thirsty.png
thirst_change
CaloriesCalories
calories
CarbohydratesCarbohydrates
carbohydrates
ProteinsProteins
proteins
FatFat
lipids
Effect
UnhappinessMoodle Icon Unhappy.png
unhappy_change
BoredomMoodle Icon Bored.png
boredom_change
StressMoodle Icon Stressed.png
stress_change
PanicMoodle Icon Panic.png
panic_change
FatigueMoodle Icon Tired.png
fatigue_change
EnduranceMoodle Icon Endurance.png
endurance_change
ColdMoodle Icon Cold.png
flu_change
PainMoodle Icon Pain.png
pain_change
SickMoodle Icon Sick.png
sick_change
AlcoholMoodle Icon Drunk.png
alcoholic
Sterilize powerDisinfection
alcohol_power
Antibiotic powerAntibiotics.png
reduce_infection_power
Bandage powerMoodle Icon Bleeding.png
bandage_power
WetnessMoodle Icon Wet.png
4% per unit
PoisonPoison
poison_power
Cooking
Time until cooked
cook_minutes minutes
Time until burned
burn_minutes minutes
Dangerous uncooked
Dangerous_uncooked
Bad microwaved
Bad_microwaved
Good hot
Good_hot
Bad cold
Bad_cold
Spice
Spice
Custom recipe
evolved_recipe
Crafting
Workstation
workstation
Tool(s)
tool
Ingredients
ingredients
Technical
Tags
tags
Item ID
item_id
GUID
guid
Media ID
media_id

Name and images

Parameter Description
Preferred Alternative Game files
name display_name DisplayName The name of the item. Displayed at the top of the infobox.
Default: uses page name
model image WorldStaticModel
WeaponSprite
The model of the item.
Default: uses the icon
model_width image_width The width of the model.
Default: 200px (128px if model is blank)
model_caption image_caption The caption of the model/image. Displayed beneath the image/model.
icon Icon
IconsForTexture
The icon of the item. For multiple icons, add any number from 2-16 to the parameter.
E.g. icon2.
icon_width The width of the icon. For multiple icons, use the same number as the icon parameter.
E.g. icon_width2.
icon_name The tooltip to be displayed when hovering over the icon. For multiple icons, use the same number as the icon parameter.
E.g. icon_name2
icon_link The link for the icon when clicked. For multiple icons, use the same number as the icon parameter.
E.g. icon_link2

General

Parameter Description
Preferred Alternative Game files
category DisplayCategory The in-game category for the item.
weight Weight The encumbrance (previously weight) of the item. Add up to 3 weights by appending a suffix id. E.g. weight2. Weight when equipped will be calculated automatically and added as a tooltip.
weight_text Text to append to the end of the weight value with the same suffix id. E.g. weight_text2.
weight_full The weight of the item when full.
Leaving blank will calculate the weight of a bag when full so long as capacity and weight_reduction are added. Weight organized and disorganized traits will be calculated automatically and added as a tooltip.
capacity Capacity The capacity of the item, to be used in the weight_full value, or displayed in the properties section.
May be for bags or "drainable" items.
weight_reduction WeightReduction The encumbrance reduction of the item. Used in calculating the weight when value.
body_location equipped BodyLocation body_location to be used for clothing.
equipped to be used for other items, like weapons.
attachment_type AttachmentType The slot the item is attached to. Typically used for weapons.
function primary_useDeprecated
secondary_useDeprecated
The item's function.
secondary_item OtherHandRequire Item to be equipped in the secondary hand for the item to function.
attachments_provided AttachmentsProvided The attachment slots provided by the item. Typical of belts.
weapon weaponsDeprecated MountOn Weapons that the item is used in. Multiple weapons can be set by using weapon2, weapon3, etc., up to weapon5.
Add a weapon using a wikilink ([[weapon]]) or an image ([[File:weapon_icon.png|link=weapon]]).
part_type PartType Part of the weapon that it is attached to.
skill_type Categories The skill the item is associated with. Typically used with weapons.
ammo_type ammo AmmoType The type of ammo used in the item/firearm.
clip_size MaxAmmo The maximum ammo the item can contain. Typically used for firearms and magazines.

Properties

Parameter Description
Preferred Alternative Game files
material FabricType
MetalValue
The material the item is made of. Usage is not strict. Intended use is for items with MetalValue, or FabricType (Cotton, Leather, or Denim).
material_value MetalValue How much of the material the item contains. The material parameter will be included in the group title.
contents Alternate to material, especially if the material is fuzzy, e.g. A water bottle can hold water or gas.
capacityContainer
max_unitsDrainable
UseDeltaDrainable
CountAmmo

1) max_units: The maximum units of a drainable item. Will automatically be calculated: 1/UseDelta.
2) capacityBox: Max number of rounds/items in a box. Tooltip will be added to the key if weight_text2=(box)
3) capacityContainer: Storage capacity. Tooltip will be added showing capacity with organized and disorganized traits.
4) If error, it'll display as the input, with no changes. This is in case it's not a valid number or max_units has already been calculated.

weight_reduction WeightReduction Encumbrance reduction of the item. Used to calculate the "Full encumbrance" value. Displayed as a percentage.
weight_reduction_text Extra text to be displayed next to weight_reduction. Typical usage: (full)
can_boil_water IsCookable
CanBoilWater
Set to TRUE if the item can be used to boil water.
consumed Set to TRUE if the item is consumed once used/depleted. Intended to be used for literature items only. Not to be used for food.
writable CanBeWrite Set to TRUE if the item can be written in.
recipes skill_trained TeachedRecipes
SkillTrained
The recipes or skills that are learned from the item (magazine or book).
page_number NumberOfPages
PageToWrite
Number of pages in the item.
vol_number Number of volumes for the series.
packaged Packaged Set to TRUE if the item is packaged. Unlocks ability to look at the nutritional content.
rain_factor RainFactor Determines how quickly an item can fill up with water if left out in the rain.
days_fresh DaysFresh The amount of days this item is recognized as "fresh". The unit "days" is appended after the value. Chilled and frozen calculated automatically and added as a tooltip.
days_rotten DaysTotallyRotten The amount of days before this item is recognized as "rotten". The unit "days" is appended after the value. Chilled and frozen calculated automatically and added as a tooltip.
cant_be_frozen CantBeFrozen
Set to true if the item can be frozen, delaying time before the food rots. Used in calculations for days_fresh and days_rotten tooltip.
condition_max ConditionMax The item's maximum condition, i.e. when it's fully repaired. Used in the calculation for "Base durability" if condition_lower_chance is defined.
condition_lower_chance ConditionLowerChanceOneIn The item's chance of lowering in durability. Used in the calculation for "Base durability".
base_durability ConditionMax×ConditionLowerChanceOneIn The average number of hits it will take before breaking, at level 0. See: Durability
run_speed RunSpeedModifier Run speed modifier. Note this is currently bugged/unimplemented, and has no in-game function.
combat_speed CombatSpeedModifier Combat speed modifier for clothing.
attack_speed BaseSpeed Base speed for weapons (previously the SwingTime attribute).
scratch_defense ScratchDefense Scratch defense modifier. Automatically converted to a percentage.
bite_defense BiteDefense Bit defense modifier. Automatically converted to a percentage.
bullet_defense BulletDefense Bullet defense modifier. Automatically converted to a percentage.
neck_protection NeckProtectionModifier Neck protection modifier. Automatically converted to a percentage.
insulation Insulation Insulation modifier. Automatically converted to a percentage.
wind_resistance WindResistance Wind resistance modifier. Automatically converted to a percentage.
water_resistance WaterResistance Water resistance modifier. Automatically converted to a percentage.
light_distance LightDistance The distance the light from the source will travel.
light_strength LightStrength The intensity/brightness of light the source provides.
torch_cone TorchCone Set to TRUE if the light from this item travels in a single direction, a.k.a torch cone.
wet_cooldown WetCooldown Time it takes to dry 1 wet_cooldown unit. Calculated based on the input and displayed in seconds.
sensor_range remote_range SensorRange
RemoteRange
How close an entity needs to be before the trap is triggered, or the distance the remote needs to be in order to trigger.
energy_source The energy source of the item. E.g. UsesBattery = TRUE would mean the energy source is a battery.
portable IsPortable Whether the item can be used while in the inventory, or if it must be placed on the ground in order to operate.
two_way TwoWay Whether the item can receive and transmit a signal.
mic_range MicRange Number of tiles the player must be within in order for the mic to transmit their voice.
transmit_range TransmitRange The distance in tiles the item will transmit
min_channel MinChannel The minimum bandwidth/frequency for selecting a channel.
max_channel MaxChannel The maximum bandwidth/frequency for selecting a channel.

Performance

Parameter Description
Preferred Alternative Game files
damage_type DamageCategory The type of damage this weapon does. The attribute used to define this has an order of priority, if it exists for the item.
  1. DamageCategory
  2. SubCategory
  3. Categories (ignore "Improvised")
  • Explosives should use common-sense for the damage type, e.g. Fire, Explosion, Smoke, Noise.
min_damage
max_damage
door_damage
tree_damage
damage_mod DamageModifier
min_range
max_range
min_range_mod
max_range_mod hit_chance
hit_chance_mod
accuracy_mod
recoil_delay recoil_mod
recoil_delay_mod
sound_radius
base_speed
push_back
knockdown
aiming_time aiming_time_mod
aiming_mod
reload_time reload_time_mod
reload_mod
crit_chance crit_multiplier
angle_mod spread_mod
kill_move
weight_mod
effect_type
effect_power
effect_range
effect_duration
effect_timer

Nutrition

Parameter Description
Preferred Alternative Game files
hunger_change HungerChange
HUN
The value of hunger that is changed from using/consuming this item.
thirst_change ThirstChange
THI
The value of thirst that is changed from using/consuming this item.
calories Calories The value of calories.
carbohydrates Carbohydrates The value of carbohydrates.
proteins Proteins The value of proteins.
lipids fat Lipids The value of lipids.

Effect

Parameter Description
Preferred Alternative Game files
unhappy_change UnhappyChange
UHP
The value of unhappiness that is changed from using/consuming this item.
boredom_change BoredomChange
BOR
The value of boredom that is changed from using/consuming this item.
stress_change StressChange
STS
The value of stress that is changed from using/consuming this item.
panic_change PAN The value of panic that is changed from using/consuming this item.
fatigue_change FatigueChange
FAT
The value of fatigue that is changed from using/consuming this item.
endurance_change EnduranceChange
END
The value of endurance that is changed from using/consuming this item.
flu_change FluReduction The value of flu/cold that is changed from using/consuming this item.
pain_change PainReduction
PAI
The value of pain that is changed from using/consuming this item.
sick_change ReduceFoodSickness
SIC
The value of sickness that is changed from using/consuming this item.
alcoholic alcohol Alcoholic
DRU
Whether this item is considered to be alcohol and therefore contributing to the drunk moodle.
alcohol_power AlcoholPower The alcohol power of this item when used on wounds.
reduce_infection_power ReduceInfectionPower How much the item reduces wound infection.
bandage_power BandagePower How effective the item is at absorbing blood, and how frequently it needs to be replaced.
wet_cooldown WetCooldown If this value is defined, the "Wetness" value will be displayed. Does not contribute to the value.
max_units UseDelta Displayed as "Wetness" if wet_cooldown is defined. Determines how much wetness is dried per unit. Displayed as a percentage.
poison_power PoisonPower The value of poison power attached to this item.

Cooking

Parameter Description
Preferred Alternative Game files
cook_minutes MinutesToCook How long it takes before this item is "cooked". The unit "minutes" is appended after the value.
burn_minutes MinutesToBurn How long it takes before this item is "burnt". The unit "minutes" is appended after the value.
dangerous_uncooked DangerousUncooked Set to TRUE if the item can make the player sick if consumed before cooking it.
bad_microwaved BadInMicrowave Set to TRUE if this item is of a poorer quality when cooked in a microwave.
good_hot GoodHot Set to TRUE if this item is of a superior quality when consumed hot.
bad_cold BadCold Set to TRUE if this item is of a poorer quality when consumed cold.
spice Spice Set to TRUE if this item is considered a "spice" in cooking recipes.
evolved_recipe EvolvedRecipeName The name of the item used in evolved recipes. Not a list of recipes this can be used in.

Crafting

Parameter Description
Preferred Alternative Game files
workstation The workstation/tile needed to craft the item.
tool The tool needed to craft the item. Up to 6 different tools can be defined, by adding a suffix id to the end of the parameter, e.g. tool2.
tool_tag The tag of the tool needed to craft the item. Up to 6 different tools can be defined, by adding a suffix id to the end of the parameter, e.g. tool_tag2. Will not work if tool with the same suffix id is defined.
ingredients List of ingredients required to craft the tile. Each entry should be a link to the item and separated by <br>, e.g. 2×[[Planks]]<br>4×[[Nails]].

Technical

Parameter Description
Preferred Alternative Game files
tags Tags The Tags attributes for the item, that are used to define/group its functionality. Each value should be separated by <br>
tag Tags The Tags attributes for the item, which will automatically create a link to Item tags. Up to 6 different tags can be defined, by adding a suffix id to the end of the parameter, e.g. tag2. Will not work if tags is already defined.
item_id class_nameDeprecated [module].[type] The ID of the item. The format is [module].[type]. This can be found in-game with debug, in the item list. Otherwise, in the item scripts where [module] is the name of the outermost block, e.g. Base, radio, farming, camping.
Multiple item IDs can be set by either: separating with <br> or adding a 'suffix id' to the end (up to 10), e.g. item_id2.
item_id_more If there are too many item IDs to be listed in the infobox, this can be used to define a link to a section on the page. E.g. item_id_more=Item IDs, will link to the "Item IDs" section on that page.
guid The "GUID" is a unique identifier used for some items to be used in various systems. For clothing this is found in fileGuidTable.xml.
guid_more If there are too many GUIDs to be listed in the infobox, this can be used to define a link to a section on the page. E.g. guid_more=Item IDs, will link to the "Item IDs" section on that page.
media_id The media ID for recorded media. Found in recorded_media.lua.
E.g. 89108e07-fc70-4eec-a267-790d6f4b9831 for CD: Your smile. Your kiss.

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
<!-- Section: General -->
| general = General
| category = Category
| weight = Encumbrance
| weight_equipped = when equipped
| empty = empty
| full = full
| with_organized = with organized trait.
| with_disorganized = with disorganized trait.
| equipped = Equipped
| slot_attached = Slot attached
| back = Back
| belt = Belt
| holster = Holster
| n-a = N/A
| n-a_slot_desc = This item cannot be attached to any slot.
| function = Function
| secondary = Secondary
| slots_added = Slots added
| used_in = Used in
| part_type = Part type
| skill = Skill
| n-a_skill_desc = This item has no skill associated with it.
| ammunition = Ammunition
| clip_size = Magazine size
<!-- Section: Properties -->
| properties = Properties
| material = Material
| quantity = quantity
| contents = Contents
| capacity = Capacity
| ammo = Ammo
| round = round
| rounds = rounds
| box = (box)
| box_capacity_desc = Number of items when combined into a box.
| units = units
| can_boil_water = Can boil water
| consumed = Consumed
| writable = Writable
| recipes = Skills learned
| total_pages = Total pages
| page = page
| pages = pages
| total_volumes = Total volumes
| volume = volume
| volumes = volumes
| packaged = Packaged
| packaged_desc = Nutritional information always known
| rain_factor = Rain factor
| days_fresh = Days fresh
| days_rotten = Days until rotten
| days = days
| condition_max = Condition max.
| base_durability = Base durability
| base_durability_desc = Average number of hits before breaking at level 0.
| run_speed = Run speed
| combat_speed = Combat speed
| scratch_defense = Scratch defence
| bite_defense = Bite defence
| bullet_defense = Bullet defence
| neck_protection = Neck protection
| insulation = Insulation
| wind_resistance = Wind resistance
| water_resistance = Water resistance
| light_distance = Light distance
| light_strength = Light strength
| torch_cone = Torch cone
| wet_cooldown = Wet cooldown
| second = second
| seconds = seconds
| sensor_range = Sensor range
| tile = tile
| tiles = tiles
| energy_source = Energy source
| portable = Portable
| two_way = Two-way
| mic_range = Mic range
| transmit_range = Transmit range
| frequency_range = Frequency range
<!-- Section: Performance -->
| performance = Performance
| damage_type = Damage type
| damage = Damage
| door_damage = Door damage
| tree_damage = Tree damage
| range = range
| min_range = Min range
| max_range = Max range
| accuracy = Accuracy
| recoil = Recoil
| noise_radius = Noise radius
| attack_speed = Attack speed
| knockback = Knockback
| knockdown = Knockdown
| aiming_time = Aiming time
| reload_time = Reload time
| crit_chance = Crit chance
| crit_chance_desc = Damage multiplied by {{{2}}}
| spread = Spread
| special_ability = Special ability
| encumbrance_mod = Encumbrance mod.
| effect_power = {{{2|Effect}}} power
| effect_range = {{{2|Effect}}} range
| effect_duration = {{{2|Effect}}} duration
| minutes = minutes
| effect_timer = {{{2|Effect}}} timer
<!-- Section: Nutrition -->
| nutrition = Nutrition
| hunger = Hunger
| thirst = Thirst
| calories = Calories
| carbohydrates = Carbohydrates
| proteins = Proteins
| fat = Fat
<!-- Section: Effect -->
| effect = Effect
| unhappiness = Unhappiness
| boredom = Boredom
| stress = Stress
| panic = Panic
| enburance = Endurance
| fatigue = Fatigue
| cold = Cold
| pain = Pain
| sick = Sick
| alcohol = Alcohol
| sterilize_power = Sterilize power
| disinfection = Disinfection
| antibiotics_power = Antibiotic power
| infections = Infections
| bandage_power = Bandage power
| wetness = Wetness
| wetness_desc = Dries 4% of total wetness per unit
| poison = Poison
<!-- Section: Cooking -->
| cooking = Cooking
| time_until_cooked = Time until cooked
| minutes = minutes
| time_until_burned = Time until burned
| dangerous_uncooked = Dangerous uncooked
| bad_microwaved = Bad microwaved
| goot_hot = Good hot
| bad_cold = Bad cold
| spice = Spice
| custom_recipe = Custom recipe
<!-- Section: Crafting -->
| crafting = Crafting
| workstation = Workstation
| tools = Tool(s)
| ingredients = Ingredients
<!-- Section: Technical -->
| technical = Technical
| tags = Tags
| item_id = Item ID
| guid = GUID
| media_id = Media ID
| #default = {{Error|translation}}
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.