No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
|rowclass4 = data-price infobox-data infobox-col2 |
|rowclass4 = data-price infobox-data infobox-col2 |
||
| |
|label5 = Max stack |
||
| |
|data5 = {{#if: {{{maxstack|}}} | {{formatnum: {{{maxstack}}} }} }} |
||
| |
|rowclass5 = data-maxstack infobox-data infobox-col2 |
||
| |
|label6 = Slot |
||
| |
|data6 = {{#if: {{{slot|}}} | {{{slot}}} }} |
||
| |
|rowclass6 = data-slot infobox-data infobox-col2 |
||
| |
|label7 = Description |
||
| |
|data7 = {{#if: {{{description|}}} | {{{description}}} }} |
||
| |
|rowclass7 = data-description infobox-data infobox-col2 |
||
| |
|label8 = Requirements |
||
| |
|data8 = {{#if: {{{userequirements|}}} | {{{userequirements}}} }} |
||
| |
|rowclass8 = data-userequirements infobox-data infobox-col2 |
||
| |
|label9 = Effect |
||
| |
|data9 = {{#if: {{{useeffect|}}} | {{{useeffect}}} }} |
||
| |
|rowclass9 = data-useeffect infobox-data infobox-col2 |
||
| |
|label10 = Used for |
||
| |
|data10 = {{#if: {{{usedfor|}}} | {{{usedfor}}} }} |
||
| |
|rowclass10 = data-usedfor infobox-data infobox-col2 |
||
| |
|label11 = Calibre |
||
| |
|data11 = {{#if: {{{calibre|}}} | {{{calibre}}} }} |
||
| |
|rowclass11 = data-calibre infobox-data infobox-col2 |
||
| |
|header20 = {{#if: {{{weapontype|}}}{{{damage|}}}{{{reloadspeed|}}}{{{zoom|}}}{{{range|}}}{{{ammo|}}}{{{magazinecapacity|}}} | Firearm stats }} |
||
| |
|rowclass20 = infobox-header |
||
| |
|label21 = Weapon type |
||
| |
|data21 = {{#if: {{{weapontype|}}} | {{{weapontype}}} }} |
||
| |
|rowclass21 = data-weapontype infobox-data infobox-col2 |
||
| |
|label22 = DPS |
||
| |
|data22 = {{#if: {{{damage|}}}{{{attackspeed|}}} | {{#expr: {{{damage}}}/{{{attackspeed}}} round 2 }} }} |
||
| |
|rowclass22 = data-dps infobox-data infobox-col2 |
||
| |
|label23 = Damage |
||
| |
|data23 = {{#if: {{{damage|}}} | {{{damage}}} }} |
||
| |
|rowclass23 = data-damage infobox-data infobox-col2 |
||
| |
|label24 = Attack speed |
||
| |
|data24 = {{#if: {{{attackspeed|}}} | {{{attackspeed}}} }} |
||
| |
|rowclass24 = data-attackspeed infobox-data infobox-col2 |
||
| |
|label25 = Zoom |
||
| |
|data25 = {{#if: {{{zoom|}}} | {{{zoom}}}x }} |
||
| |
|rowclass25 = data-zoom infobox-data infobox-col2 |
||
| |
|label26 = Range |
||
| |
|data26 = {{#if: {{{range|}}} | {{{range}}} meters }} |
||
| |
|rowclass26 = data-range infobox-data infobox-col2 |
||
| |
|label27 = Ammo |
||
| |
|data27 = {{#if: {{{ammo|}}} | {{{ammo}}} }} |
||
| |
|rowclass27 = data-ammo infobox-data infobox-col2 |
||
| |
|label28 = Magazine capacity |
||
| |
|data28 = {{#if: {{{magazinecapacity|}}} | {{{magazinecapacity}}} rounds }} |
||
| |
|rowclass28 = data-magazinecapacity infobox-data infobox-col2 |
||
| |
|header40 = {{#if: {{{defense|}}} | Equipment stats }} |
||
| |
|rowclass40 = infobox-header |
||
| |
|label41 = Defense |
||
| |
|data41 = {{#if: {{{defense|}}} | {{{defense}}} }} |
||
| |
|rowclass41 = data-defense infobox-data infobox-col2 |
||
|header100 = <span></span> |
|header100 = <span></span> |
Revision as of 18:25, 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 |