No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
|rowclass3 = data-type infobox-data infobox-col2 |
|rowclass3 = data-type infobox-data infobox-col2 |
||
|label4 = |
|label4 = Price |
||
|data4 = {{#if:{{{ |
|data4 = {{#if: {{{price|}}} | {{{price}}} }} |
||
|rowclass4 = data- |
|rowclass4 = data-price infobox-data infobox-col2 |
||
|header5 = {{#if:{{{weapon type}|}}}|Firearm stats}} |
|||
|label5 = Classification |
|||
⚫ | |||
|data5 = {{#if:{{{classification|}}}|[[:Category:{{pluralize|{{{classification}}}}}|{{{classification}}}]]}} |
|||
|rowclass5 = data-classification infobox-data infobox-col2 |
|||
|label6 = |
|label6 = Weapon type |
||
|data6 = {{#if:{{{ |
|data6 = {{#if: {{{weapon type|}}} | {{{weapon type}}} }} |
||
|rowclass6 = data- |
|rowclass6 = data-weapon-type infobox-data infobox-col2 |
||
|label7 = Base price |
|||
|data7 = {{#if:{{{baseprice|}}}|{{formatnum:{{{baseprice}}}}} aUEC}} |
|||
|rowclass7 = data-baseprice infobox-data infobox-col2 |
|||
|label9 = Mass |
|||
|data9 = {{#if:{{{mass|}}}|{{formatnum:{{{mass}}}}} kg}} |
|||
|rowclass9 = data-mass infobox-data infobox-col2 |
|||
|label10 = Production state |
|||
|data10 = {{{productionstate|}}} |
|||
|rowclass10 = data-productionstate infobox-data infobox-col2 |
|||
|header20 = {{#if:{{{damagetype|}}}{{{effectiverange|}}}{{{firerate|}}}|Stats}} |
|||
⚫ | |||
|label21 = Damage type |
|||
|data21 = {{{damagetype|}}} |
|||
|rowclass21 = data-damagetype infobox-data infobox-col2 |
|||
|label22 = Effective range |
|||
|data22 = {{{effectiverange|}}} |
|||
|rowclass22 = data-effectiverange infobox-data infobox-col2 |
|||
|label23 = Fire rate |
|||
|data23 = {{{firerate|}}} |
|||
|rowclass23 = data-firerate infobox-data infobox-col2 |
|||
|label24 = Fire mode |
|||
|data24 = {{{firemode|}}} |
|||
|rowclass24 = data-firemode infobox-data infobox-col2 |
|||
|label25 = Caliber |
|||
|data25 = {{{caliber|}}} |
|||
|rowclass25 = data-caliber infobox-data infobox-col2 |
|||
|label26 = Muzzle velocity |
|||
|data26 = {{{muzzlevelocity|}}} |
|||
|rowclass26 = data-muzzlevelocity infobox-data infobox-col2 |
|||
|header60 = {{#if:{{{magazine|}}}{{{optics|}}}{{{opticssize|}}}{{{barrel|}}}{{{barrelsize|}}}{{{underbarrel|}}}{{{underbarrelsize|}}}|Attachments}} |
|||
|rowclass60 = infobox-header |
|||
|label61 = Magazine |
|||
|data61 = {{{magazine|}}} |
|||
|rowclass61 = data-magazine infobox-data infobox-col2 |
|||
|label62 = Optics |
|||
|data62 = {{#if:{{{optics|}}}{{{opticssize|}}}|{{#if:{{{optics|}}}|{{{optics}}}|Empty}}{{#if:{{{opticssize|}}}|{{nbsp}}(S{{{opticssize}}} max)}}}} |
|||
|rowclass62 = data-optics infobox-data infobox-col2 |
|||
|label63 = Barrel |
|||
|data63 = {{#if:{{{barrel|}}}{{{barrelsize|}}}|{{#if:{{{barrel|}}}|{{{barrel}}}|Empty}}{{#if:{{{barrelsize|}}}|{{nbsp}}(S{{{barrelsize}}})}}}} |
|||
|rowclass63 = data-barrel infobox-data infobox-col2 |
|||
|label64 = Underbarrel |
|||
|data64 = {{#if:{{{underbarrel|}}}{{{underbarrelsize|}}}|{{#if:{{{underbarrel|}}}|{{{underbarrel}}}|Empty}}{{#if:{{{underbarrelsize|}}}|{{nbsp}}(S{{{underbarrelsize}}} max)}}}} |
|||
|rowclass64 = data-underbarrel infobox-data infobox-col2 |
|||
|label65 = Utility |
|||
|data65 = {{#if:{{{utility|}}}{{{utilitysize|}}}|{{#if:{{{utility|}}}|{{{utility}}}|Empty}}{{#if:{{{utilitysize|}}}|{{nbsp}}(S{{{utilitysize}}} max)}}}} |
|||
|rowclass65 = data-utility infobox-data infobox-col2 |
|||
|header100 = <span></span> |
|header100 = <span></span> |
Revision as of 16:07, 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 |