Template:Item Infobox

From Foxhole Wiki
Jump to navigation Jump to search
Template-info.png Documentation

Parameters

Note: Everything related to item production has been moved to the Production page and uses Cargo Tables.

Parameter Description
name Name of the item.
image Image file name with no markup. E.g. Crane.png
faction Displays the faction that can construct the item. Defaults to both factions being able to construct the item, with three options for changing it. Col = Colonial, War = Warden, and Both = Both. Use Both for things that both factions can use.
type The type of item it is.
category In which category this item is (Small Arms, Heavy Arms, Heavy Ammunition, Utility, Medical, Resource, Uniforms).
slot Which equipment slot the item uses. Large Items go in slot 8.
ammo The type of ammo used by the weapon. 8mm, RPG Shell, etc. If multiple, use ammo2 and ammo3 below.
ammo2 The second type of ammo used by the weapon.
ammo3 The third type of ammo used by the weapon.
uses What the item is used for.
damage Base damage done by the ammo. Leave blank for weapons using ammo. Value must be an Integer (e.g. 16).
damage_rng Whether the ammo has rng on its damage. Value is Yes or nothing. Leave blank for weapons using ammo.
damage_type Type of damage done by the item. Light Kinetic etc. Leave blank for weapons using ammo.
damage_multiplier Damage multiplier for the weapon. Leave blank for ammo and for weapons that do not use ammunition. Value must be a Float (e.g. 23.8).
damage_multiplier2 Damage multiplier for the weapon's other fire mode. Value must be a Float (e.g. 23.8).
fire_rate Fire rate measured in rounds/min. For firearms with magazines this is the fire rate excluding reloading, while projectile weapons will include reloading. Automatically appends rounds/min at end of text. Value must be a Float (e.g. 23.8).
fire_rate2 Fire rate for the weapon's other fire mode. Value must be a Float (e.g. 23.8).
firing_time The duration of the firing animation in seconds. Only for weapons firing projectiles and not bullets. Value must be a Float (e.g. 23.8).
range_effective The effective range of a weapon measured in meters from the end of the barrel. Appends meters automatically. Value must be a Float (e.g. 23.8).
range_effective2 The effective range for the weapon's other fire mode. Value must be a Float (e.g. 23.8).
range_max The maximum range of a weapon measured in meters from the end of the barrel. Appends meters
range_max2 The maximum range for the weapon's other fire mode
magazine Amount of ammo per magazine. Leave blank for single projectile weapons. Value must be Integer (e.g. 14).
reload The time to reload a single shell/projectile, or one magazine. Does not include the duration of the firing animation. Value must be Integer (e.g. 14).
encumbrance The encumbrance percentage of the item. Appends % automatically. Value must be a Float (e.g. 18.2)
encumbrance_worn The encumbrance percentage of the item when worn if it differs from when stored in the backpack. Appends % automatically. Value must be a Float (e.g. 18.2)
volume The number of litres of liquid the item holds. Appends L automatically. Value must be an Integer (e.g. 16)
firing_mode To specify the particular firing mode(s). Possible values are: Thrown, Launched, Thrown/Launched, Automatic, Semi-automatic, Auto / Semi, 3-round burst, or nothing (default value).
HalfAngleMin The maximum accuracy of the firearm, expressed as the half-angle of the firing cone. Value must be a Float (e.g. 23.8).
HalfAngleMin2 The maximum accuracy of the firearm's other fire mode, expressed as the half-angle of the firing cone. Value must be a Float (e.g. 23.8).
HalfAngleMax The minimum accuracy of the firearm, expressed as the half-angle of the firing cone. Value must be a Float (e.g. 23.8).
HalfAngleMax2 The minimum accuracy of the firearm's other fire mode, expressed as the half-angle of the firing cone. Value must be a Float (e.g. 23.8).
crate_amount The amount of this item type inside a crate. Leave empty for Factory produced items.
status To specify special circumstances of an item. Possible values are: Unavailable, Relic, or nothing (default value).

Usage

{{Item Infobox
|name = 
|image = 
|faction = 
|type = 
|category =
|damage = 
|damage_rng
|damage_type = 
|fire_rate = 
|range_effective = 
|range_max = 
|magazine = 
|reload = 
|ammo = 
|encumbrance = 
|volume = 
|slot = 
}}

This template defines the table "itemdata". View table.