Template:Items infobox/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
m (Updated Basic documentation)
(Updated the entire page (basically rewrote it all).)
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
This template is used to display the infobox on the right side of almost all [[Items|Item]] pages. Fields defined on every page using this template are automatically stored in [[Special:CargoTables/Items]] and can be used by other templates.
Main Boilerplate with all possible fields - [[Boilerplate:Items infobox]].
= Table of Contents =
__TOC__
= Field Types =
Most common Field Types of the Cargo Table [[Special:CargoTables/Items]]. If a value does not fit the Field Type it will be saved incorrectly or not at all. To see the full list click [https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data#Declaring_a_table here].
{|class="wikitable sortable" style="width: 100%;"
!Field Type!!Note!!Field Example!!Value Example
|-
| String || Holds standard, non-wikitext text (default max size: 300 characters) || <code><nowiki>| description = String</nowiki></code> || Makes mechanical repairs possible.
|-
| Integer || Holds an integer || <code><nowiki>| iconsize = Integer</nowiki></code> || 80
|-
| Float || Holds a real, i.e. non-integer, number || <code><nowiki>| fuelduration = Float</nowiki></code> || 16.7
|-
| Boolean || Holds a Boolean value, whose value should be 1 or 0 / yes or no || <code><nowiki>| fabricator = Boolean</nowiki></code> || yes
|-
| Wikitext || Holds longer text that is meant to be parsed by the MediaWiki parser ||<code><nowiki>| fuel = Wikitext</nowiki></code> ||<nowiki>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}</nowiki>
|-
| File || Holds the name of an uploaded file or image in the wiki (similar to Page, but does not require specifying the "File:" namespace) (default max size: 300 characters) || <code><nowiki>| sprite = File</nowiki></code> || Wrench sprite.png
|-
| List () of FieldType || A list of FieldType separated by Value the in Brackets () || <code><nowiki>| tags = List (,) of String</nowiki></code> || smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon
|-
|}
{{clr}}
----
= Basic =
*[[Template:Items_infobox/doc#Table_of_Contents|Back to Table of Contents]]
Section always displayed.


== Basic ==
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected!!Default
!Field!!Note!!Example!!Expected!!Default
Line 7: Line 41:
| name || Item name || Wrench || String || <code><nowiki>{{PAGENAME}}</nowiki></code>
| name || Item name || Wrench || String || <code><nowiki>{{PAGENAME}}</nowiki></code>
|-
|-
| icon || Icon of item || Wrench.png || File || <code><nowiki>{{PAGENAME}}.png</nowiki></code>
| description || In-game item description, as defined in EnglishVanilla.xml. || Makes mechanical repairs possible. || String ||
|-
|-
| iconwidth || Forced icon width (px) || 250 || Integer || 180
| wikidescription || Used by cargo queries. [[Template:Medical table]] [[Template:Crafting table]] || || Wikitext ||
|-
|-
| sprite || Sprite of item || Wrench_sprite.png || File || <code><nowiki>{{PAGENAME}} sprite.png</nowiki></code>
| note || Summary of this items miscellaneous properties that don't have their own field. Used by cargo queries. [[Template:GearTable]] || || Wikitext ||
|-
|-
| spritewdith || Forced sprite width (px) || 90 || String || 180
| sources || Used by cargo. [[Template:Crafting_table]] || || Wikitext ||
|-
|-
| identifier || Internal identifier of the item from game files (optional) || wrench || String
|
|-
|-
| description || In-game item description || Makes mechanical repairs possible. || String ||
| icon || Icon of an item || Wrench.png || File || <code><nowiki>{{PAGENAME}}.png</nowiki></code>
|-
|-
| category || The category of the item, as defined in XML. || Machine || Structure, Decorative, Machine, Medical, Weapon, Diving, Equipment, Fuel, Electrical, Material, Alien, Wrecked, Legacy, Misc || Misc
| iconsize || Forced icon width (px) || 80 || Integer || 128 / 64 if sprite exists
|-
|-
| category2 || The second category of the item, if applicable. || Weapon || String (allowed values=Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost)
| iconcaption || Caption under the icon || Inventory Icon || String || Inventory Icon
|-
|-
| subcategory || The subcategory of the item, same as XML. || Outpost || Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost ||
|
|-
|-
| tags || The tags of the item, same as XML. || smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon || List (,) of String ||  
| sprite || Sprite of an item || Wrench sprite.png || File || <code style="white-space:nowrap"><nowiki>{{PAGENAME}} sprite.png</nowiki></code>
|-
|-
| type|| The type of the item, as defined in XML. || weapon,tool,gear,medical,chemical,electrical,container,ammo,explosive,fuel,gatherable,misc,gardening,mineralmaterial,organicmaterial,processedmaterial,rarematerial,exotic,vehicle || String || General
| spritesize || Forced sprite width (px) || 160 || Integer || 64
|-
|-
| weapontype || The type of weapon, for cargo queries. || ranged,melee,throwable,explosive,turret,largeturret,other,submarineother || String
| spritecaption || Caption under the sprite. Shows only if sprite is defined. || Sprite || String || Sprite
|-
|-
| ammotype || The type of weapon used by this ammo, for cargo queries. || ranged,melee,throwable,explosive,turret,largeturret,other,submarineother || String
|
|-
|-
| ammotype2 || The type of weapon used by this ammo, for cargo queries. || ranged,melee,throwable,explosive,turret,largeturret,other,submarineother || String
| sprite2 || Sprite of an item || Wrench sprite.png || File || <code style="white-space:nowrap"><nowiki>{{PAGENAME}} sprite.png</nowiki></code>
|-
|-
| wikidescription || Used by cargo.
| sprite2size || Forced sprite width (px) || 160 || Integer || 64
|-
|-
| sources || Used by cargo.
| sprite2caption || Caption under the second sprite. Shows only if sprite2 is defined. || Sprite || String || Sprite
|}
|}


== Damage ==
{{clr}}
----
 
= Stats =
*[[Template:Items_infobox/doc#Table_of_Contents|Back to Table of Contents]]
Stats section is displayed if any* of the following is defined:
 
<nowiki>*</nowiki>By any I mean almost any (There is a lot of them). If the "Statistics" header is not displayed even though you have one of these defined tell me - G3.
 
=== Quality ===
 
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!style="width:31%;"|Field!!Note!!Example!!Expected!!Default
!Field!!Note!!Example!!Expected!!Default
|-
|-
| weapondamagemodifier || Weapon Damage Modifier, as defined in XML. || 1.3 || number
| qualitybonuses || Bonuses from each quality level || +10% Affliction Strength || List (<nowiki><br></nowiki>) of String
|-
|-
| usedby || What weapon uses this ammo || {{hl|SMG}} || Hyperlinks to relevant weapons
| qualitytalent || Talent which increases the quality level of the item. || {{hl|Weaponsmith||Security Officer Job Icon}} <code><nowiki>{{hl|Weaponsmith||Security Officer Job Icon}}</nowiki></code> || Wikitext ||
|-
|-
| usedby2 || What weapon uses this ammo || {{hl|Deadeye Carbine}} || Hyperlinks to relevant weapons
|}
 
=== Weapon ===
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected!!Default
|-
|-
| usedby3 || What weapon uses this ammo || {{hl|Machine Pistol}} || Hyperlinks to relevant weapons
| weapontype || Weapon type of the item, used for cargo queries. [[Template:WeaponsTable]] || ranged || String (allowed values=ranged, melee, throwable, explosive, turret, largeturret, other, submarineother) ||
|-
|-
| usedbyweapondamagemodifier || Weapon Damage Modifier of the weapon using this ammo || 1.3 || Hyperlinks to relevant weapons
| weapondamagemodifier || Weapon Damage Modifier, as defined in XML. || 1.3 || Float ||
|-
|-
| usedby2weapondamagemodifier || Weapon Damage Modifier of the weapon using this ammo || 1.3 || Hyperlinks to relevant weapons
| attackspeed || Number of potential hits per second. This is usually 1/reload (+maxchargetime if any). <- Will probably change this to reload, and attack speed will be calculated automatically. || 5 || Float ||
|-
|-
| usedby3weapondamagemodifier || Weapon Damage Modifier of the weapon using this ammo || 1.3 || Hyperlinks to relevant weapons
|
|-
|-
| afflictions || Afflictions list. Deprecated, use individual afflictions instead. However, until the transition is over, for compatibility reasons you must set this to "yes" ( <code><nowiki>|afflictions=yes</nowiki></code> ). || yes || yes<br>(Previously: list of afflictions using [[Template:Affliction]])
| ammomaxstack || Max stack of the ammo used by an item || 8 || Integer ||
|-
|-
| bluntforcetrauma, lacerations, gunshotwound, deeptissueinjury, organdamage, burn, bleeding, oxygenlow, huskinfection, psychosis, morbusinepoisoning, sufforinpoisoning, deliriuminepoisoning, cyanidepoisoning, radiationsickness, paralysis, progressivestun, stun, explosionradiationsickness, explosiondeeptissueinjury, explosionburn, explosionlacerations, explosionbleeding, explosionstun || Each individual affliction || 25 || number
| ammocount || Amount of ammo a item can hold || 4 || Integer ||
|-
|-
| blulast, laclast, gunlast... || Use to remove the <nowiki><br></nowiki> after an affliction, if there is no stun specified. First 3 letters of the affliction followed by -last. || yes || yes (or any value). Don't use if there is stun.
| ammo || Ammo used by an item || {{hl|Shotgun Shell}}<br>{{hl|Explosive Slug}}<br>{{hl|Shotgun Rubber Shell}} <code><nowiki>{{hl|Shotgun Shell}}<br>{{hl|Explosive Slug}}<br>{{hl|Shotgun Rubber Shell}}</nowiki></code> || Wikitext ||
|-
|-
| xradlast, xdeelast, xburlast, xlaclast, xblelast || Same as above but for explosion afflictions. "x" - first 3 letters - "last" || yes || yes (or any value). Don't use if there is explosionstun.
| magazine || Number of rounds in a magazine || 20 || Integer ||
|-
|-
| attackspeed || Number of potential hits per second. This is usually 1/<reload> (+<maxchargetime> if any). || 5 || number
| magazine2 || Number of rounds in a magazine, used to display a range of magazine size: magazine-magazine2 || 30 || Integer ||
|-
|-
| explosionrange || Range of explosion if any, in meters (it's in centimeters in the xml). Must be set for the explosionafflictions to be displayed. || 7 || number
|
|-
|-
| penetration || Armor penetration || 10 || number
| fuelcount || Amount of fuel an item can hold || 4 || Integer ||
|-
|-
| structuredamage || Structure damage || 20 || number
| fuel || Fuel used by item || {{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}} <code><nowiki>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}</nowiki></code> || Wikitext ||
|-
|-
| ballastfloradamage || Ballast Flora damage || 20 || number
| fuelduration || Duration of fuel in a fuel tank in seconds || 16.7 || Float ||
|-
|-
| explosionstructuredamage || Explosion structure damage || 20 || number
| fuelduration2 || Duration of fuel in a fuel tank in seconds, used to show a range of fuel duration: fuelduration-fuelduration2 || 40 || Float ||
|-
|-
| magazine || Number of rounds in a magazine || 20 || number
|
|-
|-
| magazine2 || Number of rounds in a magazine, used to show a range of magazine size like this: magazine-magazine2 || 30 || number
| payload || Payload used by an item || {{hl|UEX}} <code><nowiki>{{hl|UEX}}</nowiki></code>|| Wikitext ||
|-
|-
| fuelduration || Duration of fuel in a fuel tank in seconds || 10 || number
| payloadcount || Amount of payloads an item can hold || 1 || Integer ||
|-
| fuelduration2 || Duration of fuel in a fuel tank in seconds, used to show a range of fuel duration like this: fuelduration-fuelduration2 || 15 || number
|-
| reusable || shows that this ammo is reusable if set to yes, hidden otherwise || yes || yes || hidden
|}
|}


== Stats ==
=== Ammo ===
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected!!Default
!Field!!Note!!Example!!Expected!!Default
|-
|-
| nostats || Skips Stats section if true || yes || whitespace/empty or string
| ammotype || Type of Weapon using this ammo, for cargo queries. || turret || String (allowed values=ranged, melee, throwable, explosive, turret, largeturret, other, submarineother) ||
|-
| ammotype2 || Type of Weapon using this ammo, for cargo queries. || largeturret || String (allowed values=ranged, melee, throwable, explosive, turret, largeturret, other, submarineother) ||
|-
| magazine || Number of rounds in a magazine || 20 || Integer ||
|-
| fuelduration || Duration of fuel in a fuel tank in seconds || 10 || Float ||
|-
| reusable || Shows that this ammo is reusable if set to yes, hidden otherwise || yes || Boolean ||
|-
|
|-
| usedby || What weapon uses this ammo || {{hl|SMG}} <code><nowiki>{{hl|SMG}}</nowiki></code>|| Wikitext ||
|-
| usedbyweapondamagemodifier || Weapon Damage Modifier of the weapon using this ammo || 1.3 || Float ||
|-
|
|-
| usedby2 || What weapon uses this ammo || {{hl|Deadeye Carbine}} <code><nowiki>{{hl|Deadeye Carbine}}</nowiki></code>|| Wikitext ||
|-
| usedby2weapondamagemodifier || Weapon Damage Modifier of the weapon using this ammo || 1.1 || Float ||
|-
|
|-
|-
| type || Sets category of item depending on the type<br>'''DEPRECATED: Use "tags" instead.''' || weapon || weapon tool gear medical chemical electrical container ammo explosive gatherable misc gardening mineralmaterial organicmaterial processedmaterial rarematerial fuel misc exotic vehicle || General [[:Category:Items|Item]]
| usedby3 || What weapon uses this ammo || {{hl|Machine Pistol}} <code><nowiki>{{hl|Machine Pistol}}</nowiki></code>|| Wikitext ||
|-
|-
| qualitybonuses || Bonuses from each quality level || +10% Affliction Strength || Wikitext
| usedby3weapondamagemodifier || Weapon Damage Modifier of the weapon using this ammo || 0.8 || Float ||
|-
|-
| qualitytalent || Talent which increases the quality level of the item. || <code><nowiki>{{hl|Artisan Smith|32|Talent}}</nowiki></code> || toolbel, outerwear, innerwear, headgear, headset, card
|
|-
|-
| geartype || Type of the Gear item || outerwear || toolbel, outerwear, innerwear, headgear, headset, card
| penetration || Armor penetration || 10 || Integer ||
|-
|-
| gearskillmodifiers || Skill modifiers of a Gear item whem worn || +10 Weapons<br>+10 Medical || Wikitext
| structuredamage || Structure damage || 20 || Integer ||
|-
|-
| gearspeedmodifiers || Speed modifiers of a Gear item whem worn || -20% Movement Speed<br>+30% Swimming Speed || Wikitext
| ballastfloradamage || Ballast Flora damage || 20 || Integer ||
|-
|-
| gearstatmodifiers || Stat modifiers of a Gear item whem worn || +25% Ranged Weapon Fire Rate<br>+25% Turret Fire Rate || Wikitext
| explosionrange || Range of explosion in meters, XML defines it in centimeters, so divide by 100. Must be set for the <code>explosion[affliction]</code> to be displayed. || 7 || Float ||
|-
|-
| genecapacity || Amount of genes that the item can hold || 1 || Integer
| explosionstructuredamage || Explosion structure damage || 20 || Integer ||
|}
 
=== Gear ===
 
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected!!Default
|-
|-
| protects || List of limbs protected by the Gear item when worn || Torso, Arms || Head, Torso, Arms, Legs, All
| geartype || Gear type of the item, used for cargo queries. [[Template:GearTable]] || outerwear || String (allowed values=toolbel, outerwear, innerwear, headgear, headset, card) ||
|-
|-
| weapontype || Type of the weapon || ranged || ranged, melee, throwable, explosive, turret, largeturret, handheldweaponother, submarineweaponother
| gearskillmodifiers || Skill modifiers of a Gear item whem worn || +10 Weapons<br>+10 Medical || Wikitext ||
|-
|-
| ammotype || Type of the weapon using this item as ammunition || ranged || ranged, melee, throwable, explosive, turret, largeturret, handheldweaponother, submarineweaponother
| gearspeedmodifiers || Speed modifiers of a Gear item whem worn || -20% Movement Speed<br>+30% Swimming Speed || Wikitext ||
|-
|-
| ammotype2 || Type of the weapon using this item as ammunition || ranged || ranged, melee, throwable, explosive, turret, largeturret, handheldweaponother, submarineweaponother
| gearstatmodifiers || Stat modifiers of a Gear item whem worn || +25% Ranged Weapon Fire Rate<br>+25% Turret Fire Rate || Wikitext ||
|-
|-
| size || Size of the item. Default is small.<br>'''DEPRECATED: Use "tags" instead.''' || medium || medium/undefined || small
| genecapacity || Amount of genes that the item can hold || 1 || Integer ||
|-
|-
| impacttolerance || The impact tolerance of the item. || 8 || number
| protects || List of limbs protected by the Gear item when worn || Torso, Arms || Wikitext ||
|-
|-
| ammo || Ammo used by an item || {{Hyperlink|Revolver Round}} || item(s)
|}
 
=== Medical ===
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected!!Default
|-
|-
| ammomaxstack || Max stack of the ammo used by an item || 8 || number
| duration || The duration of the item's effects on use in seconds. [affliction]s are shown as || 10 || Integer ||
|-
|-
| ammocost || Cost of ammo || 100 Marks || number
| durationfail || The duration of the item's effects on use in seconds when failed (Only use if duration and durationfail are different) || 5 || Integer ||
|-
|-
| ammocount || Amount of ammo a item can hold || 4 || number
|
|-
|-
| fuel || Fuel used by item || {{Hyperlink|Welding Fuel Tank}} || item(s)
| drunkdelay || Delay of the drunk affliction in seconds || 5 || Integer ||
|-
|-
| fuelcost || Cost of fuel || 100 Marks || number
| drunkduration || Duration of the drunk affliction in seconds || 15 || Integer ||
|-
|-
| fuelcount || Amount of fuel an item can hold || 4 || number
|
|-
|-
| maxstack || Maximum number of items in a stack || 10 || number
| nauseadelay || Delay of the nausea affliciton in seconds || 5 || Integer ||
|-
|-
| payload || Payload used by an item || {{Hyperlink|UEX}} || item(s)
| nauseaduration || Duration of the nausea affliciton in seconds || 15 || Integer ||
|-
|
|-
| oxygenlowinstant || Oxygen Low affliction strenght instantly applied || 10 || Float ||
|-
| oxygenlowinstantfail || Oxygen Low affliction strenght instantly applied when failed skill check || 10 || Float ||
|}
 
=== Afflictions ===
Supported Afflictions:
 
Combat:<br>
"internaldamage", "bluntforcetrauma", "lacerations", "bitewounds", "gunshotwound", "organdamage", "deeptissueinjury", "burn","bleeding", "bloodloss", "stun", "incrementalstun", "progressivestun", "concussion", "damage",
 
Environmental:<br>
"barotrauma", "watchersgaze", "hallucinating", "oxygenlow",
 
Poisons:<br>
"huskinfection", "paralysis", "morbusinepoisoning", "sufforinpoisoning", "deliriuminepoisoning", "cyanidepoisoning", "radiationsickness",
 
Side Effects:<br>
"opiateaddiction", "opiatewithdrawal", "opiateoverdose", "chemaddiction", "chemwithdrawal", "psychosis", "drunk", "nausea", "instanausea", "spaceherpes", "reaperstax",
 
Buffs:<br>
"slowmetabolism", "haste", "vigor", "huskinfectionresistance", "paralysisresistance", "psychosisresistance", "pressureresistance", "pressurestabilized", "combatstimulant",
 
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected!!Default
|-
|-
| payloadcost || Cost of payload || 100 Marks || number
| [affliction] || <ul><li>Affliction strength applied on a direct hit.</li><li>Affliction strength applied after passing a skill check requirement.</li><ul><li>Per second if <code>duration</code> is defined.</li></ul><li>Affliction resistance if <code>protects</code> is defined.</li></ul> || 20 / -20 / 0.5 || Float ||
|-
|-
| payloadcount || Amount of payloads an item can hold || 1 || number
| [affliction]fail || <ul><li>Affliction strength applied after failing a skill check requirement.</li><ul><li>Per second if <code>durationfail</code> is defined.</li></ul></ul> || 10 / -10 || Float ||  
|-
|-
| supplyname || Name of item that fits no other field || Food || text
| [affliction]blockchance || Chance to competely block an affliction. <br> NOTE: Currently doesn't work || 0.25 || Float ||
|-
|-
| supplycost || Cost of supply item || 100 Marks || number
| [affliction]chance || Chance for the affliction to be applied. <br> NOTE: Currently does what blockchance is supposed to do. || 0.5 || Float ||  
|-
|-
| supplycount || Amount of supply items an item can hold || 4 || number
| [affliction]syringe || Affliction strength applied when shot from a Syringe Gun. Used by cargo queries, currently not displayed || 10 || Float ||  
|-
|-
| supplyitems || Supply items used by an item || {{Hyperlink|Battery Cell}} || item(s)
| explosion[affliction] || Affliction strength applied in the explosion range hit. Shows if <code>explosionrange</code> is defined. || 20 || Float ||  
|-
|-
| itemcapacity || Amount of generic items a storage item can hold (for containers) || 4 || number
| explosion[affliction]chance || Chance for the affliction to be applied in the explosion range. Shows if <code>explosionrange</code> is defined. || 0.5 || Float ||  
|}
|}


== Medical Items ==
=== Other ===
 
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!style="Width: 31%"|Field!!Note!!Example!!Expected
!Field!!Note!!Example!!Expected!!Default
|-
|-
| usableinhealthinterface || Is the item a medical item || yes || boolean
| itemcapacity || Amount of generic item slots an item has || 6 small Items || String ||
|-
|-
| damage || "Any Internal Damage" in strength per second || 5 || number
| maxstack || Maximum number of this item in a stack || 8 || Integer ||
|-
|-
| combatstimulant, pressurestabilized, incrementalstun, stun, reaperstax, huskinfectionresistance, paralysisresistance, psychosisresistance, strengthen, psychosis, chemwithdrawal, cyanidepoisoning, deleriuminepoisoning, drunk, morbusinepoisoning, opiateaddiction, opiateoverdose, opiatewithdrawal, radiationsickness, sufforinpoisoning, paralysis, oxygenlow, nausea, hyperactivity, watchersgaze, durationincrease, chemaddiction, burn, bloodloss, bleeding, huskinfection || Specific afflictions in strength per second || 0.3 || number
| supplyname || Collective name of Item Supplies used by an item that don't fit elsewhere || Oxygen Supplies / Power Supplies / Whatever else is used || String ||
|-
|-
| xxxfail || Any Specific affliction in strength per second when failed || oxygenlow = 1.5 || number
| supplycount || Amount of supply items an item can hold || 4 || Integer ||
|-
|-
| duration || The duration of the item's effects on use in seconds || 10 || number
| supplyitems || Supply items used by an item || {{hl|Oxygen Tank}}<br>{{hl|Oxygenite Tank}}<br>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}} <code><nowiki>{{hl|Oxygen Tank}}<br>{{hl|Oxygenite Tank}}<br>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}</nowiki></code> || Wikitext ||
|-
|-
| durationfail || The duration of the item's effects on use in seconds when failed (optional, only use if duration and durationfail would be different) || 10 || number
| impacttolerance || The impact tolerance of the item. || 5 || Integer ||
|}
|}


== Skill Requirements ==
{{clr}}
----
 
= Skill Requirements =
*[[Template:Items_infobox/doc#Table_of_Contents|Back to Table of Contents]]
 
This section is only shown if any skill is defined:
 
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected
!Field!!Note!!Example!!Expected!!Default
|-
|-
| noreq || Skips Skill Requirements section if true || yes || whitespace/empty or string
| helm || Helm skill required to handle item without penalty || 10 || Integer ||
|-
|-
| helm || Helm skill required to handle item without penalty || 10 || number
| weapons || Weapons skill required to handle item without penalty || 10 || Integer ||
|-
|-
| weapons || Weapons skill required to handle item without penalty || 10 || number
| mechanical || Mechanical skill required to handle item without penalty || 10 || Integer ||
|-
|-
| mechanical || Mechanical skill required to handle item without penalty || 10 || number
| electrical || Electrical skill required to handle item without penalty || 10 || Integer ||
|-
|-
| electrical || Electrical skill required to handle item without penalty || 10 || number
| medical || Medical skill required to handle item without penalty || 10 || Integer ||
|-
|-
| medical || Medical skill required to handle item without penalty || 10 || number
|
|-
|-
| handicap || Penalty for not having the correct level for this item || Fuel used up 3x as fast || string
| handicap || Penalty for not meeting the skill requirements || Fuel used up 3x as fast / Spread +2.8 (0.2 → 3)  || String ||
|}
|}


== Crafting ==
{{clr}}
----
 
= Crafting =
*[[Template:Items_infobox/doc#Table_of_Contents|Back to Table of Contents]]
 
This section is always shown
 
If the <code>fabricator</code> value is undefined or "no" it will show "Constructible? <nowiki>|</nowiki> No". <br>
If the <code>deconstructor</code> value is undefined or "no" it will show "Deconstructible? <nowiki>|</nowiki> No".
 
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected
!Field!!Note!!Example!!Expected!!Default
|-
| fabricator || Is the item constructible in a regular fabricator || yes || Boolean ||
|-
| medicalfabricator || Is the item constructible in a medical fabricator || yes || Boolean ||
|-
| fabricatortime || Time required to craft an item in seconds || 10 || Integer ||
|-
| talent || Which talent is required to craft this item || {{hl|Warlord||Security Officer Job Icon}} <code><nowiki>{{hl|Warlord||Security Officer Job Icon}}</nowiki></code> || Wikitext ||
|-
| fabricatedamount || How many items are crafted at once || 4 || Integer ||
|-
|
|-
|-
| fabricator || Is the item constructible in a regular fabricator || yes || yes/no
| fabricatorskill || Skill required to craft an item || medical || String (allowed values=mechanical/electrical/medical/weapons/helm) ||
|-
|-
| medicalfabricator || Is the item constructible in a medical fabricator || yes || yes/no
| fabricatorskilllevel || Skill level required to craft an item || 20 || Integer ||
|-
|-
| talent || What talent is required to craft this item || [[Talents#Captain Talents|Quickdraw]] || link to the talents page with an anchor to the job<br>or link to the  specific talent page itself if we make one
| fabricatorskill2 || Second Skill required to craft an item || medical || String (allowed values=mechanical/electrical/medical/weapons/helm) ||
|-
|-
| fabricatedamount || How many items are crafted at once (if 1<) || 4 || number
| fabricatorskilllevel2 || Skill level of the second skill required to craft an item || 20 || Integer ||
|-
|-
| fabricatortime || Time required to craft item (seconds) || 10 || number
| fabricatormaterials || Items required to craft item || {{hl|Iron}} (x2) <code><nowiki>{{hl|Iron}} (x2)</nowiki></code> || Wikitext ||
|-
|-
| fabricatorskill || Skill required to craft item || medical || mechanical/electrical/medical/weapons/helm
|  
|-
|-
| fabricatorskilllevel || Skill level required to craft item || 20 || number
| deconstructor || Is the item deconstructible || yes || Boolean ||
|-
|-
| fabricatorskill2 || Second Skill required to craft item || medical || mechanical/electrical/medical/weapons/helm
| deconstructortime || Time required to deconstruct item in seconds || 10 || Integer ||
|-
| deconstructormaterials || Items recieved after deconstructing || {{hl|Iron}} <code><nowiki>{{hl|Iron}}</nowiki></code> || Wikitext ||
|}
 
== Alternative Crafting ==
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected!!Default
|-
|-
| fabricatorskilllevel2 || Skill level of the second skill required to craft item || 20 || number
| fabricatortimealt || Time required to craft item in seconds in an Alternative recipe || 10 || Integer ||
|-
|-
| fabricatormaterials || Items required to craft item || {{Hyperlink|Iron}} || item
| talentalt || Which talent is required to craft this item in an Alternative recipe || {{hl|Warlord||Security Officer Job Icon}} <code><nowiki>{{hl|Warlord||Security Officer Job Icon}}</nowiki></code> || Wikitext ||
|-
|-
| fabricatedamount || Amount of items produced by fabrication || 3 || number
| fabricatedamountalt || How many items are crafted at once in an Alternative recipe || 4 || Integer ||
|-
|-
| deconstructor || Is the item deconstructible || yes || yes/no
|
|-
|-
| deconstructortime || Time required to deconstruct item (seconds) || 10 || number
| fabricatorskillalt || Skill required to craft item in an Alternative recipe || medical || String (allowed values=mechanical/electrical/medical/weapons/helm) ||
|-
| fabricatorskilllevelalt || Skill level required to craft item in an Alternative recipe || 20 || Integer ||
|-
| fabricatormaterialsalt || Items required to craft item in an Alternative recipe || {{hl|Iron}} (x2) <code><nowiki>{{hl|Iron}} (x2)</nowiki></code> || Wikitext ||
|-
|-
| deconstructormaterials || Items recieved after deconstructing || {{Hyperlink|Iron}} || item
|}
|}


== Store ==
{{clr}}
----
 
= Store =
*[[Template:Items_infobox/doc#Table_of_Contents|Back to Table of Contents]]
This section is only shown if <code>baseprice</code> is defined.
 
*A store is only shown if its <code>[store]multiplier</code> is defined.
*If a store isn't defined in the XML, then its <code>[store]multiplier</code> should be set as 1 and its <code>[store]unbuyable</code> should be set as "true".
NOTE: I'm thinking of changing this, so that the multipliers are 1 by default, minavailables are 0 by default and unbuyable is true by default. This would display all stores on all item pages, but they will be set as <code>[store]multiplier=1</code> <code>[store]minavailable=0</code> and <code>[store]unbuyable=true</code> unless they are manually defined differently. Basically get it as close as possible to how the game automatically reads the XML. It would save us a lot of unnecessary writing, only needing to define the fields that differ from the default, instead of all of them every time.<br>
 
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected
!Field!!Note!!Example!!Expected!!Default
|-
| baseprice || Base price of item. || 200 || Integer
|-
| minleveldifficulty || Minimum level difficulty of the Outpost required for this item to be buyable, as defined in XML.|| 35 || Integer ||
|-
| unbuyable || Hides the "buy" section of the Store table. Set as True if an item can't be bought anywhere; In this case [store]unbuyable fields are not used. || true || Boolean ||
|-
|-
| nostore || Skips Store section if true || yes || whitespace/empty or string
|
|-
|-
| price || Used for legacy items || 100 || number
| outpostmultiplier || Price multiplier at a Habitation Outpost. || 1.25 || Float ||
|-
|-
| minleveldifficulty || Minimal level difficulty of the Outpost required for this item to be buyable || 35 || number
| outpostminavailable || Minimum stock available at a Habitation Outpost. || 3 || Integer ||
|-
|-
| unbuyable || If item can't be bought anywhere || true ||
| outpostunbuyable || Set true if unbuyable at a Habitation Outpost. || true || Boolean ||
* whitespace/empty - Both sections appear
* true - Hides Buy column
|-
|-
| baseprice || Base price of item || 200 || number
|
|-
|-
| outpostmultiplier || Price multiplier of item at the Habitation Outpost || 1.25 || number
| citymultiplier || Price multiplier at a Colony. || 1.25 || Float ||
|-
|-
| outpostminavailable || Minimum amout of stock available at the Habitation Outpost || 3 || number
| cityminavailable || Minimum stock available at a Colony. || 3 || Integer ||
|-
|-
| outpostunbuyable || If item is unbuyable in this outpost. Ignored if overall unbuyable=true is set. || true ||
| cityunbuyable || Set true if unbuyable at a Colony || true || Boolean ||
* whitespace/empty - Both prices appear
* true - Sets buy price to N/A
|-
|-
| citymultiplier || Price multiplier of item at a Colony || 1.25 || number
|
|-
|-
| cityminavailable || Minimum amout of stock available at a Colony || 3 || number
| researchmultiplier || Price multiplier at a Research Outpost || 1.25 || Float ||
|-
|-
| cityunbuyable || If item is unbuyable in this outpost. Ignored if overall unbuyable=true is set. || true ||
| researchminavailable || Minimum stock available at a Research Outpost || 3 || Integer ||
* whitespace/empty - Both prices appear
* true - Sets buy price to N/A
|-
|-
| researchmultiplier || Price multiplier of item at the Research Outpost || 1.25 || number
| researchunbuyable || Set true if unbuyable at a Research Outpost || true ||Boolean ||
|-
|-
| researchminavailable || Minimum amout of stock available at the Research Outpost || 3 || number
|
|-
|-
| researchunbuyable || If item is unbuyable in this outpost. Ignored if overall unbuyable=true is set. || true ||
| militarymultiplier || Price multiplier at a Military Outpost || 1.25 || Float ||
* whitespace/empty - Both prices appear
* true - Sets buy price to N/A
|-
|-
| militarymultiplier || Price multiplier of item at the Military Outpost || 1.25 || number
| militaryminavailable || Minimum stock at a Military Outpost || 3 || Integer ||
|-
|-
| militaryminavailable || Minimum amout of stock available at the Military Outpost || 3 || number
| militaryunbuyable || Set true if unbuyable at a Military Outpost || true || Boolean ||
|-
|-
| militaryunbuyable || If item is unbuyable in this outpost. Ignored if overall unbuyable=true is set. || true ||
|
* whitespace/empty - Both prices appear
* true - Sets buy price to N/A
|-
|-
| minemultiplier || Price multiplier of item at the Mining Outpost || 1.25 || number
| minemultiplier || Price multiplier at a Mining Outpost || 1.25 || Float ||
|-
|-
| mineminavailable || Minimum amout of stock available at the Mining Outpost || 3 || number
| mineminavailable || Minimum stock at a Mining Outpost || 3 || Integer ||
|-
|-
| mineunbuyable || If item is unbuyable in this outpost. Ignored if overall unbuyable=true is set. || all ||
| mineunbuyable || Set true if unbuyable at a Mining Outpost || true || Boolean ||
* whitespace/empty - Both prices appear
* true - Sets buy price to N/A
|-
|-
| medicalmultiplier || Price multiplier of item from this merchant || 1.25 || number
|
|-
|-
| medicalminavailable || Minimum amout of stock available from this merchant || 3 || number
| medicalmultiplier || Price multiplier at a Medical Merchant || 1.25 || Float ||
|-
|-
| medicalunbuyable || If item is unbuyable at this merchant. Ignored if overall unbuyable=true is set. || all ||
| medicalminavailable || Minimum stock at a Medical Merchant || 3 || Integer ||
* whitespace/empty - Both prices appear
* true - Sets buy price to N/A
|-
|-
| engineeringmultiplier || Price multiplier of item from this merchant || 1.25 || number
| medicalunbuyable || Set true if unbuyable at a Medical Merchant || true || Boolean ||
|-
|-
| engineeringminavailable || Minimum amout of stock available from this merchant || 3 || number
|
|-
|-
| engineeringunbuyable || If item is unbuyable at this merchant. Ignored if overall unbuyable=true is set. || all ||
| engineeringmultiplier || Price multiplier at an Engineering Merchant || 1.25 || Float ||
* whitespace/empty - Both prices appear
* true - Sets buy price to N/A
|-
|-
| armorymultiplier || Price multiplier of item from this merchant || 1.25 || number
| engineeringminavailable || Minimum stock at an Engineering Merchant || 3 || Integer ||
|-
|-
| armoryminavailable || Minimum amout of stock available from this merchant || 3 || number
| engineeringunbuyable || Set true if unbuyable at an Engineering Merchant. || true || Boolean ||
|-
|-
| armoryunbuyable || If item is unbuyable at this merchant. Ignored if overall unbuyable=true is set. || all ||
|
* whitespace/empty - Both prices appear
|-
* true - Sets buy price to N/A
| armorymultiplier || Price multiplier at an Armory Merchant || 1.25 || Float ||
|-
| armoryminavailable ||  Minimum stock at an Armory Merchant || 3 || Integer ||
|-
| armoryunbuyable || Set true if unbuyable at an Armory Merchant || true || Boolean ||
|}
|}


== Other ==
= Technical =
This section is always shown.
 
{|class="wikitable sortable" style="width: 100%;"
{|class="wikitable sortable" style="width: 100%;"
!Field!!Note!!Example!!Expected
!Field!!Note!!Example!!Expected!!Default
|-
| identifier || Internal identifier of the item, as defined in XML.|| wrench || String ||
|-
| category || Category of the item || Machine || String (allowed values=Structure, Decorative, Machine, Medical, Weapon, Diving, Equipment, Fuel, Electrical, Material, Alien, Wrecked, Legacy, Misc) || Misc
|-
| category2 || Second category of the item, if applicable. || Weapon || String (allowed values=Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost) ||
|-
|-
| nocat || Removes page categories if defined. || yes || whitespace/empty or string
| subcategory || Subcategory of the item || Outpost || String (allowed values=Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost) ||
|-
| tags || Tags of the item, same as XML. || smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon || List (,) of String ||  
|}
|}


<div style="height: 1200px">
{{clr}}
== Tool Example ==
----
{{Items infobox
 
| name = Wrench
= Examples =
| icon = Wrench.png
*[[Template:Items_infobox/doc#Table_of_Contents|Back to Table of Contents]]
| caption = Inventory icon.
 
| sprite = Wrench sprite.png
NOTE: Some of these are slightly outdated in terms of formatting - using some deprecated (replaced or no longer used) fields, or not having a Boilerplate for their Item Type, and therefore not following any set style/layout standards but instead copypasta from other pages. See the linked Boilerplates for the most up to date version and use them as a guide when editing/making pages.
| spritewidth = 61
 
| caption2 = Sprite.
<!-- Yes i fucking copied and modified the TOC html for this -->
| identifier = wrench
<div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><div class="toctitle" lang="en" dir="ltr"></div>
| description = Makes mechanical repairs possible.
<ul>
| category = Equipment
<li class="toclevel-1 tocsection-15">[[Template:Items_infobox/doc#Examples|Examples]]
| tags = smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon
<ul>
| type = tool
<li class="toclevel-2 tocsection-16">[[Template:Items_infobox/doc#Ranged_Weapon|1. Ranged Weapon]]</li>
| noreq = yes
<li class="toclevel-2 tocsection-17">[[Template:Items_infobox/doc#Ammo_2|2. Ammo]]</li>
| afflictions = yes
<li class="toclevel-2 tocsection-18">[[Template:Items_infobox/doc#Melee_Weapon|3. Melee Weapon]]</li>
| bluntforcetrauma = 4
<li class="toclevel-2 tocsection-19">[[Template:Items_infobox/doc#Gear_2|4. Gear]]</li>
| stun = 0.2
<li class="toclevel-2 tocsection-20">[[Template:Items_infobox/doc#Medical_2|5. Medical]]</li>
| attackspeed = 1
</ul>
| structuredamage = 2
</li>
| baseprice = 10
</ul>
| outpostmultiplier = 1
</div>
| outpostminavailable = 10
 
| citymultiplier = 0.9
{{clr}}
| cityminavailable = 15
----
 
== Ranged Weapon ==
*[[Template:Items_infobox/doc#Examples|Back to Example Table of Contents]]
{{main|Boilerplate:Ranged Weapon}}
{{main|Autoshotgun}}
 
{{Items infobox  
| image = Autoshotgun.png
| width = 218
| description = A roughly engineered automatic shotgun with a vast ammo capacity. Its size and heft makes it a bit cumbersome to lug around.
| identifier = autoshotgun
 
<!-- Gear Info-->
| geartype = toolbelt
 
<!-- Weapon info-->
| type = weapon
| weapontype = ranged
| size = medium
| qualitybonuses = +10% Affliction Strength
| weapondamagemodifier = 0.9
| attackspeed = 2.22
| ammo = {{hl|Shotgun Shell}}<br>{{hl|Explosive Slug}}<br>{{hl|Shotgun Rubber Shell}}
| ammomaxstack = 12
| ammocount = 24
| weapons = 60
| handicap = Spread +2.8 (0.2 → 3)
 
<!-- Fabricating -->
| fabricator = Yes
| talent = {{hl|Pacification Kit||Security Officer Job Icon}}
| fabricatortime = 65
| fabricatorskill = weapons
| fabricatorskilllevel = 55
| fabricatormaterials = {{hl|Ballistic Fiber}}<br>{{hl|Physicorium Bar}} (x2)<br>{{hl|Titanium-Aluminium Alloy}} (x2)
 
 
<!-- Deconstructing -->
| deconstructor = Yes
| deconstructortime = 30
| deconstructormaterials = {{hl|Ballistic Fiber}}<br>{{hl|Physicorium Bar}} (x2)<br>{{hl|Titanium-Aluminium Alloy}}
 
<!-- Price -->
| baseprice = 710
| outpostmultiplier = 1.5
| citymultiplier = 1.25
| researchmultiplier = 1.25
| researchmultiplier = 1.25
| researchminavailable = 10
| militarymultiplier = 0.9
| militarymultiplier = 1.25
| minemultiplier = 1.25
| militaryminavailable = 10
| armorymultiplier = 0.9
| minemultiplier = 1
 
| mineminavailable = 10
<!-- Availability (uncomment what is needed) -->
| deconstructor = Yes
| unbuyable = true
| fabricator = Yes
| fabricatortime = 10
| fabricatorskill = mechanical
| fabricatorskilllevel = 20
| fabricatedamount = 1
| deconstructortime = 10
| fabricatormaterials = {{Hyperlink|Iron}}
| deconstructormaterials = {{Hyperlink|Iron}}
| nocat = yes
}}
}}
The example seen to the right is defined as follows:
<div style="height: 940px;">
<pre>
<pre>
{{Items infobox
{{Items infobox  
| name = Wrench
| image = Autoshotgun.png
| icon = Wrench.png
| width = 218
| caption = Inventory icon.
| description = A roughly engineered automatic shotgun with a vast ammo capacity. Its size and heft makes it a bit cumbersome to lug around.
| sprite = Wrench sprite.png
| identifier = autoshotgun
| spritewidth = 61
 
| caption2 = Sprite.
<!-- Gear Info-->
| identifier = wrench
| geartype = toolbelt
| description = Makes mechanical repairs possible.
 
| category = Equipment
<!-- Weapon info-->
| tags = smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon
| type = weapon
| type = tool
| weapontype = ranged
| noreq = yes
| size = medium
| afflictions = yes
| qualitybonuses = +10% Affliction Strength
| bluntforcetrauma = 4
| weapondamagemodifier = 0.9
| stun = 0.2
| attackspeed = 2.22
| attackspeed = 1
| ammo = {{hl|Shotgun Shell}}<br>{{hl|Explosive Slug}}<br>{{hl|Shotgun Rubber Shell}}
| structuredamage = 2
| ammomaxstack = 12
| baseprice = 10
| ammocount = 24
| outpostmultiplier = 1
| weapons = 60
| outpostminavailable = 10
| handicap = Spread +2.8 (0.2 → 3)
| citymultiplier = 0.9
 
| cityminavailable = 15
<!-- Fabricating -->
| researchmultiplier = 1.25
| researchminavailable = 10
| militarymultiplier = 1.25
| militaryminavailable = 10
| minemultiplier = 1
| mineminavailable = 10
| deconstructor = Yes
| fabricator = Yes
| fabricator = Yes
| fabricatortime = 10
| talent = {{hl|Pacification Kit||Security Officer Job Icon}}
| fabricatorskill = mechanical
| fabricatortime = 65
| fabricatorskilllevel = 20
| fabricatorskill = weapons
| fabricatedamount = 1
| fabricatorskilllevel = 55
| deconstructortime = 10
| fabricatormaterials = {{hl|Ballistic Fiber}}<br>{{hl|Physicorium Bar}} (x2)<br>{{hl|Titanium-Aluminium Alloy}} (x2)
| fabricatormaterials = {{Hyperlink|Iron}}
 
| deconstructormaterials = {{Hyperlink|Iron}}
 
}}</pre></div></div>
<!-- Deconstructing -->
<div style="height: 1400px">
== Medical Item Example ==
{{Items infobox
| name = Morphine
| icon = Morphine.png
| caption = Inventory icon.
| sprite = Morphine_sprite.png
| spritewidth = 37
| caption2 = Sprite.
| identifier = antidama1
| description = A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
| category = Medical
| tags = smallitem,chem,medical,syringe
| damage = 5
| damagefail = 2.5
| burn = 0.1
| burnfail = 0.05
| oxygenlow = 2
| oxygenlowfail = 3
| opiateaddiction = 0.5
| opiateaddictionfail = 2.5
| opiateoverdose = 1.0
| opiateoverdosefail = 2.0
| opiatewithdrawal = 3.0
| medical = 30
| duration = 10
| baseprice = 100
| minavailable = 10
| researchmultiplier = 1
| outpostmultiplier = 1
| minemultiplier = 1
| militarymultiplier = 1
| citymultiplier = 1
| medicalmultiplier = 0.9
| deconstructor = Yes
| deconstructor = Yes
| fabricator = Yes
| deconstructortime = 30
| fabricatortime = 30
| deconstructormaterials = {{hl|Ballistic Fiber}}<br>{{hl|Physicorium Bar}} (x2)<br>{{hl|Titanium-Aluminium Alloy}}
| fabricatorskill = medical
 
| fabricatorskilllevel = 18
<!-- Price -->
| fabricatedamount = 1
| baseprice = 710
| deconstructortime = 20
| outpostmultiplier = 1.5
| fabricatormaterials = {{Hyperlink|Opium}} x2
| citymultiplier = 1.25
| deconstructormaterials = {{Hyperlink|Opium}}
| researchmultiplier = 1.25
| nocat = yes
| militarymultiplier = 0.9
| usableinhealthinterface = yes
| minemultiplier = 1.25
| armorymultiplier = 0.9
 
<!-- Availability (uncomment what is needed) -->
| unbuyable = true
}}
}}
The example seen to the right is defined as follows:
</pre>
<div style="height: 940px;">
 
<pre>
{{clr}}
{{Items infobox
| name = Morphine
| icon = Morphine.png
| caption = Inventory icon.
| sprite = Morphine_sprite.png
| spritewidth = 37
| caption2 = Sprite.
| identifier = antidama1
| description = A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
| category = Medical
| tags = smallitem,chem,medical,syringe
| damage = 5
| damagefail = 2.5
| burn = 0.1
| burnfail = 0.05
| oxygenlow = 2
| oxygenlowfail = 3
| opiateaddiction = 0.5
| opiateaddictionfail = 2.5
| opiateoverdose = 1.0
| opiateoverdosefail = 2.0
| opiatewithdrawal = 3.0
| medical = 30
| duration = 10
| baseprice = 100
| minavailable = 10
| researchmultiplier = 1
| outpostmultiplier = 1
| minemultiplier = 1
| militarymultiplier = 1
| citymultiplier = 1
| medicalmultiplier = 0.9
| deconstructor = Yes
| fabricator = Yes
| fabricatortime = 30
| fabricatorskill = medical
| fabricatorskilllevel = 18
| fabricatedamount = 1
| deconstructortime = 20
| fabricatormaterials = {{Hyperlink|Opium}} x2
| deconstructormaterials = {{Hyperlink|Opium}}
| nocat = yes
| usableinhealthinterface = yes
}}</pre></div></div>
<div style="height: 1400px">
----
----
== Infobox Test ==
 
== Ammo ==
*[[Template:Items_infobox/doc#Examples|Back to Example Table of Contents]]
{{main|Shotgun Shell}}
 
{{Items infobox
{{Items infobox
| name = Harpoon
| icon = Shotgun Shell.png
| icon = Harpoon.png
| identifier = spear
| description = Harpoon
| type = ammo
| type = ammo
| description = Ammunition for a shotgun. Lethal.
| identifier = shotgunshell
{{c|<!-- AMMUNITION -->}}
| ammotype = ranged
| ammotype = ranged
| afflictions = yes
| afflictions = yes
| lacerations = 3
| gunshotwound = 8
| bleeding = 6
| bleeding = 6
| stun = 0.1
| stun = 0.1
| structuredamage = 1
| structuredamage = 1
| pellets = 16
| projectiles = 8
| projectile = Instant
| projectile = Instant
| magazine = 8
| usedby = Riot Shotgun
| usedby2 = Autoshotgun
| usedby2weapondamagemodifier = 0.9
| usedby3 = Boom Stick
| maxstack = 12
| severlimbsprobability = 50
| severlimbsprobability = 50
| usedby = Harpoon Gun
 
| usedby2 = Harpoon Coil-Rifle
{{c|<!-- CRAFTING -->}}
| usedby2weapondamagemodifier = 1.7
| talent = [[Munitions Expertise]]
| weapondamagemodifier = 1.2
| fabricatormaterials = {{hl|Magnesium}} (x2)<br>{{hl|Lead}} (x2)<br>{{hl|Plastic}}
| ballastfloradamage = 10
| deconstructor = No
| fuelduration = 26.7
| fabricatorskill = weapons
| fuelduration2 = 40
| fabricatorskilllevel = 30
| magazine = 10
| fabricatedamount = 12
| magazine2 = 20
| fabricatortime = 20
| helm = 30
| fabricator = yes
| baseprice = 10
 
| outpostmultiplier = 1
{{c|<!-- STORE -->}}
| outpostminavailable = 10
| baseprice         = 30
| citymultiplier = 0.9
| outpostmultiplier = 1.5  | outpostunbuyable    = true
| cityminavailable = 15
| citymultiplier     = 1.25 | cityminavailable     = 4
| researchmultiplier = 1.25
| researchmultiplier = 1.25 | researchunbuyable    = true
| researchminavailable = 10
| militarymultiplier = 0.| militaryminavailable = 12
| militarymultiplier = 1.25
| minemultiplier     = 1.25 | mineunbuyable        = true
| militaryminavailable = 10
| armorymultiplier  = 0.9  | armoryminavailable  = 12
| minemultiplier = 1
}}
| mineminavailable = 10
<pre>
| deconstructor = Yes
| fabricator = Yes
| fabricatortime = 10
| fabricatorskill = helm
| fabricatorskilllevel = 20
| fabricatedamount = 1
| deconstructortime = 10
| fabricatormaterials = {{Hyperlink|Iron}}
| deconstructormaterials = {{Hyperlink|Iron}}
| nocat = yes
}}</div>
----
<div style="height: 1400px">
== Infobox Test 2 ==
{{Items infobox
{{Items infobox
| name = Iron
| icon = Shotgun Shell.png
| iconwidth = 36
| type = ammo
| type = mineralmaterial
| description = Ammunition for a shotgun. Lethal.
| noreq = yes
| identifier = shotgunshell
| wikidescription = Can be used in the manufacture of simple tools, or refined into steel by mixing it with Carbon.
| sources = [[File:Lazulite_Mineral.png|90px]] {{hl|Lazulite|50px}} (x1)    [[File:Chamosite_Mineral.png|90px]] {{hl|Chamosite|50px}} (x2) [[File:Iron Ore_Mineral.png|90px]] {{hl|Iron Ore|50px}} (x4)<br>[[File:Stannite_Mineral.png|90px]] {{hl|Stannite|50px}} (x1) [[File:Titanite_Mineral.png|90px]] {{hl|Titanite|50px}} (x1)
| identifier = iron


{{c|<!-- AMMUNITION -->}}
{{c|<!-- AMMUNITION -->}}
| qualitybonuses  = +10% Affliction Strength
| ammotype = ranged
| ammotype = ranged
| afflictions = yes
| afflictions = yes
| lacerations = 3
| gunshotwound = 8
| bleeding = 6
| bleeding = 6
| stun = 0.1
| stun = 0.1
| structuredamage = 1
| structuredamage = 1
| pellets = 16
| projectiles = 8
| projectile = Instant
| projectile = Instant
| magazine = 8
| usedby = Riot Shotgun
| usedby2 = Autoshotgun
| usedby2weapondamagemodifier = 0.9
| usedby3 = Boom Stick
| maxstack = 12
| severlimbsprobability = 50
| severlimbsprobability = 50


| usedby = Scrap Cannon
{{c|<!-- CRAFTING -->}}
| maxstack = 8
| talent = [[Munitions Expertise]]
| fabricatormaterials = {{hl|Magnesium}} (x2)<br>{{hl|Lead}} (x2)<br>{{hl|Plastic}}
| deconstructor = No
| fabricatorskill = weapons
| fabricatorskilllevel = 30
| fabricatedamount = 12
| fabricatortime = 20
| fabricator = yes
 
{{c|<!-- STORE -->}}
| baseprice          = 30
| outpostmultiplier  = 1.5  | outpostunbuyable    = true
| citymultiplier    = 1.25 | cityminavailable    = 4
| researchmultiplier = 1.25 | researchunbuyable    = true
| militarymultiplier = 0.9  | militaryminavailable = 12
| minemultiplier    = 1.25 | mineunbuyable        = true
| armorymultiplier  = 0.9  | armoryminavailable  = 12
}}
</pre>
 
{{clr}}
----
 
== Melee Weapon ==
*[[Template:Items_infobox/doc#Examples|Back to Example Table of Contents]]
{{main|Boilerplate:Melee Weapon}}
{{main|Boarding Axe}}
 
{{Items infobox
| icon = Boarding Axe.png
| sprite = Boarding Axe sprite.png
| spritewidth = 164
| description = A hand axe, meant to be wielded with both hands.
| identifier = boardingaxe
| type = weapon
| size = medium
 
<!-- Weapon info-->
| weapontype = melee
| meleerange = 1.55
| attackspeed = 0.83
| structuredamage = 25
| severlimbsprobability = 750
 
| afflictions = yes
| lacerations = 36
| bleeding = 10
| stun = 0.5
 
<!-- Fabricating -->
| fabricator = Yes
| talent = {{hl|Boarding Party|25|Security Officer Job Icon}}
| fabricatortime = 25
| fabricatorskill = weapons
| fabricatorskilllevel = 40
| fabricatormaterials = {{hl|Titanium-Aluminum Alloy}} (x2)


| baseprice = 8
<!-- Deconstructing -->
| outpostunbuyable  = true
| deconstructor = Yes
| cityunbuyable    = true
| deconstructortime = 20
| researchunbuyable = true
| deconstructormaterials = {{hl|Titanium-Aluminum Alloy}}
| militaryunbuyable = true
| mineminavailable  = 20


| outpostmultiplier = 1.3
<!-- Price -->
| citymultiplier     = 1.25
| baseprice = 350
| researchmultiplier = 1.1
| outpostmultiplier = 1.25
| militarymultiplier = 1.1
| citymultiplier = 1.25
| minemultiplier    = 0.8
| researchmultiplier = 1.25
| militarymultiplier = 0.9
| minemultiplier = 1.25
| medicalmultiplier = 1
| engineeringmultiplier = 1
| armorymultiplier = 1


| deconstructor = No
<!-- Availability (uncomment what is needed) -->
| fabricator = No
| unbuyable = true
}}</div>
}}
<pre>
{{Items infobox
| icon = Boarding Axe.png
| sprite = Boarding Axe sprite.png
| spritewidth = 164
| description = A hand axe, meant to be wielded with both hands.
| identifier = boardingaxe
| type = weapon
| size = medium
 
<!-- Weapon info-->
| weapontype = melee
| meleerange = 1.55
| attackspeed = 0.83
| structuredamage = 25
| severlimbsprobability = 750
 
| afflictions = yes
| lacerations = 36
| bleeding = 10
| stun = 0.5
 
<!-- Fabricating -->
| fabricator = Yes
| talent = {{hl|Boarding Party|25|Security Officer Job Icon}}
| fabricatortime = 25
| fabricatorskill = weapons
| fabricatorskilllevel = 40
| fabricatormaterials = {{hl|Titanium-Aluminum Alloy}} (x2)
 
<!-- Deconstructing -->
| deconstructor = Yes
| deconstructortime = 20
| deconstructormaterials = {{hl|Titanium-Aluminum Alloy}}
 
<!-- Price -->
| baseprice = 350
| outpostmultiplier = 1.25
| citymultiplier = 1.25
| researchmultiplier = 1.25
| militarymultiplier = 0.9
| minemultiplier = 1.25
| medicalmultiplier = 1
| engineeringmultiplier = 1
| armorymultiplier = 1
 
<!-- Availability (uncomment what is needed) -->
| unbuyable = true
}}
</pre>


{{clr}}
{{clr}}
----
== Gear ==
*[[Template:Items_infobox/doc#Examples|Back to Example Table of Contents]]
{{main|Boilerplate:Gear}}
{{main|Diving Suit}}
{{Items infobox
| image = Diving Suit icon.png
| image2 = Diving Suit sprite.png
| imagewidth2 = 148
| description = An atmospheric diving suit capable of withstanding the immense pressure under Europa's crust. Only offers adequate protection up to the depth of 4,000 meters - beyond this point, an Abyss or Combat suit is required.
| identifier = divingsuit
| type = gear
| size = undefined
| note = Requires Breathing Supply.<br>Hides the user's identity.
<!-- Gear Info-->
| geartype = outerwear
| gearspeedmodifiers = -20% Movement Speed
| protects = All


----
<!-- Diving -->
== Infobox test 3 ==
| supplyname = Breathing Supplies
| supplyitems = {{hl|Oxygen Tank}}<br>{{hl|Oxygenite Tank}}<br>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}
| supplycount = 1 Item Slot
| pressureprotection = 4000
 
<!-- Resistances -->
| bitewounds = 0.7
| lacerations = 0.7
| bluntforcetrauma = 0.7
| gunshotwound = 0.7
| burn = 0.75
| huskinfection = 0.5
| huskinfectionchance = 0.5
| radiationsickness =  0.75
| bleeding = 0.7
| barotrauma = 0.0
 
<!-- Fabricating -->
| fabricator = Yes
| fabricatortime = 30
| fabricatorskill = mechanical
| fabricatorskilllevel = 40
| fabricatormaterials = {{hl|Titanium-Aluminium Alloy}}<br>{{hl|Rubber}} (x2)
 
<!-- Deconstructing -->
| deconstructor = Yes
| deconstructortime = 30
| deconstructormaterials = {{hl|Titanium-Aluminium Alloy}}<br>{{hl|Rubber}}
 
<!-- Store info -->
| baseprice = 250
 
| outpostmultiplier = 0.9    | outpostminavailable = 2
| citymultiplier = 0.85      | cityminavailable = 4
| researchmultiplier = 1    | researchminavailable = 3
| militarymultiplier = 1    | militaryminavailable = 3
| minemultiplier = 1.25      | mineminavailable = 5
| medicalmultiplier = 1      | medicalunbuyable = true
| engineeringmultiplier = 1  | engineeringunbuyable = true
| armorymultiplier = 1      | armoryunbuyable = true
}}
<pre>
{{Items infobox
{{Items infobox
| name        = Body Armor
| image = Diving Suit icon.png
| identifier  = bodyarmor
| image2 = Diving Suit sprite.png
| description = While the body armor won't offer adequate protection against most of the inhabitants of the subsurface ocean, it can be extremely useful if there are traitors on board.
| imagewidth2 = 148
| categories  = Equipment
| description = An atmospheric diving suit capable of withstanding the immense pressure under Europa's crust. Only offers adequate protection up to the depth of 4,000 meters - beyond this point, an Abyss or Combat suit is required.
| tags        = smallitem,clothing
| identifier = divingsuit
<!-- General Stats -->
| type = gear
| qualitybonuses  = +10% Affliction Strength
| size = undefined
| note = Requires Breathing Supply.<br>Hides the user's identity.
 
<!-- Gear Info-->
| geartype = outerwear
| geartype = outerwear
| gearskillmodifiers = +5 Weapons<br>+10 Engineering
| gearspeedmodifiers = -20% Movement Speed
| gearspeedmodifiers = -20% Movement Speed<br>+30% Swimming Speed
| protects = All
 
<!-- Diving -->
| supplyname = Breathing Supplies
| supplyitems = {{hl|Oxygen Tank}}<br>{{hl|Oxygenite Tank}}<br>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}
| supplycount = 1 Item Slot
| pressureprotection = 4000
| pressureprotection = 4000
| protects        = Torso, LeftArm, RightLeg
 
| burn             = *0.9
<!-- Resistances -->
| bitewounds      = *0.3
| bitewounds = 0.7
| bluntforcetrauma = *0.2
| lacerations = 0.7
| lacerations      = *0.2
| bluntforcetrauma = 0.7
| gunshotwound    = *0.2
| gunshotwound = 0.7
| bleeding        = *0.1
| burn = 0.75
<!-- Crafting -->
| huskinfection = 0.5
| fabricatorskill       = weapons
| huskinfectionchance = 0.5
| fabricatorskilllevel   = 40
| radiationsickness = 0.75
| fabricatormaterials   = {{hl|Ballistic Fiber|32}} (x3)
| bleeding = 0.7
| fabricatortime        = 30
| barotrauma = 0.0
| deconstructormaterials = {{hl|Ballistic Fiber|32}} (x2)
 
| deconstructortime      = 40
<!-- Fabricating -->
<!-- Store -->
| fabricator = Yes
| baseprice           = 480
| fabricatortime = 30
| outpostsold          = false
| fabricatorskill = mechanical
| outpostmultiplier   = 1.3
| fabricatorskilllevel = 40
| citysold            = false
| fabricatormaterials = {{hl|Titanium-Aluminium Alloy}}<br>{{hl|Rubber}} (x2)
| citymultiplier       = 1.2
 
| researchsold        = false
<!-- Deconstructing -->
| militaryminavailable = 3
| deconstructor = Yes
| militarymultiplier  = 0.9
| deconstructortime = 30
| minesold            = false
| deconstructormaterials = {{hl|Titanium-Aluminium Alloy}}<br>{{hl|Rubber}}
| medicalsold          = false
 
| engineeringsold      = false
<!-- Store info -->
| armoryminavailable  = 3
| baseprice = 250
| armorymultiplier     = 0.9
 
| outpostmultiplier = 0.9    | outpostminavailable = 2
| citymultiplier = 0.85      | cityminavailable = 4
| researchmultiplier = 1    | researchminavailable = 3
| militarymultiplier = 1    | militaryminavailable = 3
| minemultiplier = 1.25      | mineminavailable = 5
| medicalmultiplier = 1      | medicalunbuyable = true
| engineeringmultiplier = | engineeringunbuyable = true
| armorymultiplier = 1      | armoryunbuyable = true
}}
}}
</pre>


{{clr}}
{{clr}}
----


----
== Medical ==
*[[Template:Items_infobox/doc#Examples|Back to Example Table of Contents]]
{{main|Morphine}}


== TEST 4 ==
Medical items currently use the [[Template:Medical_infobox]]. This is how they would look if they used this one.


{{Version|0.20.15.0|RelatedTalents doesn't work because of the Apostrophe}}
{{Items infobox
{{Items infobox
| noreq = yes
| icon = Morphine.png
| type = ammo
| identifier = antidama1
| name = {{PAGENAME}}
| type = medicine
| description = A shotgun slug containing explosive material. Powerful, but still somewhat inaccurate on account of being fired out of a shotgun.
| description = A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
| identifier = shotgunslugexplosive
| sort = 2
 
| burnfail = -0.05
| medical = 30
| duration = 10
| damage = -5
| damagefail = -2.5
| burn = -0.1
| oxygenlow = 2
| oxygenlowfail = 3
| opiateaddiction = 0.5
| opiateaddictionfail = 2.5
| opiateoverdose = 1
| opiateoverdosefail = 2
| opiatewithdrawal = -3
| opiatewithdrawalfail = -3
 
| fabricator = no
| medicalfabricator = yes
| deconstructor = yes
| fabricatormaterials = {{hl|Opium}} (x2)
| fabricatortime = 30
| fabricatorskilllevel = 18
| deconstructormaterials = {{hl|Opium}} <abbr title="Condition based on deconstructed item condition">(%)</abbr>
| deconstructortime = 20
 
| baseprice = 100
| outpostmultiplier = 1
| citymultiplier = 1
| researchmultiplier = 1
| militarymultiplier = 1
| minemultiplier = 1
| medicalmultiplier = 0.9
 
| outpostminavailable = 12
| cityminavailable = 12
| researchminavailable = 12
| militaryminavailable = 12
| mineminavailable = 12
| medicalminavailable = 12
}}
<pre>
{{Items_infobox
| icon = Morphine.png
| identifier = antidama1
| type = medicine
| description = A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
| sort = 2
 
| burnfail = -0.05
| medical = 30
| duration = 10
| damage = -5
| damagefail = -2.5
| burn = -0.1
| oxygenlow = 2
| oxygenlowfail = 3
| opiateaddiction = 0.5
| opiateaddictionfail = 2.5
| opiateoverdose = 1
| opiateoverdosefail = 2
| opiatewithdrawal = -3
| opiatewithdrawalfail = -3
 
| fabricator = no
| medicalfabricator = yes
| deconstructor = yes
| fabricatormaterials = {{hl|Opium}} (x2)
| fabricatortime = 30
| fabricatorskilllevel = 18
| deconstructormaterials = {{hl|Opium}} <abbr title="Condition based on deconstructed item condition">(%)</abbr>
| deconstructortime = 20
 
| baseprice = 100
| outpostmultiplier = 1
| citymultiplier = 1
| researchmultiplier = 1
| militarymultiplier = 1
| minemultiplier = 1
| medicalmultiplier = 0.9


{{c|<!-- AMMUNITION -->}}
| outpostminavailable = 12
| ammotype = ranged
| cityminavailable = 12
| afflictions              = yes
| researchminavailable = 12
| deeptissueinjury          = 20
| militaryminavailable = 12
| bleeding                  = 20
| mineminavailable = 12
| stun                      = 0.8
| medicalminavailable = 12
| explosionrange            = 0.7
| explosionburn            = 60
| structuredamage          = 20
| explosionstructuredamage  = 8
| usedby  = Riot Shotgun
| usedby2 = Autoshotgun
| usedby2weapondamagemodifier = 0.9
| usedby3 = Boom Stick
| severlimbsprobability = 100
| penetration = 50
}}
}}
</pre>


{{clr}}
{{clr}}
----


{{doc/end}}
{{doc/end}}

Revision as of 00:13, 10 January 2023

Documentation

This template is used to display the infobox on the right side of almost all Item pages. Fields defined on every page using this template are automatically stored in Special:CargoTables/Items and can be used by other templates.

Main Boilerplate with all possible fields - Boilerplate:Items infobox.

Table of Contents

Field Types

Most common Field Types of the Cargo Table Special:CargoTables/Items. If a value does not fit the Field Type it will be saved incorrectly or not at all. To see the full list click here.

Field Type Note Field Example Value Example
String Holds standard, non-wikitext text (default max size: 300 characters) | description = String Makes mechanical repairs possible.
Integer Holds an integer | iconsize = Integer 80
Float Holds a real, i.e. non-integer, number | fuelduration = Float 16.7
Boolean Holds a Boolean value, whose value should be 1 or 0 / yes or no | fabricator = Boolean yes
Wikitext Holds longer text that is meant to be parsed by the MediaWiki parser | fuel = Wikitext {{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}
File Holds the name of an uploaded file or image in the wiki (similar to Page, but does not require specifying the "File:" namespace) (default max size: 300 characters) | sprite = File Wrench sprite.png
List () of FieldType A list of FieldType separated by Value the in Brackets () | tags = List (,) of String smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon

Basic

Section always displayed.

Field Note Example Expected Default
name Item name Wrench String {{PAGENAME}}
description In-game item description, as defined in EnglishVanilla.xml. Makes mechanical repairs possible. String
wikidescription Used by cargo queries. Template:Medical table Template:Crafting table Wikitext
note Summary of this items miscellaneous properties that don't have their own field. Used by cargo queries. Template:GearTable Wikitext
sources Used by cargo. Template:Crafting_table Wikitext
icon Icon of an item Wrench.png File {{PAGENAME}}.png
iconsize Forced icon width (px) 80 Integer 128 / 64 if sprite exists
iconcaption Caption under the icon Inventory Icon String Inventory Icon
sprite Sprite of an item Wrench sprite.png File {{PAGENAME}} sprite.png
spritesize Forced sprite width (px) 160 Integer 64
spritecaption Caption under the sprite. Shows only if sprite is defined. Sprite String Sprite
sprite2 Sprite of an item Wrench sprite.png File {{PAGENAME}} sprite.png
sprite2size Forced sprite width (px) 160 Integer 64
sprite2caption Caption under the second sprite. Shows only if sprite2 is defined. Sprite String Sprite

Stats

Stats section is displayed if any* of the following is defined:

*By any I mean almost any (There is a lot of them). If the "Statistics" header is not displayed even though you have one of these defined tell me - G3.

Quality

Field Note Example Expected Default
qualitybonuses Bonuses from each quality level +10% Affliction Strength List (<br>) of String
qualitytalent Talent which increases the quality level of the item. Weaponsmith {{hl|Weaponsmith||Security Officer Job Icon}} Wikitext

Weapon

Field Note Example Expected Default
weapontype Weapon type of the item, used for cargo queries. Template:WeaponsTable ranged String (allowed values=ranged, melee, throwable, explosive, turret, largeturret, other, submarineother)
weapondamagemodifier Weapon Damage Modifier, as defined in XML. 1.3 Float
attackspeed Number of potential hits per second. This is usually 1/reload (+maxchargetime if any). <- Will probably change this to reload, and attack speed will be calculated automatically. 5 Float
ammomaxstack Max stack of the ammo used by an item 8 Integer
ammocount Amount of ammo a item can hold 4 Integer
ammo Ammo used by an item Shotgun Shell
Explosive Slug
Shotgun Rubber Shell {{hl|Shotgun Shell}}<br>{{hl|Explosive Slug}}<br>{{hl|Shotgun Rubber Shell}}
Wikitext
magazine Number of rounds in a magazine 20 Integer
magazine2 Number of rounds in a magazine, used to display a range of magazine size: magazine-magazine2 30 Integer
fuelcount Amount of fuel an item can hold 4 Integer
fuel Fuel used by item Welding Fuel Tank
Incendium Fuel Tank {{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}
Wikitext
fuelduration Duration of fuel in a fuel tank in seconds 16.7 Float
fuelduration2 Duration of fuel in a fuel tank in seconds, used to show a range of fuel duration: fuelduration-fuelduration2 40 Float
payload Payload used by an item UEX {{hl|UEX}} Wikitext
payloadcount Amount of payloads an item can hold 1 Integer

Ammo

Field Note Example Expected Default
ammotype Type of Weapon using this ammo, for cargo queries. turret String (allowed values=ranged, melee, throwable, explosive, turret, largeturret, other, submarineother)
ammotype2 Type of Weapon using this ammo, for cargo queries. largeturret String (allowed values=ranged, melee, throwable, explosive, turret, largeturret, other, submarineother)
magazine Number of rounds in a magazine 20 Integer
fuelduration Duration of fuel in a fuel tank in seconds 10 Float
reusable Shows that this ammo is reusable if set to yes, hidden otherwise yes Boolean
usedby What weapon uses this ammo SMG {{hl|SMG}} Wikitext
usedbyweapondamagemodifier Weapon Damage Modifier of the weapon using this ammo 1.3 Float
usedby2 What weapon uses this ammo Deadeye Carbine {{hl|Deadeye Carbine}} Wikitext
usedby2weapondamagemodifier Weapon Damage Modifier of the weapon using this ammo 1.1 Float
usedby3 What weapon uses this ammo Machine Pistol {{hl|Machine Pistol}} Wikitext
usedby3weapondamagemodifier Weapon Damage Modifier of the weapon using this ammo 0.8 Float
penetration Armor penetration 10 Integer
structuredamage Structure damage 20 Integer
ballastfloradamage Ballast Flora damage 20 Integer
explosionrange Range of explosion in meters, XML defines it in centimeters, so divide by 100. Must be set for the explosion[affliction] to be displayed. 7 Float
explosionstructuredamage Explosion structure damage 20 Integer

Gear

Field Note Example Expected Default
geartype Gear type of the item, used for cargo queries. Template:GearTable outerwear String (allowed values=toolbel, outerwear, innerwear, headgear, headset, card)
gearskillmodifiers Skill modifiers of a Gear item whem worn +10 Weapons
+10 Medical
Wikitext
gearspeedmodifiers Speed modifiers of a Gear item whem worn -20% Movement Speed
+30% Swimming Speed
Wikitext
gearstatmodifiers Stat modifiers of a Gear item whem worn +25% Ranged Weapon Fire Rate
+25% Turret Fire Rate
Wikitext
genecapacity Amount of genes that the item can hold 1 Integer
protects List of limbs protected by the Gear item when worn Torso, Arms Wikitext

Medical

Field Note Example Expected Default
duration The duration of the item's effects on use in seconds. [affliction]s are shown as 10 Integer
durationfail The duration of the item's effects on use in seconds when failed (Only use if duration and durationfail are different) 5 Integer
drunkdelay Delay of the drunk affliction in seconds 5 Integer
drunkduration Duration of the drunk affliction in seconds 15 Integer
nauseadelay Delay of the nausea affliciton in seconds 5 Integer
nauseaduration Duration of the nausea affliciton in seconds 15 Integer
oxygenlowinstant Oxygen Low affliction strenght instantly applied 10 Float
oxygenlowinstantfail Oxygen Low affliction strenght instantly applied when failed skill check 10 Float

Afflictions

Supported Afflictions:

Combat:
"internaldamage", "bluntforcetrauma", "lacerations", "bitewounds", "gunshotwound", "organdamage", "deeptissueinjury", "burn","bleeding", "bloodloss", "stun", "incrementalstun", "progressivestun", "concussion", "damage",

Environmental:
"barotrauma", "watchersgaze", "hallucinating", "oxygenlow",

Poisons:
"huskinfection", "paralysis", "morbusinepoisoning", "sufforinpoisoning", "deliriuminepoisoning", "cyanidepoisoning", "radiationsickness",

Side Effects:
"opiateaddiction", "opiatewithdrawal", "opiateoverdose", "chemaddiction", "chemwithdrawal", "psychosis", "drunk", "nausea", "instanausea", "spaceherpes", "reaperstax",

Buffs:
"slowmetabolism", "haste", "vigor", "huskinfectionresistance", "paralysisresistance", "psychosisresistance", "pressureresistance", "pressurestabilized", "combatstimulant",

Field Note Example Expected Default
[affliction]
  • Affliction strength applied on a direct hit.
  • Affliction strength applied after passing a skill check requirement.
    • Per second if duration is defined.
  • Affliction resistance if protects is defined.
20 / -20 / 0.5 Float
[affliction]fail
  • Affliction strength applied after failing a skill check requirement.
    • Per second if durationfail is defined.
10 / -10 Float
[affliction]blockchance Chance to competely block an affliction.
NOTE: Currently doesn't work
0.25 Float
[affliction]chance Chance for the affliction to be applied.
NOTE: Currently does what blockchance is supposed to do.
0.5 Float
[affliction]syringe Affliction strength applied when shot from a Syringe Gun. Used by cargo queries, currently not displayed 10 Float
explosion[affliction] Affliction strength applied in the explosion range hit. Shows if explosionrange is defined. 20 Float
explosion[affliction]chance Chance for the affliction to be applied in the explosion range. Shows if explosionrange is defined. 0.5 Float

Other

Field Note Example Expected Default
itemcapacity Amount of generic item slots an item has 6 small Items String
maxstack Maximum number of this item in a stack 8 Integer
supplyname Collective name of Item Supplies used by an item that don't fit elsewhere Oxygen Supplies / Power Supplies / Whatever else is used String
supplycount Amount of supply items an item can hold 4 Integer
supplyitems Supply items used by an item Oxygen Tank
Oxygenite Tank
Welding Fuel Tank
Incendium Fuel Tank {{hl|Oxygen Tank}}<br>{{hl|Oxygenite Tank}}<br>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}
Wikitext
impacttolerance The impact tolerance of the item. 5 Integer

Skill Requirements

This section is only shown if any skill is defined:

Field Note Example Expected Default
helm Helm skill required to handle item without penalty 10 Integer
weapons Weapons skill required to handle item without penalty 10 Integer
mechanical Mechanical skill required to handle item without penalty 10 Integer
electrical Electrical skill required to handle item without penalty 10 Integer
medical Medical skill required to handle item without penalty 10 Integer
handicap Penalty for not meeting the skill requirements Fuel used up 3x as fast / Spread +2.8 (0.2 → 3) String

Crafting

This section is always shown

If the fabricator value is undefined or "no" it will show "Constructible? | No".
If the deconstructor value is undefined or "no" it will show "Deconstructible? | No".

Field Note Example Expected Default
fabricator Is the item constructible in a regular fabricator yes Boolean
medicalfabricator Is the item constructible in a medical fabricator yes Boolean
fabricatortime Time required to craft an item in seconds 10 Integer
talent Which talent is required to craft this item Warlord {{hl|Warlord||Security Officer Job Icon}} Wikitext
fabricatedamount How many items are crafted at once 4 Integer
fabricatorskill Skill required to craft an item medical String (allowed values=mechanical/electrical/medical/weapons/helm)
fabricatorskilllevel Skill level required to craft an item 20 Integer
fabricatorskill2 Second Skill required to craft an item medical String (allowed values=mechanical/electrical/medical/weapons/helm)
fabricatorskilllevel2 Skill level of the second skill required to craft an item 20 Integer
fabricatormaterials Items required to craft item Iron (x2) {{hl|Iron}} (x2) Wikitext
deconstructor Is the item deconstructible yes Boolean
deconstructortime Time required to deconstruct item in seconds 10 Integer
deconstructormaterials Items recieved after deconstructing Iron {{hl|Iron}} Wikitext

Alternative Crafting

Field Note Example Expected Default
fabricatortimealt Time required to craft item in seconds in an Alternative recipe 10 Integer
talentalt Which talent is required to craft this item in an Alternative recipe Warlord {{hl|Warlord||Security Officer Job Icon}} Wikitext
fabricatedamountalt How many items are crafted at once in an Alternative recipe 4 Integer
fabricatorskillalt Skill required to craft item in an Alternative recipe medical String (allowed values=mechanical/electrical/medical/weapons/helm)
fabricatorskilllevelalt Skill level required to craft item in an Alternative recipe 20 Integer
fabricatormaterialsalt Items required to craft item in an Alternative recipe Iron (x2) {{hl|Iron}} (x2) Wikitext

Store

This section is only shown if baseprice is defined.

  • A store is only shown if its [store]multiplier is defined.
  • If a store isn't defined in the XML, then its [store]multiplier should be set as 1 and its [store]unbuyable should be set as "true".

NOTE: I'm thinking of changing this, so that the multipliers are 1 by default, minavailables are 0 by default and unbuyable is true by default. This would display all stores on all item pages, but they will be set as [store]multiplier=1 [store]minavailable=0 and [store]unbuyable=true unless they are manually defined differently. Basically get it as close as possible to how the game automatically reads the XML. It would save us a lot of unnecessary writing, only needing to define the fields that differ from the default, instead of all of them every time.

Field Note Example Expected Default
baseprice Base price of item. 200 Integer
minleveldifficulty Minimum level difficulty of the Outpost required for this item to be buyable, as defined in XML. 35 Integer
unbuyable Hides the "buy" section of the Store table. Set as True if an item can't be bought anywhere; In this case [store]unbuyable fields are not used. true Boolean
outpostmultiplier Price multiplier at a Habitation Outpost. 1.25 Float
outpostminavailable Minimum stock available at a Habitation Outpost. 3 Integer
outpostunbuyable Set true if unbuyable at a Habitation Outpost. true Boolean
citymultiplier Price multiplier at a Colony. 1.25 Float
cityminavailable Minimum stock available at a Colony. 3 Integer
cityunbuyable Set true if unbuyable at a Colony true Boolean
researchmultiplier Price multiplier at a Research Outpost 1.25 Float
researchminavailable Minimum stock available at a Research Outpost 3 Integer
researchunbuyable Set true if unbuyable at a Research Outpost true Boolean
militarymultiplier Price multiplier at a Military Outpost 1.25 Float
militaryminavailable Minimum stock at a Military Outpost 3 Integer
militaryunbuyable Set true if unbuyable at a Military Outpost true Boolean
minemultiplier Price multiplier at a Mining Outpost 1.25 Float
mineminavailable Minimum stock at a Mining Outpost 3 Integer
mineunbuyable Set true if unbuyable at a Mining Outpost true Boolean
medicalmultiplier Price multiplier at a Medical Merchant 1.25 Float
medicalminavailable Minimum stock at a Medical Merchant 3 Integer
medicalunbuyable Set true if unbuyable at a Medical Merchant true Boolean
engineeringmultiplier Price multiplier at an Engineering Merchant 1.25 Float
engineeringminavailable Minimum stock at an Engineering Merchant 3 Integer
engineeringunbuyable Set true if unbuyable at an Engineering Merchant. true Boolean
armorymultiplier Price multiplier at an Armory Merchant 1.25 Float
armoryminavailable Minimum stock at an Armory Merchant 3 Integer
armoryunbuyable Set true if unbuyable at an Armory Merchant true Boolean

Technical

This section is always shown.

Field Note Example Expected Default
identifier Internal identifier of the item, as defined in XML. wrench String
category Category of the item Machine String (allowed values=Structure, Decorative, Machine, Medical, Weapon, Diving, Equipment, Fuel, Electrical, Material, Alien, Wrecked, Legacy, Misc) Misc
category2 Second category of the item, if applicable. Weapon String (allowed values=Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost)
subcategory Subcategory of the item Outpost String (allowed values=Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost)
tags Tags of the item, same as XML. smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon List (,) of String

Examples

NOTE: Some of these are slightly outdated in terms of formatting - using some deprecated (replaced or no longer used) fields, or not having a Boilerplate for their Item Type, and therefore not following any set style/layout standards but instead copypasta from other pages. See the linked Boilerplates for the most up to date version and use them as a guide when editing/making pages.


Ranged Weapon

Main article: Boilerplate:Ranged Weapon


Main article: Autoshotgun


 
Items infobox/doc
Click to upload a new image.Dummy link
A roughly engineered automatic shotgun with a vast ammo capacity. Its size and heft makes it a bit cumbersome to lug around.
Statistics
Quality Bonuses +10% Affliction Strength
Damage Modifier 0.9x
Attack Speed 2.22
Ammunition Shotgun Shell
Explosive Slug
Shotgun Rubber Shell
Ammo Capacity 24
Ammo Max Stack 12
Skill Requirements
Skill Requirements
Weapons: 60
Handicap Spread +2.8 (0.2 → 3)
Crafting
Fabricator
Requirements
Talent: Pacification Kit
Skill: Weapons: 55
Deconstructor Yield
Store
Base Price 710 mk
Outposts
OutpostOutpost Sell
Habitation OutpostHabitation 319 mk
ColonyColony 266 mk
Research OutpostResearch 266 mk
Military OutpostMilitary 191 mk
Mining OutpostMining 266 mk
Medical MerchantMedical Merchant 213 mk
Engineer MerchantEngineer Merchant 213 mk
Armory MerchantArmory Merchant 191 mk
Children of The HonkmotherClown Merchant 213 mk
The Church of HuskHusk Merchant 213 mk
Technical
Identifier autoshotgun
Categories
{{Items infobox 
| image = Autoshotgun.png
| width = 218
| description = A roughly engineered automatic shotgun with a vast ammo capacity. Its size and heft makes it a bit cumbersome to lug around.
| identifier = autoshotgun

<!-- Gear Info-->
| geartype = toolbelt

<!-- Weapon info-->
| type = weapon
| weapontype = ranged
| size = medium
| qualitybonuses = +10% Affliction Strength
| weapondamagemodifier = 0.9
| attackspeed = 2.22
| ammo = {{hl|Shotgun Shell}}<br>{{hl|Explosive Slug}}<br>{{hl|Shotgun Rubber Shell}}
| ammomaxstack = 12
| ammocount = 24
| weapons = 60
| handicap = Spread +2.8 (0.2 → 3) 

<!-- Fabricating -->
| fabricator = Yes
| talent = {{hl|Pacification Kit||Security Officer Job Icon}}
| fabricatortime = 65
| fabricatorskill = weapons
| fabricatorskilllevel = 55
| fabricatormaterials = {{hl|Ballistic Fiber}}<br>{{hl|Physicorium Bar}} (x2)<br>{{hl|Titanium-Aluminium Alloy}} (x2)


<!-- Deconstructing -->
| deconstructor = Yes
| deconstructortime = 30
| deconstructormaterials = {{hl|Ballistic Fiber}}<br>{{hl|Physicorium Bar}} (x2)<br>{{hl|Titanium-Aluminium Alloy}}

<!-- Price -->
| baseprice = 710
| outpostmultiplier = 1.5
| citymultiplier = 1.25
| researchmultiplier = 1.25
| militarymultiplier = 0.9
| minemultiplier = 1.25
| armorymultiplier = 0.9

<!-- Availability (uncomment what is needed) -->
| unbuyable = true
}}

Ammo

Main article: Shotgun Shell


Items infobox/doc
Click to upload a new image.Dummy link
Ammunition for a shotgun. Lethal.
Statistics 
Used by Riot Shotgun
Autoshotgun 0.9x Damage
Boom Stick
Afflictions
Severance chance 50%
Structure damage 8 (8x1)
Maximum stack 12
Crafting
Fabricator
Requirements
(produces 12 items)
Talent: Munitions Expertise
Skill: Weapons: 30
Magnesium (x2)
Lead (x2)
Plastic
Fabrication time 20s
Deconstructible? No
Store
Base Price 30 mk
Outposts
OutpostOutpost Buy Sell
Habitation OutpostHabitation N/A 13 mk
ColonyColony 37 mk 11 mk
Research OutpostResearch N/A 11 mk
Military OutpostMilitary 27 mk 8 mk
Mining OutpostMining N/A 11 mk
Medical MerchantMedical Merchant N/A 9 mk
Engineer MerchantEngineer Merchant N/A 9 mk
Armory MerchantArmory Merchant 27 mk 8 mk
Children of The HonkmotherClown Merchant N/A 9 mk
The Church of HuskHusk Merchant N/A 9 mk
Technical
Identifier shotgunshell
Categories
{{Items infobox
| icon = Shotgun Shell.png
| type = ammo
| description = Ammunition for a shotgun. Lethal.
| identifier = shotgunshell

{{c|<!-- AMMUNITION -->}}
| ammotype = ranged
| afflictions = yes
| gunshotwound = 8
| bleeding = 6
| stun = 0.1
| structuredamage = 1
| projectiles = 8
| projectile = Instant
| usedby = Riot Shotgun
| usedby2 = Autoshotgun
| usedby2weapondamagemodifier = 0.9
| usedby3 = Boom Stick
| maxstack = 12
| severlimbsprobability = 50

{{c|<!-- CRAFTING -->}}
| talent = [[Munitions Expertise]] 
| fabricatormaterials = {{hl|Magnesium}} (x2)<br>{{hl|Lead}} (x2)<br>{{hl|Plastic}}
| deconstructor = No
| fabricatorskill = weapons
| fabricatorskilllevel = 30
| fabricatedamount = 12
| fabricatortime = 20
| fabricator = yes

{{c|<!-- STORE -->}}
| baseprice          = 30
| outpostmultiplier  = 1.5  | outpostunbuyable     = true
| citymultiplier     = 1.25 | cityminavailable     = 4
| researchmultiplier = 1.25 | researchunbuyable    = true
| militarymultiplier = 0.9  | militaryminavailable = 12
| minemultiplier     = 1.25 | mineunbuyable        = true
| armorymultiplier   = 0.9  | armoryminavailable   = 12
}}

Melee Weapon

Main article: Boilerplate:Melee Weapon


Main article: Boarding Axe


Items infobox/doc
Click to upload a new image.Dummy link
Inventory icon


Sprite
A hand axe, meant to be wielded with both hands.
Statistics
Afflictions
Range 1.55 m
Attack Speed 0.83
Severance chance 750%
Structure damage 25
Crafting
Fabricator
Requirements
Talent: Boarding Party
Skill: Weapons: 40
Deconstructor Yield
Store
Base Price 350 mk
Outposts
OutpostOutpost Sell
Habitation OutpostHabitation 131 mk
ColonyColony 131 mk
Research OutpostResearch 131 mk
Military OutpostMilitary 94 mk
Mining OutpostMining 131 mk
Medical MerchantMedical Merchant 105 mk
Engineer MerchantEngineer Merchant 105 mk
Armory MerchantArmory Merchant 105 mk
Children of The HonkmotherClown Merchant 105 mk
The Church of HuskHusk Merchant 105 mk
Technical
Identifier boardingaxe
Categories
{{Items infobox 
| icon = Boarding Axe.png
| sprite = Boarding Axe sprite.png
| spritewidth = 164
| description = A hand axe, meant to be wielded with both hands.
| identifier = boardingaxe
| type = weapon
| size = medium

<!-- Weapon info-->
| weapontype = melee
| meleerange = 1.55
| attackspeed = 0.83
| structuredamage = 25
| severlimbsprobability = 750

| afflictions = yes
| lacerations = 36
| bleeding = 10
| stun = 0.5

<!-- Fabricating -->
| fabricator = Yes
| talent = {{hl|Boarding Party|25|Security Officer Job Icon}}
| fabricatortime = 25
| fabricatorskill = weapons
| fabricatorskilllevel = 40
| fabricatormaterials = {{hl|Titanium-Aluminum Alloy}} (x2)

<!-- Deconstructing -->
| deconstructor = Yes
| deconstructortime = 20
| deconstructormaterials = {{hl|Titanium-Aluminum Alloy}}

<!-- Price -->
| baseprice = 350
| outpostmultiplier = 1.25
| citymultiplier = 1.25
| researchmultiplier = 1.25
| militarymultiplier = 0.9
| minemultiplier = 1.25
| medicalmultiplier = 1
| engineeringmultiplier = 1
| armorymultiplier = 1

<!-- Availability (uncomment what is needed) -->
| unbuyable = true
}}

Gear

Main article: Boilerplate:Gear


Main article: Diving Suit


Items infobox/doc
Click to upload a new image.Dummy link


Sprite
An atmospheric diving suit capable of withstanding the immense pressure under Europa's crust. Only offers adequate protection up to the depth of 4,000 meters - beyond this point, an Abyss or Combat suit is required.
Statistics
Speed Modifiers -20% Movement Speed
Pressure Protection Up to 4000 m
Breathing Supplies Oxygen Tank
Oxygenite Tank
Welding Fuel Tank
Incendium Fuel Tank
Breathing Supplies Capacity 1 Item Slot
Crafting
Fabricator
Requirements
Skill: Mechanical: 40
Deconstructor Yield
Store
Base Price 250 mk
Outposts
OutpostOutpost Buy Sell
Habitation OutpostHabitation 225 mk 67 mk
ColonyColony 212 mk 63 mk
Research OutpostResearch 250 mk 75 mk
Military OutpostMilitary 250 mk 75 mk
Mining OutpostMining 312 mk 93 mk
Medical MerchantMedical Merchant N/A 75 mk
Engineer MerchantEngineer Merchant N/A 75 mk
Armory MerchantArmory Merchant N/A 75 mk
Children of The HonkmotherClown Merchant N/A 75 mk
The Church of HuskHusk Merchant N/A 75 mk
Technical
Identifier divingsuit
Categories
{{Items infobox
| image = Diving Suit icon.png
| image2 = Diving Suit sprite.png
| imagewidth2 = 148
| description = An atmospheric diving suit capable of withstanding the immense pressure under Europa's crust. Only offers adequate protection up to the depth of 4,000 meters - beyond this point, an Abyss or Combat suit is required.
| identifier = divingsuit
| type = gear
| size = undefined
| note = Requires Breathing Supply.<br>Hides the user's identity.

<!-- Gear Info-->
| geartype = outerwear
| gearspeedmodifiers = -20% Movement Speed
| protects = All

<!-- Diving -->
| supplyname = Breathing Supplies
| supplyitems = {{hl|Oxygen Tank}}<br>{{hl|Oxygenite Tank}}<br>{{hl|Welding Fuel Tank}}<br>{{hl|Incendium Fuel Tank}}
| supplycount = 1 Item Slot
| pressureprotection = 4000

<!-- Resistances -->
| bitewounds = 0.7
| lacerations = 0.7
| bluntforcetrauma = 0.7
| gunshotwound = 0.7
| burn = 0.75
| huskinfection = 0.5
| huskinfectionchance = 0.5
| radiationsickness =  0.75
| bleeding = 0.7
| barotrauma = 0.0

<!-- Fabricating -->
| fabricator = Yes
| fabricatortime = 30
| fabricatorskill = mechanical
| fabricatorskilllevel = 40
| fabricatormaterials = {{hl|Titanium-Aluminium Alloy}}<br>{{hl|Rubber}} (x2)

<!-- Deconstructing -->
| deconstructor = Yes
| deconstructortime = 30
| deconstructormaterials = {{hl|Titanium-Aluminium Alloy}}<br>{{hl|Rubber}}

<!-- Store info -->
| baseprice = 250

| outpostmultiplier = 0.9    | outpostminavailable = 2
| citymultiplier = 0.85      | cityminavailable = 4
| researchmultiplier = 1     | researchminavailable = 3
| militarymultiplier = 1     | militaryminavailable = 3
| minemultiplier = 1.25      | mineminavailable = 5
| medicalmultiplier = 1      | medicalunbuyable = true
| engineeringmultiplier = 1  | engineeringunbuyable = true
| armorymultiplier = 1       | armoryunbuyable = true
}}

Medical

Main article: Morphine


Medical items currently use the Template:Medical_infobox. This is how they would look if they used this one.

Items infobox/doc
Click to upload a new image.Dummy link
A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
Skill Requirements
Skill Requirements
Medical: 30
Crafting
Medical Fabricator
Requirements
Opium (x2)
Fabrication time 30s
Deconstructor Yield
Opium (%)
20s
Store
Base Price 100 mk
Outposts
OutpostOutpost Buy Sell
Habitation OutpostHabitation 100 mk 30 mk
ColonyColony 100 mk 30 mk
Research OutpostResearch 100 mk 30 mk
Military OutpostMilitary 100 mk 30 mk
Mining OutpostMining 100 mk 30 mk
Medical MerchantMedical Merchant 90 mk 27 mk
Engineer MerchantEngineer Merchant N/A 30 mk
Armory MerchantArmory Merchant N/A 30 mk
Children of The HonkmotherClown Merchant N/A 30 mk
The Church of HuskHusk Merchant N/A 30 mk
Technical
Identifier antidama1
Categories
{{Items_infobox
| icon = Morphine.png
| identifier = antidama1
| type = medicine
| description = A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
| sort = 2

| burnfail = -0.05
| medical = 30
| duration = 10
| damage = -5
| damagefail = -2.5
| burn = -0.1
| oxygenlow = 2
| oxygenlowfail = 3
| opiateaddiction = 0.5
| opiateaddictionfail = 2.5
| opiateoverdose = 1
| opiateoverdosefail = 2
| opiatewithdrawal = -3
| opiatewithdrawalfail = -3

| fabricator = no
| medicalfabricator = yes
| deconstructor = yes
| fabricatormaterials = {{hl|Opium}} (x2)
| fabricatortime = 30
| fabricatorskilllevel = 18
| deconstructormaterials = {{hl|Opium}} <abbr title="Condition based on deconstructed item condition">(%)</abbr>
| deconstructortime = 20

| baseprice = 100
| outpostmultiplier = 1
| citymultiplier = 1
| researchmultiplier = 1
| militarymultiplier = 1
| minemultiplier = 1
| medicalmultiplier = 0.9

| outpostminavailable = 12
| cityminavailable = 12
| researchminavailable = 12
| militaryminavailable = 12
| mineminavailable = 12
| medicalminavailable = 12
}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.