No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
|rowclass4 = data-price infobox-data infobox-col2 |
|rowclass4 = data-price infobox-data infobox-col2 |
||
|label14 = Max stack |
|||
⚫ | |||
|data14 = {{#if: {{{maxstack|}}} | {{formatnum: {{{maxstack}}} }} }} |
|||
⚫ | |||
|label15 = Slot |
|||
|data15 = {{#if: {{{slot|}}} | {{{slot}}} }} |
|||
|rowclass15 = data-slot infobox-data infobox-col2 |
|||
|label16 = Description |
|||
|data16 = {{#if: {{{description|}}} | {{{description}}} }} |
|||
|rowclass16 = data-description infobox-data infobox-col2 |
|||
|label17 = Requirements |
|||
|data17 = {{#if: {{{userequirements|}}} | {{{userequirements}}} }} |
|||
|rowclass17 = data-userequirements infobox-data infobox-col2 |
|||
|label18 = Effect |
|||
|data18 = {{#if: {{{useeffect|}}} | {{{useeffect}}} }} |
|||
|rowclass18 = data-useeffect infobox-data infobox-col2 |
|||
|label19 = Used for |
|||
|data19 = {{#if: {{{usedfor|}}} | {{{usedfor}}} }} |
|||
|rowclass19 = data-usedfor infobox-data infobox-col2 |
|||
|label22 = Calibre |
|||
|data22 = {{#if: {{{calibre|}}} | {{{calibre}}} }} |
|||
|rowclass22 = data-calibre infobox-data infobox-col2 |
|||
⚫ | |||
|rowclass5 = infobox-header |
|rowclass5 = infobox-header |
||
Line 25: | Line 53: | ||
|data6 = {{#if: {{{weapontype|}}} | {{{weapontype}}} }} |
|data6 = {{#if: {{{weapontype|}}} | {{{weapontype}}} }} |
||
|rowclass6 = data-weapontype infobox-data infobox-col2 |
|rowclass6 = data-weapontype infobox-data infobox-col2 |
||
⚫ | |||
⚫ | |||
|rowclass13 = data-dps infobox-data infobox-col2 |
|||
|label7 = Damage |
|label7 = Damage |
||
Line 35: | Line 67: | ||
|label9 = Zoom |
|label9 = Zoom |
||
|data9 = {{#if: {{{zoom|}}} | {{{zoom}}} }} |
|data9 = {{#if: {{{zoom|}}} | {{{zoom}}}x }} |
||
|rowclass9 = data-zoom infobox-data infobox-col2 |
|rowclass9 = data-zoom infobox-data infobox-col2 |
||
Line 50: | Line 82: | ||
|rowclass12 = data-magazinecapacity infobox-data infobox-col2 |
|rowclass12 = data-magazinecapacity infobox-data infobox-col2 |
||
|header20 = {{#if: {{{defense|}}} | Equipment stats }} |
|||
⚫ | |||
|rowclass20 = infobox-header |
|||
⚫ | |||
⚫ | |||
|label21 = Defense |
|||
|header100 = <span></span> |
|||
|data21 = {{#if: {{{defense|}}} | {{{defense}}} }} |
|||
|rowclass100 = infobox-button-bar |
|||
|rowclass21 = data-defense infobox-data infobox-col2 |
|||
}}</includeonly> |
}}</includeonly> |
Revision as of 18: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 |