Difference between revisions of "Template:Items infobox"

From Official Barotrauma Wiki
Jump to: navigation, search
m
m
 
(70 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{doc}}[[Category:Templates]]
{{clr}}
+
{{#cargo_declare:_table = Items
 
 
{{doc}}
 
 
 
{{#cargo_declare:_table=Items
 
 
| identifier = String
 
| identifier = String
 
| name = String
 
| name = String
 
| icon = File
 
| icon = File
 
| sprite = File
 
| sprite = File
 +
| categories = List (,) of String (allowed values=Structure,Decorative,Machine,Medical,Weapon,Diving,Equipment,Fuel,Electrical,Material,Alien,Wrecked,Legacy,Misc)
 +
| subcategory = String (allowed values=Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost)
 +
| tags = List (,) of String
 
| type = String
 
| type = String
 
| sort = Integer
 
| sort = Integer
Line 26: Line 25:
 
| hands = Integer
 
| hands = Integer
 
| note = Wikitext
 
| note = Wikitext
 +
| usableinhealthinterface = Boolean
 
<!-- damage -->
 
<!-- damage -->
 
| pellets = Integer
 
| pellets = Integer
 
| structuredamage = Float
 
| structuredamage = Float
 +
| itemdamage = Float
 
| penetration = Integer
 
| penetration = Integer
 
| piercing = Integer
 
| piercing = Integer
Line 121: Line 122:
 
| instanausea = Float
 
| instanausea = Float
 
| instanauseachance = Float
 
| instanauseachance = Float
 +
| reaperstax = Float
 +
| reaperstaxfail = Float
 +
| strengthen = Float
 +
| strengthenfail = Float
 +
| chemwithdrawal = Float
 +
| chemwithdrawalfail = Float
 +
| hyperactivity = Float
 +
| hyperactivityfail = Float
 +
| watchersgaze = Float
 +
| watchersgazefail = Float
 +
| durationincrease = Float
 +
| durationincreasefail = Float
 
<!-- explosion afflictions -->
 
<!-- explosion afflictions -->
 
| explosionradiationsickness = Float
 
| explosionradiationsickness = Float
Line 170: Line 183:
 
| fabricatortimealt = Integer
 
| fabricatortimealt = Integer
 
| fabricatedamount = Integer
 
| fabricatedamount = Integer
}}{{#if:{{{version|}}}|{{Version|1={{{version}}}<!--
+
}}</noinclude>
-->{{#if:{{{versionnote|}}}|{{!}}2={{{versionnote|}}}|}}<!--
+
<includeonly><onlyinclude>{| class="infobox responsive-table" align=right
-->{{#if:{{{spoiler|}}}|{{!}}spoiler={{{spoiler}}}|}}<!--
 
-->{{#if:{{{spoilersection|}}}|{{!}}spoilersect={{{spoilersection}}}|}}<!--
 
-->{{#if:{{{deletion|}}}|{{!}}deletion={{{deletion}}}|}}<!--
 
-->{{#if:{{{deletionnote|}}}|{{!}}deletionnote={{{deletionnote}}}|}}<!--
 
-->{{#if:{{{stub|}}}|{{!}}stub={{{stub}}}|}}<!--
 
-->{{#if:{{{stubnote|}}}|{{!}}stubnote={{{stubnote}}}|}}<!--
 
-->{{#if:{{{cleanup|}}}|{{!}}cleanup={{{cleanup}}}|}}<!--
 
-->{{#if:{{{cleanupnote|}}}|{{!}}cleanupnote={{{cleanupnote}}}|}}|}}}}
 
</noinclude><includeonly>{{#vardefine:match|{{#ifeq:{{{version|}}}|{{Current version}}|True|{{#ifeq:{{#explode:{{{version|}}}|.|0}}{{#explode:{{{version|}}}|.|1}}|{{#explode:{{Current_version}}|.|0}}{{#explode:{{Current_version}}|.|1}}|True|{{#ifeq:{{{version|}}}|0.8.2.3|Legacy|False}}}}}}}}{| class="infobox responsive-table" align=right
 
{{#if:{{{version|}}}|! class="infobox2 responsive-table" colspan="3" style="text-align:right;"{{!}}<!--
 
-->{{#if:{{{deletion|}}}|[[File:Orders dismissed.png|32px|This page is a candidate for deletion.{{#if:{{{deletionnote|}}}|{{{deletenote}}}|}}|link=:Category:Candidates for deletion]][[Category:Candidates for deletion]][[Category:Problem articles]]|}}<!--
 
-->{{#if:{{{spoiler|}}}|[[File:Event JacovSubra1.png|32px|This page contains spoilers.]]|}}<!--
 
-->{{#if:{{{stub|}}}|[[File:Icon-stub.png|32px|This article is a stub. {{#if:{{{stubnote|}}}|{{{stubnote}}}|}}|link=:Category:Stubs]][[Category:Stubs]][[Category:Problem articles]]|}}<!--
 
-->{{#if:{{{cleanup|}}}|[[File:Cleanup.svg|32px|This article requires cleanup to meet quality standards. {{#if:{{{cleanupnote|}}}|{{{cleanupnote}}}}}|link=:Category:Cleanup]][[Category:Cleanup]][[Category:Problem articles]]|}}<!--
 
-->[[File:{{#ifeq:{{#var:match}}|Legacy|icon-outdated-bt|Version Checkmark {{#var:match}}}}.png|32px]]
 
{{!}}-
 
|}}
 
 
! class="infobox2 responsive-table" colspan="3" | {{{name|{{PAGENAME}}}}}
 
! class="infobox2 responsive-table" colspan="3" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
| colspan="3" style="padding:0.5em;text-align:center !important;" | {{#if: {{{customtext|}}} | {{{customtext}}} | {{#if: {{{noicon|}}}||
+
| colspan="3" style="padding:0.5em;text-align:center !important" | {{#if:{{{noicon|}}}||[[File:{{{image|{{{icon|{{{name|{{PAGENAME}}}}}.png}}}}}}|{{{imagewidth|{{{iconwidth|}}}}}}px]]<!--
{{ImageHandler
+
-->{{#if:{{{caption|}}}|<div style="margin:auto;text-align:center;max-width:450px;word-wrap:break-word"><small>{{{caption}}}</small></div>}}}}<!--
| file  =  {{#if: {{{image|{{{icon|}}}}}} | {{{image|{{{icon}}}}}} | {{PAGENAME}}.png }}
+
-->{{#ifeq:{{#if:{{{noicon|}}}|n1|y}}|{{#if:{{{image2|{{{sprite|}}}}}}|y|n2}}|<br>}}<!-- adds line break between 2 images (if both are there)
| imagewidth  = {{#if: {{{imagewidth|{{{iconwidth|}}}}}} | {{{imagewidth|{{{iconwidth}}}}}}px |}}
+
-->{{#if:{{{image2|{{{sprite|}}}}}}|[[File:{{{image2|{{{sprite|}}}}}}|{{{imagewidth2|{{{spritewidth|180}}}}}}px]]{{#if:{{{caption2|}}}|<br><small>{{{caption2}}}</small>}}}}<!--
}}<!--
+
-->{{#if:{{{identifier|}}}|<br><span style="margin:auto;text-align:center;color:#808080"><small>ID: <code>{{{identifier|}}}</code></small></span>}}<!--
 
+
-->{{#if:{{{description|}}}|<div style="margin:0 auto;width:50%;float:center;border-bottom:1px #E2D9A4 dotted"></div><small>''{{{description}}}''</small>}}
-->{{#if: {{{caption|}}} |<div style="margin:auto;text-align:center;max-width:450px;word-wrap: break-word;"><small>{{{caption}}}</small></div>|}}}}<!--
 
 
 
-->{{#ifeq:{{#if:{{{noicon|}}}|f|t}}|{{#if:{{{image2|{{{sprite|}}}}}}|t|ff}}|<br><br>|}}<!-- oof
 
 
 
-->{{#if: {{{image2|{{{sprite|}}}}}} |[[File:{{{image2|{{{sprite|}}}}}}|{{{imagewidth2|{{{spritewidth|180}}}}}}px]]
 
{{#if: {{{caption2|}}} |<br><small>{{{caption2}}}</small>}}
 
|}}
 
{{#if:{{{identifier|}}}|<br><span style="margin:auto;text-align:center;color:#808080;"><small>ID: <code>{{{identifier|}}}</code></small></span>}}
 
{{#if: {{{description|}}} |<div style="margin: 0 auto;width:50%;float:center;border-bottom: 1px #E2D9A4 dotted;"></div>''<small>{{{description}}}</small>''|}}
 
|}}
 
|-<!--
 
 
 
-->
 
{{#if: {{{nostats|}}}||
 
! class="infobox3 responsive-table" colspan="3" {{!}} Stats
 
}}<!--
 
 
 
-->
 
 
|-
 
|-
| style="width:40%;font-size:105%;" | Type
+
| style="text-align:center" colspan="3" | [[:Category:{{{category|Misc}}}|{{{category|Misc}}}]]{{#if:{{{category|}}}|{{#if:{{{category2|}}}|, [[:Category:{{{category2}}}|{{{category2}}}]]}}}}<br>{{#if:{{{category|}}}|{{#if:{{{subcategory|}}}|[[:Category:{{{subcategory}}}|{{{subcategory}}}]],&nbsp;}}}}{{#if:{{{category|}}}||{{#switch:{{{type}}}
| style="width:60%;text-align:center;" colspan="2" | {{#switch:{{{type}}}
 
 
|weapon= [[:Category:Weapons|Weapon]]
 
|weapon= [[:Category:Weapons|Weapon]]
 
|tool= [[:Category:Tools|Tool]]
 
|tool= [[:Category:Tools|Tool]]
Line 238: Line 215:
 
|vehicle= Vehicle
 
|vehicle= Vehicle
 
|#default= General [[:Category:Items|Item]]}}<!--
 
|#default= General [[:Category:Items|Item]]}}<!--
-->{{#ifeq: {{{size}}}|medium|, [[:Category:Medium Items|Medium Item]]|}}<!--
+
-->{{#ifeq:{{{size}}}|medium|, [[:Category:Medium Items|Medium Item]]}}<!--
-->{{#if: {{{talent|}}}|, [[:Category:Talent Items|Talent Item]]|}}
+
-->{{#if:{{{talent|}}}|, [[:Category:Talent Items|Talent Item]]}}}}
|-<!--
+
|-<!--
 +
 
 +
-->
 +
 
 +
{{#if:{{{nostats|}}}||
 +
! class="infobox3 responsive-table" colspan="3" {{!}} Stats
 +
{{!}}-
 +
}}<!--
 
--------------------------------------------------------------------------- WEAPONS & AMMUNITION
 
--------------------------------------------------------------------------- WEAPONS & AMMUNITION
 
-->
 
-->
 +
{{#if:{{{usableinhealthinterface|}}}||
 
{{#if: {{{usedby|}}}|
 
{{#if: {{{usedby|}}}|
 
{{!}} style="width:40%;font-size:105%;" {{!}} Used by
 
{{!}} style="width:40%;font-size:105%;" {{!}} Used by
Line 256: Line 241:
 
########################### the following only supports direct afflictions ("affliction strength instantly gained"...).
 
########################### the following only supports direct afflictions ("affliction strength instantly gained"...).
  
-->{{#if:{{{bluntforcetrauma|}}}| {{Items infobox/affliction|Blunt Force Trauma| {{{bluntforcetrauma}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{blulast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{damagelegacy|}}}|[[File:Legacy Health Status.png|30px]]<span style="color:#00FF00">({{#if:{{{pellets|}}}|{{#expr:{{{damagelegacy}}}*{{{pellets}}}}}|{{{damagelegacy}}}}})</span>{{#if:{{{damagelegacytype|}}}|&nbsp;({{{damagelegacytype|}}})}}<!-- Only used in legacy articles -->{{#if:{{{ldamlast|}}}||<br>}}}}<!--
-->{{#if:{{{lacerations|}}}| {{Items infobox/affliction|Lacerations| {{{lacerations}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{laclast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{bleedinglegacy|}}}|[[File:Legacy Bleeding Status Minor.png|30px]]<span style="color:#00FF00">({{#if:{{{pellets|}}}|{{#expr:{{{bleedinglegacy}}}*{{{pellets}}}}}|{{{bleedinglegacy}}}}})</span><!-- Only used in legacy articles -->{{#if:{{{lbldlast|}}}||<br>}}}}<!--
-->{{#if:{{{gunshotwound|}}}| {{Items infobox/affliction|Gunshot Wound| {{{gunshotwound}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{gunlast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{stunlegacy|}}}|Stun <span style="color:#00FF00">({{#if:{{{pellets|}}}|{{#expr:{{{stunlegacy}}}*{{{pellets}}}}}|{{{stunlegacy}}}}})</span><!-- Only used in legacy articles -->}}<!--
-->{{#if:{{{deeptissueinjury|}}}| {{Items infobox/affliction|Deep Tissue Injury| {{{deeptissueinjury}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{deelast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{bluntforcetrauma|}}}| {{Items infobox/affliction|Blunt Force Trauma|{{{bluntforcetrauma}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{blulast|}}}||<br>}}|}}<!--
-->{{#if:{{{organdamage|}}}| {{Items infobox/affliction|Organ Damage| {{{organdamage}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{orglast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{lacerations|}}}| {{Items infobox/affliction|Lacerations|{{{lacerations}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{laclast|}}}||<br>}}|}}<!--
-->{{#if:{{{burn|}}}| {{Items infobox/affliction|Burn| {{{burn}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{burlast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{gunshotwound|}}}| {{Items infobox/affliction|Gunshot Wound|{{{gunshotwound}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{gunlast|}}}||<br>}}|}}<!--
-->{{#if:{{{bleeding|}}}| {{Items infobox/affliction|Bleeding| {{{bleeding}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{blelast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{deeptissueinjury|}}}| {{Items infobox/affliction|Deep Tissue Injury|{{{deeptissueinjury}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{deelast|}}}||<br>}}|}}<!--
-->{{#if:{{{oxygenlow|}}}| {{Items infobox/affliction|Oxygen Low| {{{oxygenlow}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{oxylast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{organdamage|}}}| {{Items infobox/affliction|Organ Damage|{{{organdamage}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{orglast|}}}||<br>}}|}}<!--
-->{{#if:{{{huskinfection|}}}| {{Items infobox/affliction|Husk Infection| {{{huskinfection}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{huslast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{burn|}}}| {{Items infobox/affliction|Burn|{{{burn}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{burlast|}}}||<br>}}|}}<!--
-->{{#if:{{{psychosis|}}}|     {{Items infobox/affliction|Psychosis|     {{{psychosis}}}|     {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{psylast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{bleeding|}}}| {{Items infobox/affliction|Bleeding|{{{bleeding}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{blelast|}}}||<br>}}|}}<!--
-->{{#if:{{{morbusinepoisoning|}}}| {{Items infobox/affliction|Morbusine Poisoning| {{{morbusinepoisoning}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{morlast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{oxygenlow|}}}| {{Items infobox/affliction|Oxygen Low|{{{oxygenlow}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{oxylast|}}}||<br>}}|}}<!--
-->{{#if:{{{sufforinpoisoning|}}}| {{Items infobox/affliction|Sufforin Poisoning| {{{sufforinpoisoning}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{suflast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{huskinfection|}}}| {{Items infobox/affliction|Husk Infection|{{{huskinfection}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{huslast|}}}||<br>}}|}}<!--
-->{{#if:{{{deliriuminepoisoning|}}}| {{Items infobox/affliction|Deliriumine Poisoning| {{{deliriuminepoisoning}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{dellast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{psychosis|}}}|     {{Items infobox/affliction|Psychosis|{{{psychosis}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{psylast|}}}||<br>}}|}}<!--
-->{{#if:{{{cyanidepoisoning|}}}| {{Items infobox/affliction|Cyanide Poisoning| {{{cyanidepoisoning}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{cyalast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{morbusinepoisoning|}}}| {{Items infobox/affliction|Morbusine Poisoning|{{{morbusinepoisoning}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{morlast|}}}||<br>}}|}}<!--
-->{{#if:{{{radiationsickness|}}}| {{Items infobox/affliction|Radiation Sickness| {{{radiationsickness}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{radlast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{sufforinpoisoning|}}}| {{Items infobox/affliction|Sufforin Poisoning|{{{sufforinpoisoning}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{suflast|}}}||<br>}}|}}<!--
-->{{#if:{{{paralysis|}}}| {{Items infobox/affliction|Paralysis| {{{paralysis}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{parlast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{deliriuminepoisoning|}}}| {{Items infobox/affliction|Deliriumine Poisoning|{{{deliriuminepoisoning}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{dellast|}}}||<br>}}|}}<!--
-->{{#if:{{{progressivestun|}}}| {{Items infobox/affliction|Progressive Stun| {{{progressivestun}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{prolast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{cyanidepoisoning|}}}| {{Items infobox/affliction|Cyanide Poisoning|{{{cyanidepoisoning}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{cyalast|}}}||<br>}}|}}<!--
-->{{#if:{{{stun|}}}| {{Items infobox/affliction|Stun| {{{stun}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}} {{#if:{{{stunchance|}}}|({{{stunchance}}}% chance)|}}|}}<!--
+
-->{{#if:{{{radiationsickness|}}}| {{Items infobox/affliction|Radiation Sickness|{{{radiationsickness}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{radlast|}}}||<br>}}|}}<!--
 +
-->{{#if:{{{paralysis|}}}| {{Items infobox/affliction|Paralysis|{{{paralysis}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{parlast|}}}||<br>}}|}}<!--
 +
-->{{#if:{{{progressivestun|}}}| {{Items infobox/affliction|Progressive Stun|{{{progressivestun}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}}{{#if:{{{prolast|}}}||<br>}}|}}<!--
 +
-->{{#if:{{{stun|}}}| {{Items infobox/affliction|Stun|{{{stun}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|{{#if:{{{piercing|}}}|{{{piercing}}}|1}}}} {{#if:{{{stunchance|}}}|({{{stunchance}}}% chance)|}}|}}<!--
  
 
-->{{#if: {{{explosionrange|}}}|<br>Explosion:<br>|}}<!--
 
-->{{#if: {{{explosionrange|}}}|<br>Explosion:<br>|}}<!--
  
-->{{#if:{{{explosionradiationsickness|}}}| {{Items infobox/affliction|Radiation Sickness| {{{explosionradiationsickness}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xradlast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{explosiondamagelegacy|}}}|[[File:Legacy Health Status.png|30px]]<span style="color:#00FF00">({{{explosiondamagelegacy}}})</span>{{#if:{{{explosiondamagelegacytype|}}}|&nbsp;({{{explosiondamagelegacytype|}}})}}<!-- Only used in legacy articles -->{{#if:{{{lxdamlast|}}}||<br>}}}}<!--
-->{{#if:{{{explosiondeeptissueinjury|}}}| {{Items infobox/affliction|Deep Tissue Injury| {{{explosiondeeptissueinjury}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xdeelast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{explosionbleedinglegacy|}}}|[[File:Legacy Bleeding Status Minor.png|30px]]<span style="color:#00FF00">({{{explosionbleedinglegacy}}})</span><!-- Only used in legacy articles -->{{#if:{{{lxbldlast|}}}||<br>}}}}<!--
-->{{#if:{{{explosionburn|}}}| {{Items infobox/affliction|Burn| {{{explosionburn}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xburlast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{explosionstunlegacy|}}}|Stun <span style="color:#00FF00">({{{explosionstunlegacy}}})</span><!-- Only used in legacy articles -->}}<!--
-->{{#if:{{{explosionlacerations|}}}| {{Items infobox/affliction|Lacerations| {{{explosionlacerations}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xlaclast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{explosionradiationsickness|}}}| {{Items infobox/affliction|Radiation Sickness|{{{explosionradiationsickness}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xradlast|}}}||<br>}}|}}<!--
-->{{#if:{{{explosionbleeding|}}}| {{Items infobox/affliction|Bleeding| {{{explosionbleeding}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xblelast|}}}||<br>}}|}}<!--
+
-->{{#if:{{{explosiondeeptissueinjury|}}}| {{Items infobox/affliction|Deep Tissue Injury|{{{explosiondeeptissueinjury}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xdeelast|}}}||<br>}}|}}<!--
-->{{#if:{{{explosionstun|}}}| {{Items infobox/affliction|Stun| {{{explosionstun}}}| {{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}|}}<!--
+
-->{{#if:{{{explosionburn|}}}| {{Items infobox/affliction|Burn|{{{explosionburn}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xburlast|}}}||<br>}}|}}<!--
 +
-->{{#if:{{{explosionlacerations|}}}| {{Items infobox/affliction|Lacerations|{{{explosionlacerations}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xlaclast|}}}||<br>}}|}}<!--
 +
-->{{#if:{{{explosionbleeding|}}}| {{Items infobox/affliction|Bleeding|{{{explosionbleeding}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}{{#if:{{{xblelast|}}}||<br>}}|}}<!--
 +
-->{{#if:{{{explosionstun|}}}| {{Items infobox/affliction|Stun|{{{explosionstun}}}|{{#if:{{{pellets|}}}|{{{pellets}}}|1}}|1}}|}}<!--
  
 
-->|{{{afflictions}}}}}</div> <!-- leaving this until transition is over -->
 
-->|{{{afflictions}}}}}</div> <!-- leaving this until transition is over -->
Line 304: Line 295:
 
-->
 
-->
 
{{#if: {{{explosionrange|}}}|
 
{{#if: {{{explosionrange|}}}|
{{!}} style="width:40%;font-size:105%;" {{!}} Explosion range
+
{{!}} style="width:40%;font-size:105%;" {{!}} Explosion Radius
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}} {{{explosionrange}}} meters
+
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}} {{{explosionrange}}} m
 
{{!}}-
 
{{!}}-
 
|}}<!--
 
|}}<!--
Line 343: Line 334:
 
{{!}}-
 
{{!}}-
 
|}}}}<!-- if there's no structure damage, but there is explosionstructuredamage
 
|}}}}<!-- if there's no structure damage, but there is explosionstructuredamage
 +
 +
-->
 +
{{#if: {{{itemdamage|}}}|
 +
{{!}} style="width:40%;font-size:105%;" {{!}} {{#if:{{{explosionrange|}}}|Item Damage|Thalamus Damage}}
 +
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}} {{{itemdamage}}}
 +
{{!}}-
 +
|}}<!--
  
 
-->
 
-->
Line 357: Line 355:
 
{{!}}-
 
{{!}}-
 
|}}<!--
 
|}}<!--
 +
 +
-->
 +
{{#if: {{{impacttolerance|}}}|
 +
{{!}} style="width:40%;font-size:105%;" {{!}} Impact Tolerance
 +
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}} {{{impacttolerance}}}
 +
{{!}}-
 +
|}}}}<!--
 
--------------------------------------------------------------------------- GENERAL
 
--------------------------------------------------------------------------- GENERAL
 
-->
 
-->
Line 366: Line 371:
 
  // Only used in legacy articles
 
  // Only used in legacy articles
 
-->
 
-->
{{#if: {{{price|}}}|
+
{{#if: {{{basepricelegacy|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}} style="width:40%;font-size:105%;" {{!}}  <abbr title="Buying and selling">Price</abbr>
 
{{!}} style="width:40%;font-size:105%;" {{!}}  <abbr title="Buying and selling">Price</abbr>
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}} {{{price}}} Marks
+
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}} {{{basepricelegacy}}} Marks
 
|}}<!--
 
|}}<!--
 
  // Deprecated, use multipliers for price
 
  // Deprecated, use multipliers for price
Line 513: Line 518:
 
|}}
 
|}}
 
}}<!--
 
}}<!--
 +
--------------------------------------------------------------------------- MEDICAL
 +
-->{{#if:{{{usableinhealthinterface|}}}|
 +
{{!}}-
 +
! class="infobox3 responsive-table" colspan="3" {{!}} Medical Usage
 +
{{!}}-
 +
{{!}} style="Width:40%;font-size:105%;" {{!}} Required Skill
 +
{{!}} style="Width:60%;text-align:center;" colspan="2" {{!}} [[File:Medical_Doctor_Job_Icon.png|32px|Medical|link=Skills#Medical]] [[Skills#Medical|Medical]] {{{medical}}}
 +
{{!}}-
 +
{{!}} style="Width:40%;font-size:105%;" {{!}} Afflictions
 +
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}}<div style="inline-size:min-content; margin:auto; white-space: nowrap;"><!--
 +
-->{{#if:{{{damage|}}}|{{Items_infobox/affliction_medical|Internal Damage|{{{damage}}}|{{#if:{{{damagefail|}}}|{{{damagefail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}|Any Internal Damage}}|}}<!--
 +
-->{{#if:{{{combatstimulant|}}}|{{Items_infobox/affliction_medical|Combat Stimulant|{{{combatstimulant}}}|{{#if:{{{combatstimulantfail|}}}|{{{combatstimulantfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{pressurestabilized|}}}|{{Items_infobox/affliction_medical|Pressure Stabilized|{{{pressurestabilized}}}|{{#if:{{{pressurestabilized|}}}|{{{pressurestabilizedfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{incrementalstun|}}}|{{Items_infobox/affliction_medical|Incremental Stun|{{{incrementalstun}}}|{{#if:{{{incrementalstunfail|}}}|{{{incrementalstunfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{stun|}}}|{{Items_infobox/affliction_medical|Stun|{{{stun}}}|{{#if:{{{stunfail|}}}|{{{stunfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{reaperstax|}}}|{{Items_infobox/affliction_medical|Reapers Tax|{{{reaperstax}}}|{{#if:{{{reaperstaxfail|}}}|{{{reaperstaxfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{huskinfectionresistance|}}}|{{Items_infobox/affliction_medical|Reapers Tax|{{{huskinfectionresistance}}}|{{#if:{{{huskinfectionresistancefail|}}}|{{{huskinfectionresistancefail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{paralysisresistance|}}}|{{Items_infobox/affliction_medical|Paralysis Resistance|{{{paralysisresistance}}}|{{#if:{{{paralysisresistancefail|}}}|{{{paralysisresistancefail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{psychosisresistance|}}}|{{Items_infobox/affliction_medical|Psychosis Resistance|{{{psychosisresistance}}}|{{#if:{{{psychosisresistancefail|}}}|{{{psychosisresistancefail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{strengthen|}}}|{{Items_infobox/affliction_medical|Vigor|{{{strengthen}}}|{{#if:{{{strengthenfail|}}}|{{{strengthenfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{psychosis|}}}|{{Items_infobox/affliction_medical|Psychosis|{{{psychosis}}}|{{#if:{{{psychosisfail|}}}|{{{psychosisfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{chemwithdrawal|}}}|{{Items_infobox/affliction_medical|Chem Withdrawal|{{{chemwithdrawal}}}|{{#if:{{{chemwithdrawalfail|}}}|{{{chemwithdrawalfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{cyanidepoisoning|}}}|{{Items_infobox/affliction_medical|Cyanide Poisoning|{{{cyanidepoisoning}}}|{{#if:{{{cyanidepoisoningfail|}}}|{{{cyanidepoisoningfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{deleriuminepoisoning|}}}|{{Items_infobox/affliction_medical|Deleriumine Poisoning|{{{deleriuminepoisoning}}}|{{#if:{{{deleriuminepoisoningfail|}}}|{{{deleriuminepoisoningfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{drunk|}}}|{{Items_infobox/affliction_medical|Drunk|{{{drunk}}}|{{#if:{{{drunkfail|}}}|{{{drunkfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{morbusinepoisoning|}}}|{{Items_infobox/affliction_medical|Morbusine Poisoning|{{{morbusinepoisoning}}}|{{#if:{{{morbusinepoisoningfail|}}}|{{{morbusinepoisoningfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{opiateaddiction|}}}|{{Items_infobox/affliction_medical|Opiate Addiction|{{{opiateaddiction}}}|{{#if:{{{opiateaddictionfail|}}}|{{{opiateaddictionfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{opiateoverdose|}}}|{{Items_infobox/affliction_medical|Opiate Overdose|{{{opiateoverdose}}}|{{#if:{{{opiateoverdosefail|}}}|{{{opiateoverdosefail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{opiatewithdrawal|}}}|{{Items_infobox/affliction_medical|Opiate Withdrawal|{{{opiatewithdrawal}}}|{{#if:{{{opiatewithdrawalfail|}}}|{{{opiatewithdrawalfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{radiationsickness|}}}|{{Items_infobox/affliction_medical|Radiation Sickness|{{{radiationsickness}}}|{{#if:{{{radiationsicknessfail|}}}|{{{radiationsicknessfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{sufforinpoisoning|}}}|{{Items_infobox/affliction_medical|Sufforin Poisoning|{{{sufforinpoisoning}}}|{{#if:{{{sufforinpoisoningfail|}}}|{{{sufforinpoisoningfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{paralysis|}}}|{{Items_infobox/affliction_medical|Paralysis|{{{paralysis}}}|{{#if:{{{paralysisfail|}}}|{{{paralysisfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{oxygenlow|}}}|{{Items_infobox/affliction_medical|Oxygen Low|{{{oxygenlow}}}|{{#if:{{{oxygenlowfail|}}}|{{{oxygenlowfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{nausea|}}}|{{Items_infobox/affliction_medical|Nausea|{{{nausea}}}|{{#if:{{{nauseafail|}}}|{{{nauseafail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{hyperactivity|}}}|{{Items_infobox/affliction_medical|Hyperactivity|{{{hyperactivity}}}|{{#if:{{{hyperactivityfail|}}}|{{{hyperactivityfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{watchersgaze|}}}|{{Items_infobox/affliction_medical|Watchers Gaze|{{{watchersgaze}}}|{{#if:{{{watchersgazefail|}}}|{{{watchersgazefail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{durationincrease|}}}|{{Items_infobox/affliction_medical|Slow Metabolism|{{{durationincrease}}}|{{#if:{{{durationincreasefail|}}}|{{{durationincreasefail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{chemaddiction|}}}|{{Items_infobox/affliction_medical|Chem Addiction|{{{chemaddiction}}}|{{#if:{{{chemaddictionfail|}}}|{{{chemaddictionfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{burn|}}}|{{Items_infobox/affliction_medical|Burn|{{{burn}}}|{{#if:{{{burnfail|}}}|{{{burnfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{bloodloss|}}}|{{Items_infobox/affliction_medical|Blood Loss|{{{bloodloss}}}|{{#if:{{{bloodlossfail|}}}|{{{bloodlossfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{bleeding|}}}|{{Items_infobox/affliction_medical|Bleeding|{{{bleeding}}}|{{#if:{{{bleedingfail|}}}|{{{bleedingfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
-->{{#if:{{{huskinfection|}}}|{{Items_infobox/affliction_medical|Husk Infection|{{{huskinfection}}}|{{#if:{{{huskinfectionfail|}}}|{{{huskinfectionfail}}}}}|{{{duration}}}|{{#if:{{{durationfail|}}}|{{{durationfail}}}}}}}<br>|}}<!--
 +
--></div>}}<!--
 
--------------------------------------------------------------------------- CRAFTING
 
--------------------------------------------------------------------------- CRAFTING
 
-->
 
-->
Line 625: Line 673:
 
|}<!--
 
|}<!--
 
--------------------------------------------------------------------------- SUB TABLES CARGO STORAGE
 
--------------------------------------------------------------------------- SUB TABLES CARGO STORAGE
-->{{#ifeq: {{{type}}}|gatherable|
+
-->{{#ifeq:{{#count:{{PAGENAME}}|(Legacy)}}|0|{{TEX|2=
 +
{{#ifeq:{{{type}}}|gatherable|
 
{{Items infobox/gatherable
 
{{Items infobox/gatherable
 
| name = {{{name|{{PAGENAME}}}}}
 
| name = {{{name|{{PAGENAME}}}}}
Line 636: Line 685:
 
| commonness_thegreatsea = {{{commonness_thegreatsea|}}}
 
| commonness_thegreatsea = {{{commonness_thegreatsea|}}}
 
| commonness_hydrothermalwastes = {{{commonness_hydrothermalwastes|}}}
 
| commonness_hydrothermalwastes = {{{commonness_hydrothermalwastes|}}}
}}|}}<!--
+
}}}}<!--
  
-->{{#ifeq: {{{type}}}|ammo|
+
-->{{#ifeq:{{{type}}}|ammo|
 
{{Items infobox/ammunition
 
{{Items infobox/ammunition
 
| name = {{{name|{{PAGENAME}}}}}
 
| name = {{{name|{{PAGENAME}}}}}
Line 650: Line 699:
 
| magazine = {{{magazine|}}}
 
| magazine = {{{magazine|}}}
 
| reusable = {{{reusable|}}}
 
| reusable = {{{reusable|}}}
}}|}}<!--
+
}}}}<!--
 
--------------------------------------------------------------------------- CATEGORIES
 
--------------------------------------------------------------------------- CATEGORIES
-->{{TEX|2={{#if:{{{nocat|}}}||[[Category:{{#switch:{{{type}}}
+
-->{{#if:{{{nocat|}}}||[[Category:{{{category|Misc}}}]]{{#if:{{{category|}}}|{{#if:{{{category2|}}}|[[Category:{{{category2}}}]]}}{{#if:{{{subcategory|}}}|[[Category:{{{subcategory}}}]]}}}}[[Category:{{#switch:{{{type}}}
 
|weapon= Weapons
 
|weapon= Weapons
 
|tool= Tools
 
|tool= Tools
Line 689: Line 738:
 
|processedmaterial
 
|processedmaterial
 
|rarematerial=[[Category:Crafting Materials]]
 
|rarematerial=[[Category:Crafting Materials]]
|#default= }}<!--
+
|#default= }}}}<!--
 
--------------------------------------------------------------------------- MAIN CARGO STORAGE
 
--------------------------------------------------------------------------- MAIN CARGO STORAGE
 
-->{{#cargo_store:_table=Items
 
-->{{#cargo_store:_table=Items
Line 697: Line 746:
 
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{#if: {{{image|}}} | {{{image}}} | {{{name|{{PAGENAME}}}}}.png |}}}}
 
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{#if: {{{image|}}} | {{{image}}} | {{{name|{{PAGENAME}}}}}.png |}}}}
 
| sprite = {{#if:{{{sprite|}}}|{{{sprite}}}|{{{image2|}}}}}
 
| sprite = {{#if:{{{sprite|}}}|{{{sprite}}}|{{{image2|}}}}}
 +
| categories = {{{category|Misc}}}{{#if:{{{category2|}}}|,{{{category2}}}}}
 +
| subcategory = {{{subcategory|}}}
 +
| tags = {{{tags|}}}
 
| type = {{{type|}}}
 
| type = {{{type|}}}
 
| sort = {{{sort|}}}
 
| sort = {{{sort|}}}
Line 704: Line 756:
 
| sources = {{{sources|}}}
 
| sources = {{{sources|}}}
 
| duration = {{{duration|}}}
 
| duration = {{{duration|}}}
 +
| durationfail = {{{durationfail|}}}
 +
| usableinhealthinterface = {{{usableinhealthinterface|}}}
 
| explosionrange = {{{explosionrange|}}}
 
| explosionrange = {{{explosionrange|}}}
 
| ammo = {{{ammo|}}}
 
| ammo = {{{ammo|}}}
Line 713: Line 767:
 
| pellets = {{{pellets|}}}
 
| pellets = {{{pellets|}}}
 
| structuredamage = {{{structuredamage|}}}
 
| structuredamage = {{{structuredamage|}}}
 +
| itemdamage = {{{itemdamage|}}}
 
| penetration = {{{penetration|}}}
 
| penetration = {{{penetration|}}}
 
| piercing = {{{piercing|}}}
 
| piercing = {{{piercing|}}}
Line 724: Line 779:
 
| organdamage = {{{organdamage|}}}
 
| organdamage = {{{organdamage|}}}
 
| burn = {{{burn|}}}
 
| burn = {{{burn|}}}
 +
| burnfail = {{{burnfail|}}}
 
| bleeding = {{{bleeding|}}}
 
| bleeding = {{{bleeding|}}}
 +
| bleedingfail = {{{bleedingfail|}}}
 
| stun = {{{stun|}}}
 
| stun = {{{stun|}}}
 
| stunchance = {{{stunchance|}}}
 
| stunchance = {{{stunchance|}}}
Line 746: Line 803:
 
| explosionseverlimbsprobability = {{{explosionseverlimbsprobability|}}}
 
| explosionseverlimbsprobability = {{{explosionseverlimbsprobability|}}}
 
<!--            TODO: add the rest of the afflictions that can be inflicted by weapons
 
<!--            TODO: add the rest of the afflictions that can be inflicted by weapons
--><!-- store -->
+
-->
 +
<!-- medicinal afflictions -->
 +
| damage = {{{damage|}}}
 +
| damagefail = {{{damagefail|}}}
 +
| combatstimulant = {{{combatstimulant|}}}
 +
| combatstimulantfail = {{{combatstimulantfail|}}}
 +
| pressurestabilized = {{{pressurestabilized|}}}
 +
| pressurestabilizedfail = {{{pressurestabilizedfail|}}}
 +
| incrementalstun = {{{incrementalstun|}}}
 +
| incrementalstunfail = {{{incrementalstunfail|}}}
 +
| stun = {{{stun|}}}
 +
| stunfail = {{{stunfail|}}}
 +
| reaperstax = {{{reaperstax|}}}
 +
| reaperstaxfail = {{{reaperstaxfail|}}}
 +
| huskinfectionresistance = {{{huskinfectionresistance|}}}
 +
| huskinfectionresistancefail = {{{huskinfectionresistancefail|}}}
 +
| paralysisresistance = {{{paralysisresistance|}}}
 +
| paralysisresistancefail = {{{paralysisresistancefail|}}}
 +
| psychosisresistance = {{{psychosisresistance|}}}
 +
| psychosisresistancefail = {{{psychosisresistancefail|}}}
 +
| strengthen = {{{strengthen|}}}
 +
| strengthenfail = {{{strengthenfail|}}}
 +
| psychosis = {{{psychosis|}}}
 +
| psychosisfail = {{{psychosisfail|}}}
 +
| chemwithdrawal = {{{chemwithdrawal|}}}
 +
| chemwithdrawalfail = {{{chemwithdrawalfail|}}}
 +
| cyanidepoisoning = {{{cyanidepoisoning|}}}
 +
| cyanidepoisoningfail = {{{cyanidepoisoningfail|}}}
 +
| deleriuminepoisoning = {{{deleriuminepoisoning|}}}
 +
| deleriuminepoisoningfail = {{{deleriumpoisoningfail|}}}
 +
| drunk = {{{drunk|}}}
 +
| drunkfail = {{{drunkfail|}}}
 +
| morbusinepoisoning = {{{morbusinepoisoning|}}}
 +
| morbusinepoisoningfail = {{{morbusinepoisoningfail|}}}
 +
| opiateaddiction = {{{opiateaddiction|}}}
 +
| opiateaddictionfail = {{{opiateaddictionfail|}}}
 +
| opiateoverdose = {{{opiateoverdose|}}}
 +
| opiateoverdosefail = {{{opiateoverdosefail|}}}
 +
| opiatewithdrawal = {{{opiatewithdrawal|}}}
 +
| opiatewithdrawalfail = {{{opiatewithdrawalfail|}}}
 +
| radiationsickness = {{{radiationsickness|}}}
 +
| radiationsicknessfail = {{{radiationsicknessfail|}}}
 +
| sufforinpoisoning = {{{sufforinpoisoning|}}}
 +
| sufforinpoisoningfail = {{{sufforinpoisoningfail|}}}
 +
| paralysis = {{{paralysis|}}}
 +
| paralysisfail = {{{paralysisfail|}}}
 +
| oxygenlow = {{{oxygenlow|}}}
 +
| oxygenlowfail = {{{oxygenlowfail|}}}
 +
| nausea = {{{nausea|}}}
 +
| nauseafail = {{{nauseafail|}}}
 +
| hyperactivity = {{{hyperactivity|}}}
 +
| hyperactivityfail = {{{hyperactivityfail|}}}
 +
| watchersgaze = {{{watchersgaze|}}}
 +
| watchersgazefail = {{{watchersgazefail|}}}
 +
| durationincrease = {{{durationincrease|}}}
 +
| durationincreasefail = {{{durationincreasefail|}}}
 +
| chemaddiction = {{{chemaddiction|}}}
 +
| chemaddictionfail = {{{chemaddictionfail|}}}
 +
| bloodloss = {{{bloodloss|}}}
 +
| bloodlossfail = {{{bloodlossfail|}}}
 +
<!-- store -->
 
| baseprice = {{{baseprice|}}}
 
| baseprice = {{{baseprice|}}}
 
| unbuyable = {{{unbuyable|}}}
 
| unbuyable = {{{unbuyable|}}}
Line 785: Line 902:
 
| fabricatortimealt = {{{fabricatortimealt|}}}
 
| fabricatortimealt = {{{fabricatortimealt|}}}
 
| fabricatedamount = {{{fabricatedamount|}}}
 
| fabricatedamount = {{{fabricatedamount|}}}
}}}}}}
+
}}}}}}</onlyinclude></includeonly>
</includeonly>
 

Latest revision as of 16:06, 13 November 2022

Template-info.png Documentation

Basic

Field Note Example Expected Default
name Item name Wrench {{PAGENAME}}
icon Icon of item Wrench.png {{{name|{{PAGENAME}}}}}.png
iconwidth Forced icon width (px) 250 180
caption Caption under image Inventory icon
sprite Sprite of item Wrench_sprite.png
spritewdith Forced sprite width (px) 90 180
caption2 Caption under image Inventory icon
identifier Internal identifier of the item from game files (optional) wrench
description In-game item description Useful for crafting
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
category2 The second category of the item, if applicable. Weapon Structure, Decorative, Machine, Medical, Weapon, Diving, Equipment, Fuel, Electrical, Material, Alien, Wrecked, Legacy, Misc
subcategory The subcategory of the item, as defined in XML. Labels 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, as defined in XML. smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon CSV list of the item's tags
wikidescription Used by cargo.
sources Used by cargo.

Damage

Field Note Example Expected Default
usedby What weapon(s) use this ammo Assault Rifle.png Assault Rifle 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" ( |afflictions=yes ). yes yes
(Previously: list of afflictions using Template:Affliction)
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
blulast, laclast, gunlast... Use to remove the <br> 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.
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.
attackspeed Number of potential hits per second. This is usually 1/<reload> (+<maxchargetime> if any). 5 number
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
structuredamage Structure damage 20 number
explosionstructuredamage Explosion structure damage 20 number
magazine Number of rounds in a magazine 20 number
reusable shows that this ammo is reusable if set to yes, hidden otherwise yes yes hidden

Stats

Field Note Example Expected Default
nostats Skips Stats section if true yes whitespace/empty or string
type Sets category of item depending on the type
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 Item
size Size of the item. Default is small.
DEPRECATED: Use "tags" instead.
medium medium/undefined small
impacttolerance The impact tolerance of the item. 8 number
ammo Ammo used by an item Revolver Round.png Revolver Round item(s)
ammocost Cost of ammo 100 Marks number
ammocount Amount of ammo a item can hold 4 number
fuel Fuel used by item Welding Fuel Tank.png Welding Fuel Tank item(s)
fuelcost Cost of fuel 100 Marks number
fuelcount Amount of fuel an item can hold 4 number
maxstack Maximum number of items in a stack 10 number
payload Payload used by an item UEX.png UEX item(s)
payloadcost Cost of payload 100 Marks number
payloadcount Amount of payloads an item can hold 1 number
supplyname Name of item that fits no other field Food text
supplycost Cost of supply item 100 Marks number
supplycount Amount of supply items an item can hold 4 number
supplyitems Supply items used by an item Battery Cell.png Battery Cell item(s)
itemcapacity Amount of generic items a storage item can hold (for containers) 4 number

Medical Items

Field Note Example Expected
usableinhealthinterface Is the item a medical item yes boolean
damage "Any Internal Damage" in strength per second 5 number
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
xxxfail Any Specific affliction in strength per second when failed oxygenlow = 1.5 number
duration The duration of the item's effects on use in seconds 10 number
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

Skill Requirements

Field Note Example Expected
noreq Skips Skill Requirements section if true yes whitespace/empty or string
weapons Weapons skill required to handle item without penalty 10 number
mechanical Mechanical skill required to handle item without penalty 10 number
electrical Electrical skill required to handle item without penalty 10 number
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

Crafting

Field Note Example Expected
fabricator Is the item constructible in a regular fabricator yes yes/no
medicalfabricator Is the item constructible in a medical fabricator yes yes/no
talent What talent is required to craft this item Quickdraw link to the talents page with an anchor to the job
or link to the specific talent page itself if we make one
fabricatedamount How many items are crafted at once (if 1<) 4 number
fabricatortime Time required to craft item (seconds) 10 number
fabricatorskill Skill required to craft item medical mechanical/electrical/medical/weapons
fabricatorskilllevel Skill level required to craft item 20 number
fabricatorskill2 Second Skill required to craft item medical mechanical/electrical/medical/weapons
fabricatorskilllevel2 Skill level of the second skill required to craft item 20 number
fabricatormaterials Items required to craft item Iron.png Iron item
fabricatedamount Amount of items produced by fabrication 3 number
deconstructor Is the item deconstructible yes yes/no
deconstructortime Time required to deconstruct item (seconds) 10 number
deconstructormaterials Items recieved after deconstructing Iron.png Iron item

Store

Field Note Example Expected
nostore Skips Store section if true yes whitespace/empty or string
price Used for legacy items 100 number
unbuyable If item can't be bought anywhere true
  • 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
outpostminavailable Minimum amout of stock available at the Habitation Outpost 3 number
outpostunbuyable 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
citymultiplier Price multiplier of item at a Colony 1.25 number
cityminavailable Minimum amout of stock available at a Colony 3 number
cityunbuyable 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
researchmultiplier Price multiplier of item at the Research Outpost 1.25 number
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
  • 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 amout of stock available at the Military Outpost 3 number
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
mineminavailable Minimum amout of stock available at the Mining Outpost 3 number
mineunbuyable If item is unbuyable in this outpost. Ignored if overall unbuyable=true is set. all
  • 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
medicalunbuyable 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
engineeringmultiplier Price multiplier of item from this merchant 1.25 number
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
  • whitespace/empty - Both prices appear
  • true - Sets buy price to N/A
armorymultiplier Price multiplier of item from this merchant 1.25 number
armoryminavailable Minimum amout of stock available from this merchant 3 number
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

Other

Field Note Example Expected
nocat Removes page categories if defined. yes whitespace/empty or string

Tool Example

Wrench
px
Inventory icon.

Wrench sprite.png
Sprite.
ID: wrench
Makes mechanical repairs possible.
Equipment
Stats
Afflictions
Affliction Blunt Force Trauma.png Blunt Force Trauma (4)
Affliction Stun.png Stun (0.2)
Attack Speed 1
Structure damage 2
Crafting
Fabricator
Requirements
(produces 1 items)
Iron.png Iron
Fabrication time 10s
Deconstructor Yield
Iron.png Iron
Time.png 10s
Store
OutpostOutpost Buy Sell
Habitation OutpostHabitation 10 mk 2 mk
ColonyColony 9 mk 2 mk
Research OutpostResearch 12 mk 3 mk
Military OutpostMilitary 12 mk 3 mk
Mining OutpostMining 10 mk 2 mk

The example seen to the right is defined as follows:

{{Items infobox
| name = Wrench
| icon = Wrench.png
| caption = Inventory icon.
| sprite = Wrench sprite.png
| spritewidth = 61
| caption2 = Sprite.
| identifier = wrench
| description = Makes mechanical repairs possible.
| category = Equipment
| tags = smallitem,tool,simpletool,mechanicalrepairtool,wrenchitem,mountableweapon
| type = tool
| noreq = yes
| afflictions = yes
| bluntforcetrauma = 4
| stun = 0.2
| attackspeed = 1
| structuredamage = 2
| baseprice = 10
| outpostmultiplier = 1
| outpostminavailable = 10
| citymultiplier = 0.9 
| cityminavailable = 15
| researchmultiplier = 1.25
| researchminavailable = 10
| militarymultiplier = 1.25
| militaryminavailable = 10
| minemultiplier = 1
| mineminavailable = 10
| deconstructor = Yes
| fabricator = Yes
| fabricatortime = 10
| fabricatorskill = mechanical
| fabricatorskilllevel = 20
| fabricatedamount = 1
| deconstructortime = 10
| fabricatormaterials = {{Hyperlink|Iron}}
| deconstructormaterials = {{Hyperlink|Iron}}
}}

Medical Item Example

 
Morphine
px
Inventory icon.

37px
Sprite.
ID: antidama1
A powerful opiate for treating pain associated with internal injuries, but will cause shortness of breath and eventual dependency with overuse.
Medical
Medical Usage
Required Skill Medical Medical 30
Afflictions
Affliction Internal Damage.png Any Internal Damage (50 | 25)*Affliction Opiate Addiction.png Opiate Addiction (5 | 25)*
Affliction Opiate Overdose.png Opiate Overdose (10 | 20)*
Affliction Opiate Withdrawal.png Opiate Withdrawal (30)*
Affliction Oxygen Low.png Oxygen Low (20 | 30)*
Affliction Burn.png Burn (1 | 0.5)*
Crafting
Fabricator
Requirements
(produces 1 items)
Skill: Medical 18
Opium.png Opium x2
Fabrication time 30s
Deconstructor Yield
Opium.png Opium
Time.png 20s
Store
OutpostOutpost Buy Sell
Habitation OutpostHabitation 100 mk 25 mk
ColonyColony 100 mk 25 mk
Research OutpostResearch 100 mk 25 mk
Military OutpostMilitary 100 mk 25 mk
Mining OutpostMining 100 mk 25 mk 
Medical MerchantMedical Merchant  90 mk 22 mk

The example seen to the right is defined as follows:

{{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
| noreq = yes
| nostats = yes
| 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
}}

This template defines the table "Items". View table.