No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 31: | Line 31: | ||
"damage": { |
"damage": { |
||
"label": "Damage", |
"label": "Damage", |
||
"description": "Physical damage of a weapon", |
"description": "Physical damage of a weapon (poor quality)", |
||
"example": "36", |
"example": "36", |
||
"type": "number" |
"type": "number" |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"suggested": true |
|||
}, |
}, |
||
"zoom": { |
"zoom": { |
||
Line 88: | Line 82: | ||
"description": { |
"description": { |
||
"label": "Description", |
"label": "Description", |
||
"description": "In-game |
"description": "In-game description (from tooltip)", |
||
"example": "Looks like an old arcade joystick." |
"example": "Looks like an old arcade joystick.", |
||
"type": "string" |
|||
}, |
}, |
||
"userequirements": { |
"userequirements": { |
||
Line 111: | Line 106: | ||
"defense": { |
"defense": { |
||
"label": "Defense", |
"label": "Defense", |
||
"description": "Defense value of equipment", |
"description": "Defense value of equipment (poor quality)", |
||
"example": "6", |
"example": "6", |
||
"type": "number" |
"type": "number" |
||
Line 123: | Line 118: | ||
"damageignorearmor": { |
"damageignorearmor": { |
||
"label": "Piercing damage", |
"label": "Piercing damage", |
||
"description": "Damage ignoring armor", |
"description": "Damage ignoring armor (poor quality)", |
||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
"damagepoison": { |
"damagepoison": { |
||
"label": "Poison damage", |
"label": "Poison damage", |
||
"type": "number" |
"type": "number", |
||
"description": "(poor quality)" |
|||
}, |
}, |
||
"damagefire": { |
"damagefire": { |
||
"label": "Fire damage", |
"label": "Fire damage", |
||
"type": "number" |
"type": "number", |
||
"description": "(poor quality)" |
|||
}, |
}, |
||
"damageprojectile": { |
"damageprojectile": { |
||
"label": "Projectile damage", |
"label": "Projectile damage", |
||
"description": "Damage of firearms", |
"description": "Damage of firearms (poor quality)", |
||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
"defenseprojectile": { |
"defenseprojectile": { |
||
"label": "Projectile defense", |
"label": "Projectile defense", |
||
"description": "Defense against projectiles", |
"description": "Defense against projectiles (poor quality)", |
||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
"defensepoison": { |
"defensepoison": { |
||
"label": "Poison defense", |
"label": "Poison defense", |
||
"description": "Defense against poison", |
"description": "Defense against poison (poor quality)", |
||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
"defensefire": { |
"defensefire": { |
||
"label": "Fire defense", |
"label": "Fire defense", |
||
"description": "Defense against fire", |
"description": "Defense against fire (poor quality)", |
||
"type": "number" |
"type": "number" |
||
}, |
}, |
||
"defenseradiation": { |
"defenseradiation": { |
||
"label": "Radiation defense", |
"label": "Radiation defense", |
||
"description": "Defense against radiation", |
"description": "Defense against radiation (poor quality)", |
||
"type": "number" |
|||
⚫ | |||
"articledescription": { |
|||
"label": "Article description", |
|||
"description": "In-game description (shows in article)" |
|||
}, |
|||
"articlecontent": { |
|||
"label": "Article content", |
|||
"description": "Content for the article outside of the infobox" |
|||
}, |
|||
"blockchance": { |
|||
"label": "Block chance", |
|||
"description": "Block chance of the item, in percent", |
|||
"example": "40", |
|||
"type": "number" |
|||
}, |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"type": "number" |
|||
}, |
|||
"sellprice": { |
|||
"label": "Sell price", |
|||
"description": "Base selling price", |
|||
"example": "100", |
|||
"type": "number" |
|||
}, |
|||
"critchance": { |
|||
"label": "Crit chance", |
|||
"description": "Chance of a critical hit", |
|||
"example": "20", |
|||
"type": "number" |
"type": "number" |
||
} |
} |
||
Line 166: | Line 195: | ||
"name", |
"name", |
||
"type", |
"type", |
||
" |
"buyprice", |
||
"sellprice", |
|||
"maxstack", |
"maxstack", |
||
"slot", |
"slot", |
||
Line 183: | Line 213: | ||
"zoom", |
"zoom", |
||
"range", |
"range", |
||
"critchance", |
|||
"blockchance", |
|||
"ammo", |
"ammo", |
||
"magazinecapacity", |
"magazinecapacity", |
||
Line 189: | Line 221: | ||
"defensepoison", |
"defensepoison", |
||
"defensefire", |
"defensefire", |
||
"defenseradiation" |
"defenseradiation", |
||
"articledescription", |
|||
"articlecontent" |
|||
] |
] |
||
} |
} |
||
Line 195: | Line 229: | ||
<includeonly> |
<includeonly> |
||
<!-- Template |
<!-- Template categories go here --> |
||
[[Category:Infobox templates]] |
[[Category:Infobox templates]] |
||
</includeonly> |
</includeonly> |
Latest revision as of 16:41, 28 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 |