Template:Infobox Weapon
The template only requires a single entry for weight (as weight is unaffected by quality) and ★ (lowest quality) scrap value of the item. The template will automatically calculate ★★ and ★★★ scrap values of the item.
NOTE: For ALL templates - If a parameter does not actually have any data to go into it, leave it out entirely
Template Syntax examples
Melee Weapons
{{Infobox Weapon | ItemName = Melee Weapon name | Image = Weapon image | Description = Weapon Description | Function = Function (the weapon / grenade use description) | PreReq = Prerequisites to crafting the weapon | ReqStat = Required stat to use (strength, dexterity etc) | ReqLevel = Minimum level of the stat required | MeleeDmgType = Damage type | MeleeDmg = Amount of damage (min-max) | MeleeAcc = Accuracy amount (80%, +20% etc) | MeleeStamina = Stamina cost to use in melee | MeleeEffect1 = First effect the weapon can apply in melee | MeleeEffect1Target = Target (body area, person etc) required to apply the effect (such as chest often for winded) | MeleeEffect1Chance = Chance to apply the first effect | MeleeEffect2 = Second effect the weapon can apply in melee | MeleeEffect2Target = Target (body area, person etc) required to apply the effect | MeleeEffect2Chance = Chance to apply the second effect | MeleeEffect3 = Third effect the weapon can apply in melee | MeleeEffect3Target = Target (body area, person etc) required to apply the effect | MeleeEffect3Chance = Chance to apply the third effect | Weight = Weight (number) | Value = Scrap value (of {{Icon|Type=Quality1}} variant) | Ingredients = 1x [[PlaceholderIngredients | Placeholder Ingredient2]] {{Icon|Type=Quality1}}'s<br/> 1x [[PlaceholderIngredients | Placeholder Ingredient3]] {{Icon|Type=Quality1}}'s | Sources = [[PlaceholderSource | Placeholder Source]] | Locations = [[PlaceholderLocation | Placeholder Location]] [[PlaceholderLocation | Placeholder Location]] | Items = [[Weapons/Bladed Baseball Bat|Bladed Baseball Bat]] | Recycle = Items that can be recycled to obtain the {{Icon|Type=Quality2}} of this (usually an upgraded weapon) | RecycleArmoury = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s | RecycleArmouryTime = Time taken to recycle at the armoury (leave blank for default) | RecycleMakeshift = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s | RecycleMakeshiftTime = Time taken to recycle at the makeshift recycler (leave blank for default) | RecycleRecycler = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s | RecycleRecyclerTime = Time taken to recycle at the recycler (leave blank for default) }}
Ranged Weapons
{{Infobox Weapon | ItemName = Ranged Weapon name | Image = Weapon image | Description = Weapon Description | Function = Function (the weapon / grenade use description) | PreReq = Prerequisites to crafting the weapon | ReqStat = Required stat to use (strength, dexterity etc) | ReqLevel = Minimum level of the stat required | RangedDmgType = Damage type (Leave blank as firearms default to ...bullet?) | RangedDmg = Amount of damage (min-max) | RangedAcc = Accuracy amount (80%, +20% etc) | RangedAmmoType = Item name of ammunition used (Pistol Ammo, Rifle Ammo, Crossbow Bolt etc) | RangedAmmo = Max magazine size (number) the weapon can hold | RangedStamina = Stamina cost to use at range | RangedEffect1 = First effect the weapon can apply at range | RangedEffect1Target = Target (body area, person etc) required to apply the effect (such as chest often for winded) | RangedEffect1Chance = Chance (raw number, 20, 50, etc - do not include %) to apply the first effect | RangedEffect2 = Second effect the weapon can apply at range | RangedEffect2Target = Target (body area, person etc) required to apply the effect | RangedEffect2Chance = Chance (raw number, 20, 50, etc - do not include %) to apply the second effect | RangedEffect3 = Third effect the weapon can apply at range | RangedEffect3Target = Target (body area, person etc) required to apply the effect | RangedEffect3Chance = Chance (raw number, 20, 50, etc - do not include %) to apply the third effect | MeleeDmgType = Damage type (firearms default to blunt) | MeleeDmg = Amount of damage (min-max) | MeleeAcc = Accuracy amount (80%, +20% etc) | MeleeStamina = Stamina cost to use in melee | MeleeEffect1 = First effect the weapon can apply in melee | MeleeEffect1Target = Target (body area, person etc) required to apply the effect (such as chest often for winded) | MeleeEffect1Chance = Chance (raw number, 20, 50, etc - do not include %) to apply the first effect | MeleeEffect2 = Second effect the weapon can applyin melee | MeleeEffect2Target = Target (body area, person etc) required to apply the effect | MeleeEffect2Chance = Chance (raw number, 20, 50, etc - do not include %) to apply the second effect | MeleeEffect3 = Third effect the weapon can applyin melee | MeleeEffect3Target = Target (body area, person etc) required to apply the effect | MeleeEffect3Chance = Chance (raw number, 20, 50, etc - do not include %) to apply the third effect | Weight = Weight (number) | Value = Scrap value (of {{Icon|Type=Quality1}} variant) | Ingredients = 1x [[PlaceholderIngredients | Placeholder Ingredient2]] {{Icon|Type=Quality1}}'s<br/> 1x [[PlaceholderIngredients | Placeholder Ingredient3]] {{Icon|Type=Quality1}}'s | Sources = [[PlaceholderSource | Placeholder Source]] | Locations = [[PlaceholderLocation | Placeholder Location]] [[PlaceholderLocation | Placeholder Location]] | Items = [[PlaceholderWeapon | Placeholder Weapon]] | Recycle = Items that can be recycled to obtain the {{Icon|Type=Quality2}} of this (usually an upgraded weapon) | RecycleArmoury = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s | RecycleArmouryTime = Time taken to recycle at the armoury (leave blank for default) | RecycleMakeshift = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s | RecycleMakeshiftTime = Time taken to recycle at the makeshift recycler (leave blank for default) | RecycleRecycler = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s | RecycleRecyclerTime = Time taken to recycle at the recycler (leave blank for default)
Template output examples
Melee Weapons
Ranged Weapons
Template Call examples
Ranged Weapons
{{Infobox Weapon | ItemName = Baseball Bat | Image = ItemWeaponsBaseballBat.webp | Description = A lathed piece of wood, with a tapered shape. Its original purpose was to hit balls. | Function = Equip as a weapon on [[Locations/Expeditions|expeditions]] or during a [[Shelter/Breach|breach]]. | ReqStat = Strength | ReqLevel = 6 | RangedDmgType = Blunt | RangedDmg = 23-35 | RangedAcc = +20% | RangedStamina = 4 | RangedEffect1 = Bleeding | RangedEffect1Chance = 20% | RangedEffect2 = Winded | RangedEffect2Chance = 10% | RangedEffect2Target = Torso | Weight = 5 | Value = 10 | Ingredients = 1x [[PlaceholderIngredients | Placeholder Ingredient2]] {{Icon|Type=Quality1}}'s<br/> 1x [[PlaceholderIngredients | Placeholder Ingredient3]] {{Icon|Type=Quality1}}'s | Sources = | Locations = [[Locations/Church|Church]]<br/> [[Locations/Park|Park]]<br/> [[Locations/Scrap Yard|Scrap Yard]] | Items = [[Weapons/Bladed Baseball Bat|Bladed Baseball Bat]] | RecycleArmoury = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s | RecycleMakeshift = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s | RecycleRecycler = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s }}
Ranged Weapons
{{Infobox Weapon | ItemName = Rifle | Image = ItemWeaponsRifle.webp | Description = A gun with a long, rifled barrel which takes rifle ammo. | Function = Equip as a weapon on [[Locations/Expeditions|expeditions]] or during a [[Shelter/Breach|breach]]. | ReqStat = Dexterity | ReqLevel = 14 | RangedDmgType = Bullet | RangedDmg = 80-100 | RangedAcc = 80% | RangedStamina = 2 | RangedAmmo = 3 | RangedAmmoType = Rifle Ammo | RangedEffect1 = Bleeding | RangedEffect1Chance = 80% | MeleeDmgType = Blunt | MeleeDmg = 20-25 | MeleeAcc = +0% | MeleeStamina = 4 | MeleeEffect1 = Bleeding | MeleeEffect1Chance = 20% | Weight = 25 | Value = 50 | Ingredients = 1x [[PlaceholderIngredients | Placeholder Ingredient2]] {{Icon|Type=Quality1}}'s<br/> 1x [[PlaceholderIngredients | Placeholder Ingredient3]] {{Icon|Type=Quality1}}'s | Sources = | Locations = [[Locations/Church|Church]]<br/> [[Locations/Park|Park]]<br/> [[Locations/Scrap Yard|Scrap Yard]] | Items = [[Weapons/Bladed Baseball Bat|Bladed Baseball Bat]] | RecycleArmoury = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s | RecycleMakeshift = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s | RecycleRecycler = 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s<br/> 1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s }}
Template Data
Infobox for all weapons
Parameter | Description | Type | Status | |
---|---|---|---|---|
ItemName | ItemName | Name of the weapon
| String | required |
Image | Image | Image file for the equipment item
| File | suggested |
ImageCaption | ImageCaption | Image caption (if any) | String | optional |
Description | Description | In-game description for the equipment item
| String | suggested |
Function | Function | Special effect or use of the item, or other special note (if any)
| String | suggested |
PreReq | PreReq | Prerequisite for unlocking the item
| String | suggested |
ReqStat | ReqStat | Stat required to use this weapon
| String | suggested |
ReqLevel | ReqLevel | Stat level required to use this weapon
| Number | suggested |
RangedDmg | RangedDmg | Amount of ranged damage the weapon does
| String | suggested |
RangedDmgType | RangedDmgType | What type damage the weapon does at range
| String | suggested |
RangedAcc | RangedAcc | Accuracy when used at range
| String | suggested |
RangedStamina | RangedStamina | Stamina cost when used at range
| Number | suggested |
RangedAmmoType | RangedAmmoType | Ammo type for the firearm (name of the item it is loaded with)
| String | suggested |
RangedAmmo | RangedAmmo | Maximum magazine capacity of the firearm
| Number | suggested |
RangedEffect1 | RangedEffect1 | First effect type when using at range (such as bleeding, winded etc)
| String | suggested |
RangedEffect1Target | RangedEffect1Target | First effects required body area target (such as head, chest) (leave blank if it doesn't require one) or other effect target if fixed
| String | suggested |
RangedEffect1Chance | RangedEffect1Chance | Chance of applying the first effect (if any) on hit
| Number | suggested |
RangedEffect2 | RangedEffect2 | Second effect type when using at range (such as bleeding, winded etc) (if any)
| String | suggested |
RangedEffect2Target | RangedEffect2Target | Second effects required body area target (such as head, chest) (leave blank if it doesn't require one) or other effect target if fixed
| String | suggested |
RangedEffect2Chance | RangedEffect2Chance | Chance of applying the second effect (if any) on hit
| Number | suggested |
RangedEffect3 | RangedEffect3 | Third effect type when using at range (such as bleeding, winded etc) (if any)
| String | suggested |
RangedEffect3Target | RangedEffect3Target | Third effects required body area target (such as head, chest) (leave blank if it doesn't require one) or other effect target if fixed
| String | suggested |
RangedEffect3Chance | RangedEffect3Chance | Chance of applying the third effect (if any) on hit
| Number | suggested |
MeleeDmg | MeleeDmg | Amount of melee damage the weapon does
| String | suggested |
MeleeDmgType | MeleeDmgType | What type damage the weapon does in melee
| String | suggested |
MeleeAcc | MeleeAcc | Accuracy when used in melee
| String | suggested |
MeleeStamina | MeleeStamina | Stamina cost when used in melee
| Number | suggested |
MeleeEffect1 | MeleeEffect1 | First effect type when using in melee (such as bleeding, winded etc)
| String | suggested |
MeleeEffect1Target | MeleeEffect1Target | First effects required body area target (such as head, chest) (leave blank if it doesn't require one) or other effect target if fixed
| String | suggested |
MeleeEffect1Chance | MeleeEffect1Chance | Chance of applying the first effect (if any) on hit
| Number | suggested |
MeleeEffect2 | MeleeEffect2 | Second effect type when using in melee (such as bleeding, winded etc) (if any)
| String | suggested |
MeleeEffect2Target | MeleeEffect2Target | Second effects required body area target (such as head, chest) (leave blank if it doesn't require one) or other effect target if fixed
| String | suggested |
MeleeEffect2Chance | MeleeEffect2Chance | Chance of applying the second effect (if any) on hit
| Number | suggested |
MeleeEffect3 | MeleeEffect3 | Third effect type when using in melee (such as bleeding, winded etc) (if any)
| String | suggested |
MeleeEffect3Target | MeleeEffect3Target | Third effects required body area target (such as head, chest) (leave blank if it doesn't require one) or other effect target if fixed
| String | suggested |
MeleeEffect3Chance | MeleeEffect3Chance | Chance of applying the third effect (if any) on hit
| Number | suggested |
Weight | Weight | Weight of the item
| Number | required |
Value | Value | ★ value of this item
| Number | suggested |
Fuel | Fuel | Fuel value of this item (if it has one). Values less than or equal to 1 will not be displayed
| Number | suggested |
Ingredients | Ingredients | List of items used to craft this
| String | suggested |
Items | Items | List of items this is used to craft
| String | suggested |
Objects | Objects | List of objects the fixed quality of this is used to craft
| String | suggested |
Sources | Sources | List of general sources the fixed quality of this can be found at
| String | suggested |
Locations | Locations | List of locations this can be found at
| String | suggested |
Recycle | Recycle | List of items this can be recycled to return
| String | suggested |
RecycleArmoury | RecycleArmoury | List of items this item will recycle into using an armoury
| String | suggested |
RecycleArmouryTime | RecycleArmouryTime | How long (in hours) it takes to recycle this item using an armoury
| Number | suggested |
RecycleMakeshift | RecycleMakeshift | List of items this item will recycle into using a makeshift recycler
| String | suggested |
RecycleMakeshiftTime | RecycleMakeshiftTime | How long (in hours) it takes to recycle this item using a makeshift recycler
| Number | suggested |
RecycleRecycler | RecycleRecycler | List of items this item will recycle into using a recycler
| String | suggested |
RecycleRecyclerTime | RecycleRecyclerTime | How long (in hours) it takes to recycle this item using a recycler
| Number | suggested |