Modèle:Item Infobox

De Foxhole Wiki
Aller à la navigation Aller à la recherche
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.
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
damage_multiplier2 Damage multiplier for the weapon's other fire mode.
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.
fire_rate2 Fire rate for the weapon's other fire mode
firing_time The duration of the firing animation in seconds. Only for weapons firing projectiles and not bullets.
range_effective The effective range of a weapon measured in meters from the end of the barrel. Appends meters
range_effective2 The effective range for the weapon's other fire mode
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.
reload The time to reload a single shell/projectile, or one magazine. Does not include the duration of the firing animation.
encumbrance The encumbrance percentage of the item. Appends %
encumbrance_worn The encumbrance percentage of the item when worn if it differs from when stored in the backpack. Appends %
volume The number of litres of liquid the item holds. Appends L
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.
HalfAngleMin2 The maximum accuracy of the firearm's other fire mode, expressed as the half-angle of the firing cone.
HalfAngleMax The minimum accuracy of the firearm, expressed as the half-angle of the firing cone.
HalfAngleMax2 The minimum accuracy of the firearm's other fire mode, expressed as the half-angle of the firing cone.
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 = 
}}

Ce modèle définit la table « itemdata ». Afficher la table.