Boilerplate:Items infobox: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
(updated) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
*[[Boilerplate:Ranged Weapon]] | *[[Boilerplate:Ranged Weapon]] | ||
*[[Boilerplate:Melee Weapon]] | *[[Boilerplate:Melee Weapon]] | ||
*[[Boilerplate:Gear]] <- | *[[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> --> | |||
Line 15: | Line 27: | ||
| name = | | name = | ||
| description = | | description = | ||
| wikidescription = | | wikidescription = | ||
| note = | | note = | ||
| sources = | | sources = | ||
<!-- Images --> | <!-- Images --> | ||
Line 44: | Line 56: | ||
| ammocount = | | ammocount = | ||
| ammo = | | ammo = | ||
| ammo2 = | |||
| magazine = | | magazine = | ||
| magazine2 = | | magazine2 = | ||
Line 72: | Line 85: | ||
| penetration | | penetration | ||
| ballastfloradamage = | |||
| explosionballastfloradamage = | |||
| structuredamage = | | structuredamage = | ||
| explosionstructuredamage | | explosionstructuredamage | ||
Line 86: | Line 99: | ||
| pressureprotection = | | pressureprotection = | ||
<!-- | <!-- Afflictions --> | ||
| | | afflictionsname = | ||
| | | explosionrange = | ||
| | | projectiles = | ||
| | | afflictions = | ||
| | | explosionafflictions = | ||
| | |||
| | | afflictions2name = | ||
| | | explosionrange2 = | ||
| projectiles2 = | |||
| afflictions2 = | |||
| explosionafflictions2 = | |||
| medicalafflictions = | |||
| resistancemultipliers = | |||
| | |||
<!-- Other --> | <!-- Other --> | ||
Line 121: | Line 132: | ||
| handicap = | | 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 --> | <!-- Crafting --> | ||
Line 153: | Line 183: | ||
| minleveldifficulty = | | minleveldifficulty = | ||
| outpostmultiplier = | outpostunbuyable = true | outpostminavailable = | | outpostmultiplier = | outpostunbuyable = true | outpostminavailable = | outpostsold = true | ||
| citymultiplier = | cityunbuyable = true | cityminavailable = | | citymultiplier = | cityunbuyable = true | cityminavailable = | citysold = true | ||
| researchmultiplier = | researchunbuyable = true | researchminavailable = | | researchmultiplier = | researchunbuyable = true | researchminavailable = | researchsold = true | ||
| militarymultiplier = | militaryunbuyable = true | militaryminavailable = | | militarymultiplier = | militaryunbuyable = true | militaryminavailable = | militarysold = true | ||
| minemultiplier = | mineunbuyable = true | mineminavailable = | | minemultiplier = | mineunbuyable = true | mineminavailable = | minesold = true | ||
| medicalmultiplier = | medicalunbuyable = true | medicalminavailable = | | medicalmultiplier = | medicalunbuyable = true | medicalminavailable = | medicalsold = true | ||
| engineeringmultiplier = | engineeringunbuyable = true | engineeringminavailable = | | engineeringmultiplier = | engineeringunbuyable = true | engineeringminavailable = | engineeringsold = true | ||
| armorymultiplier = | armoryunbuyable = true | armoryminavailable = | | armorymultiplier = | armoryunbuyable = true | armoryminavailable = | armorysold = true | ||
<!-- Technical --> | <!-- Technical --> | ||
| identifier = | | identifier = | ||
| nameidentifier = | |||
| cargocontaineridentifier = | |||
| category = | | category = | ||
| tags = | | tags = | ||
}} | }} | ||
</boilerplate> | </boilerplate> | ||
[[Category:Boilerplates]] | [[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 = }}