Boilerplate:Items infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
(updated)
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
*[[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) -->


Boilerplates for other item types have not been created yet.
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 = <!-- Used for cargo queries -->
| wikidescription =
| note = <!-- Used for cargo queries -->
| note =
| sources = <!-- Used for cargo queries -->
| 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 =
| ballastfloradamage =
| explosionrange =
| explosionstructuredamage
| explosionstructuredamage


Line 86: Line 99:
| pressureprotection =
| pressureprotection =


<!-- Medical -->
<!-- Afflictions -->
| duration =
| afflictionsname =
| durationfail =
| explosionrange =
| drunkdelay =
| projectiles =
| drunkduration =
| afflictions =
| nauseadelay =
| explosionafflictions =
| nauseaduration =
 
| oxygenlowinstant =
| afflictions2name =
| oxygenlowinstantfail =
| explosionrange2 =
| projectiles2 =
| afflictions2 =
| explosionafflictions2 =
 
| medicalafflictions =


<!-- Afflictions (One example, you really don't want me to paste all 368 lines of them here) -->
| resistancemultipliers =
| lacerations =
| lacerationsfail =
| lacerationsblockchance = <!-- Currently not used -->
| lacerationschance <!-- Currently does what blockchance is supposed to do -->
| lacerationssyringe = <!-- Currently not used (Only in the Medical Infobox) -->
| explosionlacerations =
| explosionlacerationschance = <!-- Don't know if it works -->


<!-- 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 =
| category2 =
| subcategory =
| 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.

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 =
}}