Template:Item
Usage
{{Item |name=Anguish |class_id=handgun |damage=17.5 |rps=1.7 |magazine=5 |accuracy=95 |ideal=18 |falloff=35 |ammo=30 |crit=5 |weakspot=100 |stagger=0 |description=Fires heated bits of molten slag. Can be charged to fire a single explosive rod at the cost of causing damage to the wielder while charging. |mod=Loath The Weak |cats=Special weapons }}
Example
Template Data
Template used to display an item infobox, automate categories, and stores information for back-end use. Relevant information is stored into Cargo.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The item's name exactly as spelled in-game.
| String | required |
image | image | Direct file link to override the default image
| String | optional |
class_id | class_id | The item's class in lowercase and underlines instead of spaces.
| String | required |
description | description | Descriptive text shown when hovering the item.
| Content | optional |
damage | damage | no description
| Number | optional |
rps | rps | no description
| Number | optional |
magazine | magazine | no description
| Number | optional |
accuracy | accuracy | An estimated percentage value of a weapon accuracy bar.
| Number | optional |
ideal | ideal | The weapon's ideal range.
| Number | optional |
falloff | falloff | The weapon's falloff range.
| Number | optional |
ammo | ammo | Max ammo
| Number | optional |
crit | crit | Critical Hit Chance
| Number | optional |
weakspot | weakspot | no description | Unknown | optional |
stagger | stagger | Stagger Modifier
| Number | optional |
mod | mod | The exact name of the weapon mod.
| Page name | optional |
armor | armor | no description | Number | optional |
weight | weight | no description | Number | optional |
bleed_res | bleed_res | no description | Number | optional |
fire_res | fire_res | no description | Number | optional |
shock_res | shock_res | no description | Number | optional |
corrosive_res | corrosive_res | no description | Number | optional |
blight_res | blight_res | no description | Number | optional |
ignore_default_cats | ignore_default_cats | Ignores the categories set by default, instead only taking in specified "cats" | Boolean | optional |
cats | cats | A comma-separated list of additional categories to add to an item on top of automatically added ones.
| String | optional |
tags | tags | A comma separated list with any helpful tags to help define the item.
| String | optional |
test | test | Hides both categories and disables Cargo stores. Use this on test pages. | Boolean | optional |