Boilerplate:Items infobox: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
(updated) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{main|Template:Items infobox}} | |||
This Boilerplate is a collection of all possible fields in the Items infobox template and is meant to be used as a copypasta source only. Do not use the whole thing on a page. | |||
Use one of these instead: | |||
*[[Boilerplate:Ranged Weapon]] | |||
*[[Boilerplate:Melee Weapon]] | |||
*[[Boilerplate:Gear]] | |||
*[[Boilerplate:Gatherable]] | |||
Boilerplates for other item types have not been created yet. | |||
Item image naming guidelines: | |||
*Icon: <code>Page_Name.png</code> (Default value of icon) | |||
*Sprite: <code>Page_Name_sprite.png</code> (Default value of sprite) | |||
**EXCEPTION: If an item doesn't have an Inventory Icon specified in the XML, upload the sprite as <code>Page_Name.png</code> instead. | |||
<!-- *Sprite when worn: <code>Page_Name_wearable.png</code> (Default value of sprite2) --> | |||
Example: | |||
*Icon: <code>Diving_Suit.png</code> | |||
*sprite: <code>Diving_Suit_sprite.png</code> | |||
<!-- *Sprite when worn: <code>Diving_Suit_wearable</code> --> | |||
<boilerplate> | <boilerplate> | ||
{{Items infobox | {{Items infobox | ||
| name = | | name = | ||
| description = | |||
| wikidescription = | |||
| note = | |||
| sources = | |||
<!-- Images --> | |||
| icon = | | icon = | ||
| | | iconsize = | ||
| iconcaption = | |||
| sprite = | | sprite = | ||
| | | spritesize = | ||
| | | spritecaption = | ||
| | |||
| | | sprite2 = | ||
| | | sprite2size = | ||
| | | sprite2caption = | ||
<!-- Quality --> | |||
| qualitybonuses = | |||
| qualitytalent = | |||
<!-- Weapon --> | |||
| weapontype = | |||
| weapondamagemodifier = | |||
| attackspeed = | |||
| ammomaxstack = | |||
| ammocount = | |||
| ammo = | |||
| ammo2 = | |||
| magazine = | |||
| magazine2 = | |||
| fuelcount = | |||
| fuel = | |||
| fuelduration = | |||
| fuelduration2 = | |||
| payload = | |||
| payloadcount = | |||
<!-- Ammo --> | |||
| ammotype = | |||
| ammotype2 = | |||
| magazine = | |||
| fuelduration = | |||
| reusable = | |||
| usedby = | |||
| usedbyweapondamagemodifier = | |||
| usedby2 = | |||
| usedby2weapondamagemodifier = | |||
| usedby3 = | |||
| usedby3weapondamagemodifier = | |||
| penetration | |||
| ballastfloradamage = | |||
| explosionballastfloradamage = | |||
| structuredamage = | |||
| explosionstructuredamage | |||
<!-- Gear --> | |||
| geartype = | |||
| gearskillmodifiers = | |||
| gearspeedmodifiers = | |||
| gearstatmodifiers = | |||
| genecapacity = | |||
| protects = | |||
| pressureprotection = | |||
<!-- Afflictions --> | |||
| afflictionsname = | |||
| explosionrange = | |||
| projectiles = | |||
| afflictions = | |||
| explosionafflictions = | |||
| afflictions2name = | |||
| explosionrange2 = | |||
| projectiles2 = | |||
| afflictions2 = | |||
| explosionafflictions2 = | |||
| medicalafflictions = | |||
| resistancemultipliers = | |||
<!-- Other --> | |||
| itemcapacity = | |||
| maxstack = | |||
| supplyname = | |||
| supplycount = | |||
| supplyitems = | |||
| impacttolerance = | |||
<!-- Skill --> | |||
| helm = | |||
| weapons = | |||
| mechanical = | |||
| electrical = | |||
| medical = | |||
| handicap = | |||
<!-- Gatherable --> | |||
| detachtime = | |||
| commonness = 0., 0., 0 | |||
| commonness_coldcaverns = 0., 0., 0 | |||
| commonness_europanridge = 0., 0., 0 | |||
| commonness_theaphoticplateau = 0., 0., 0 | |||
| commonness_thegreatsea = 0., 0., 0 | |||
| commonness_hydrothermalwastes = 0., 0., 0 | |||
<!-- Growable --> | |||
| growthspeed = 0.076 | |||
| maximumvines = 18 | |||
| productrate = 0.0056 | |||
| maxhealth = 375 | |||
| hardiness = 0.162 | |||
| floodtolerance = 0.2 | |||
| produceditems = {{hl|Salt Bulb}} | |||
<!-- Crafting --> | |||
| fabricator = | |||
| medicalfabricator = | |||
| fabricatortime = | |||
| talent = | |||
| fabricatedamount = | |||
| fabricatorskill = | |||
| fabricatorskilllevel = | |||
| fabricatorskill2 = | |||
| fabricatorskilllevel2 = | |||
| fabricatormaterials = | |||
| deconstructor = | |||
| deconstructortime = | |||
| deconstructormaterials = | |||
<!-- Alternative Crafting --> | |||
| fabricatortimealt = | |||
| talentalt = | |||
| fabricatedamountalt = | |||
| fabricatorskillalt = | |||
| fabricatorskilllevelalt = | |||
| fabricatormaterialsalt = | |||
<!-- Store --> | |||
| baseprice = | |||
| unbuyable = true | |||
| minleveldifficulty = | |||
| | | outpostmultiplier = | outpostunbuyable = true | outpostminavailable = | outpostsold = true | ||
| | | citymultiplier = | cityunbuyable = true | cityminavailable = | citysold = true | ||
| | | researchmultiplier = | researchunbuyable = true | researchminavailable = | researchsold = true | ||
| militarymultiplier = | militaryunbuyable = true | militaryminavailable = | militarysold = true | |||
| minemultiplier = | mineunbuyable = true | mineminavailable = | minesold = true | |||
| medicalmultiplier = | medicalunbuyable = true | medicalminavailable = | medicalsold = true | |||
| engineeringmultiplier = | engineeringunbuyable = true | engineeringminavailable = | engineeringsold = true | |||
| armorymultiplier = | armoryunbuyable = true | armoryminavailable = | armorysold = true | |||
<!-- Technical --> | |||
| identifier = | |||
| nameidentifier = | |||
| cargocontaineridentifier = | |||
| category = | |||
| tags = | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
</boilerplate> | </boilerplate> | ||
[[Category: | [[Category:Boilerplates]] |
Latest revision as of 18:15, 4 May 2023
Main article: Template:Items infobox
This Boilerplate is a collection of all possible fields in the Items infobox template and is meant to be used as a copypasta source only. Do not use the whole thing on a page.
Use one of these instead:
Boilerplates for other item types have not been created yet.
Item image naming guidelines:
- Icon:
Page_Name.png
(Default value of icon) - Sprite:
Page_Name_sprite.png
(Default value of sprite)- EXCEPTION: If an item doesn't have an Inventory Icon specified in the XML, upload the sprite as
Page_Name.png
instead.
- EXCEPTION: If an item doesn't have an Inventory Icon specified in the XML, upload the sprite as
Example:
- Icon:
Diving_Suit.png
- sprite:
Diving_Suit_sprite.png
{{Items infobox | name = | description = | wikidescription = | note = | sources = <!-- Images --> | icon = | iconsize = | iconcaption = | sprite = | spritesize = | spritecaption = | sprite2 = | sprite2size = | sprite2caption = <!-- Quality --> | qualitybonuses = | qualitytalent = <!-- Weapon --> | weapontype = | weapondamagemodifier = | attackspeed = | ammomaxstack = | ammocount = | ammo = | ammo2 = | magazine = | magazine2 = | fuelcount = | fuel = | fuelduration = | fuelduration2 = | payload = | payloadcount = <!-- Ammo --> | ammotype = | ammotype2 = | magazine = | fuelduration = | reusable = | usedby = | usedbyweapondamagemodifier = | usedby2 = | usedby2weapondamagemodifier = | usedby3 = | usedby3weapondamagemodifier = | penetration | ballastfloradamage = | explosionballastfloradamage = | structuredamage = | explosionstructuredamage <!-- Gear --> | geartype = | gearskillmodifiers = | gearspeedmodifiers = | gearstatmodifiers = | genecapacity = | protects = | pressureprotection = <!-- Afflictions --> | afflictionsname = | explosionrange = | projectiles = | afflictions = | explosionafflictions = | afflictions2name = | explosionrange2 = | projectiles2 = | afflictions2 = | explosionafflictions2 = | medicalafflictions = | resistancemultipliers = <!-- Other --> | itemcapacity = | maxstack = | supplyname = | supplycount = | supplyitems = | impacttolerance = <!-- Skill --> | helm = | weapons = | mechanical = | electrical = | medical = | handicap = <!-- Gatherable --> | detachtime = | commonness = 0., 0., 0 | commonness_coldcaverns = 0., 0., 0 | commonness_europanridge = 0., 0., 0 | commonness_theaphoticplateau = 0., 0., 0 | commonness_thegreatsea = 0., 0., 0 | commonness_hydrothermalwastes = 0., 0., 0 <!-- Growable --> | growthspeed = 0.076 | maximumvines = 18 | productrate = 0.0056 | maxhealth = 375 | hardiness = 0.162 | floodtolerance = 0.2 | produceditems = {{hl|Salt Bulb}} <!-- Crafting --> | fabricator = | medicalfabricator = | fabricatortime = | talent = | fabricatedamount = | fabricatorskill = | fabricatorskilllevel = | fabricatorskill2 = | fabricatorskilllevel2 = | fabricatormaterials = | deconstructor = | deconstructortime = | deconstructormaterials = <!-- Alternative Crafting --> | fabricatortimealt = | talentalt = | fabricatedamountalt = | fabricatorskillalt = | fabricatorskilllevelalt = | fabricatormaterialsalt = <!-- Store --> | baseprice = | unbuyable = true | minleveldifficulty = | outpostmultiplier = | outpostunbuyable = true | outpostminavailable = | outpostsold = true | citymultiplier = | cityunbuyable = true | cityminavailable = | citysold = true | researchmultiplier = | researchunbuyable = true | researchminavailable = | researchsold = true | militarymultiplier = | militaryunbuyable = true | militaryminavailable = | militarysold = true | minemultiplier = | mineunbuyable = true | mineminavailable = | minesold = true | medicalmultiplier = | medicalunbuyable = true | medicalminavailable = | medicalsold = true | engineeringmultiplier = | engineeringunbuyable = true | engineeringminavailable = | engineeringsold = true | armorymultiplier = | armoryunbuyable = true | armoryminavailable = | armorysold = true <!-- Technical --> | identifier = | nameidentifier = | cargocontaineridentifier = | category = | tags = }}