More actions
No edit summary |
No edit summary |
||
Line 16:
|label4 = Price
|data4 = {{#if: {{{price|}}} | {{formatnum: {{{price}}} }} }}
|rowclass4 = data-price infobox-data infobox-col2
|header5 = {{#if: {{{weapontype|}}}{{{damage|}}}{{{reloadspeed|}}}{{{zoom|}}}{{{range|}}}{{{ammo|}}}{{{magazinecapacity|}}} | Firearm stats }}
|rowclass5 = infobox-header
|label6 = Weapon type
|data6 = {{#if: {{{weapontype|}}} | {{{weapontype}}} }}
|rowclass6 = data-
|label7 = Damage
|data7 = {{#if: {{{damage|}}} | {{{damage}}} }}
|rowclass7 = data-damage infobox-data infobox-col2
|label8 = Reload speed
|data8 = {{#if: {{{reloadspeed|}}} | {{{reloadspeed}}} }}
|rowclass8 = data-reloadspeed infobox-data infobox-col2
|label9 = Zoom
|data9 = {{#if: {{{zoom|}}} | {{{zoom}}} }}
|rowclass9 = data-zoom infobox-data infobox-col2
|label10 = Range
|data10 = {{#if: {{{range|}}} | {{{range}}} }}
|rowclass10 = data-range infobox-data infobox-col2
|label11 = Ammo
|data11 = {{#if: {{{ammo|}}} | {{{ammo}}} }}
|rowclass11 = data-ammo infobox-data infobox-col2
|label12 = Magazine capacity
|data12 = {{#if: {{{magazinecapacity|}}} | {{{magazinecapacity}}} }}
|rowclass12 = data-magazinecapacity infobox-data infobox-col2
}}</includeonly>
|
Revision as of 17:08, 2 May 2022
{{Infobox item}} is an infobox template for use in articles on items.
TemplateData
An infobox template for use in articles on items
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | File name of the image of the item
| File | suggested |
Name | name | Name of the item
| String | required |
Type | type | Type of the item (Weapon, Commodity)
| String | required |
Buy price | buyprice | Base buying price
| Number | optional |
Sell price | sellprice | Base selling price
| Number | optional |
Max stack | maxstack | Maximum stack size | Number | optional |
Slot | slot | Equipment slot | String | optional |
Description | description | In-game description (from tooltip)
| String | optional |
Requirements | userequirements | Requirements to use item
| String | optional |
Effect | useeffect | Use effect
| String | optional |
Used for | usedfor | Use case for a tool
| String | optional |
Caliber | caliber | Caliber of ammo
| String | optional |
Weapon type | weapontype | Type of a weapon (Revolver)
| String | optional |
Damage | damage | Physical damage of a weapon (poor quality)
| Number | optional |
Projectile damage | damageprojectile | Damage of firearms (poor quality) | Number | optional |
Piercing damage | damageignorearmor | Damage ignoring armor (poor quality) | Number | optional |
Poison damage | damagepoison | (poor quality) | Number | optional |
Fire damage | damagefire | (poor quality) | Number | optional |
Speed | attackspeed | Attack speed of a weapon
| Number | optional |
Zoom | zoom | Zoom of a weapon ("2" means "2x")
| Number | optional |
Range | range | Range of a weapons, in meters
| Number | optional |
Crit chance | critchance | Chance of a critical hit
| Number | optional |
Block chance | blockchance | Block chance of the item, in percent
| Number | optional |
Ammo | ammo | Ammo type of a weapon
| String | optional |
Magazine capacity | magazinecapacity | Magazine capacity of a weapon
| Unknown | optional |
Defense | defense | Defense value of equipment (poor quality)
| Number | optional |
Projectile defense | defenseprojectile | Defense against projectiles (poor quality) | Number | optional |
Poison defense | defensepoison | Defense against poison (poor quality) | Number | optional |
Fire defense | defensefire | Defense against fire (poor quality) | Number | optional |
Radiation defense | defenseradiation | Defense against radiation (poor quality) | Number | optional |
Article description | articledescription | In-game description (shows in article) | Unknown | optional |
Article content | articlecontent | Content for the article outside of the infobox | Unknown | optional |