Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
mNo edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]][[Category:Cargo Storage Templates]]
<noinclude>[[Category:Templates]][[Category:Cargo Declaration Templates]][[Category:Cargo Storage Templates]][[Category:Infobox Templates]]
{{clr}}
{{clr}}


{{doc}}
<big style="color:red">This template is no longer in use. Medical afflictions were added to [[Template:Items infobox]] and all relevant pages were switched to it.</big>
 
<br>


{{#cargo_attach:_table=Items}}
{{#cargo_attach:_table=Items}}
Line 13: Line 15:
| file  = {{#if: {{{icon|}}} | {{{icon}}} | {{PAGENAME}}.png }}
| file  = {{#if: {{{icon|}}} | {{{icon}}} | {{PAGENAME}}.png }}
| imagewidth  = {{#if: {{{iconwidth|}}} | {{{iconwidth}}}px |}}
| imagewidth  = {{#if: {{{iconwidth|}}} | {{{iconwidth}}}px |}}
}}{{#if:{{{identifier|}}}|<br><span style="margin:auto;text-align:center;color:#808080;"><small>ID: <code>{{{identifier|}}}</code></small></span>}}{{#if: {{{maxstack|}}}|
}}{{#if: {{{caption|}}} |<div style="margin:auto;text-align:center;max-width:450px;word-wrap:break-word;"><small>{{{caption}}}</small></div>}}{{#if: {{{sprite|}}} |<br><br>[[File:{{{sprite|}}}|{{{spritewidth|64}}}px]]
<span style="text-align:right;">{{{maxstack}}}</span>|}}<!--
 
-->{{#if: {{{caption|}}} |<div style="margin:auto;text-align:center;max-width:450px;word-wrap:break-word;"><small>{{{caption}}}</small></div>}}{{#if: {{{sprite|}}} |<br><br>[[File:{{{sprite|}}}|{{{spritewidth|64}}}px]]
{{#if: {{{caption2|}}} |<br><small>{{{caption2}}}</small>}}
{{#if: {{{caption2|}}} |<br><small>{{{caption2}}}</small>}}
|}}
|}}
{{#if: {{{description|}}} |<div style="margin: 0 auto;width:50%;float:center;border-bottom: 1px #E2D9A4 dotted;"></div>''<small>{{{description}}}</small>''|}}
{{#if: {{{description|}}} |<div style="margin: 0 auto;width:50%;float:center;border-bottom: 1px #E2D9A4 dotted;"></div>''<small>{{{description}}}</small>''|}}
|-<!--
-->
| style="text-align:center;" colspan="10"  | {{#switch: {{{type}}}<!--
-->|equipment=[[:Category:Medical Items|Medical Item]], [[:Category:Medical Equipment|Medical Equipment]]|basic=[[:Category:Medical Items|Medical Item]], [[:Category:Basic Chemicals|Basic Chemical]]<!--
-->|medicine=[[:Category:Medical Items|Medical Item]], [[:Category:Medicines|Medicine]]<!--
-->|stimulant=[[:Category:Medical Items|Medical Item]], [[:Category:Stimulants|Stimulant]]<!--
-->|poison=[[:Category:Medical Items|Medical Item]], [[:Category:Poisons|Poison]]<!--
-->|antidote=[[:Category:Medical Items|Medical Item]], [[:Category:Antidotes|Antidote]]<!--
-->|#default=[[:Category:Medical Items|Medical Item]]}}<!--
-->{{#if:{{{organicmaterial|}}}|, [[:Category:Organic Crafting Materials|Organic]] [[:Category:Crafting Materials|Crafting Material]]|}}<!--
-->{{#if: {{{talent|}}}|, [[:Category:Talent Items|Talent Item]]|}}
|-<!--
|-<!--


Line 51: Line 38:


-->{{#if: {{{paralysisresistance|}}}| {{Affliction|Paralysis Resistance| 4={{{paralysisresistance}}}}}<br>|}}<!--
-->{{#if: {{{paralysisresistance|}}}| {{Affliction|Paralysis Resistance| 4={{{paralysisresistance}}}}}<br>|}}<!--
-->{{#if: {{{hyperactivity|}}}| {{Affliction|Hyperactivity| 4={{{hyperactivity}}}}}<br>|}}<!--
-->{{#if: {{{haste|}}}| {{Affliction|Hyperactivity| 4={{{haste}}}}}<br>|}}<!--
-->{{#if: {{{huskinfectionresistance|}}}| {{Affliction|Husk Infection Resistance| 4={{{huskinfectionresistance}}}}}<br>|}}<!--
-->{{#if: {{{huskinfectionresistance|}}}| {{Affliction|Husk Infection Resistance| 4={{{huskinfectionresistance}}}}}<br>|}}<!--
-->{{#if: {{{psychosisresistance|}}}| {{Affliction|Psychosis Resistance| 4={{{psychosisresistance}}}}}<br>|}}<!--
-->{{#if: {{{psychosisresistance|}}}| {{Affliction|Psychosis Resistance| 4={{{psychosisresistance}}}}}<br>|}}<!--
Line 58: Line 45:
-->{{#if: {{{pressurestabilized|}}}| {{Affliction|Pressure Stabilized| 4={{{pressurestabilized}}}}}<br>|}}<!--
-->{{#if: {{{pressurestabilized|}}}| {{Affliction|Pressure Stabilized| 4={{{pressurestabilized}}}}}<br>|}}<!--
-->{{#if: {{{combatstimulant|}}}| {{Affliction|Combat Stimulant (Affliction)|{{{combatstimulant}}}| 6={{#expr:{{{combatstimulant}}}*{{{duration}}} round 1}}|linktext=Combat Stimulant|icon=Combat Stimulant}}<br>|}}<!--
-->{{#if: {{{combatstimulant|}}}| {{Affliction|Combat Stimulant (Affliction)|{{{combatstimulant}}}| 6={{#expr:{{{combatstimulant}}}*{{{duration}}} round 1}}|linktext=Combat Stimulant|icon=Combat Stimulant}}<br>|}}<!--
-->{{#if: {{{damage|}}}| {{Affliction|Damage (affliction type)|{{{damage}}}| 6={{#expr:{{{damage}}}*{{{duration}}} round 1}}|linktext=Damage (affliction type)}}<br>|}}<!--
-->{{#if: {{{damage|}}}| {{Affliction|Damage (Affliction Type)|{{{damage}}}| 6={{#expr:{{{damage}}}*{{{duration}}} round 1}}|linktext=Damage (Affliction Type)}}<br>|}}<!--
-->{{#if: {{{instadamage|}}}| {{Affliction|Damage (affliction type)| 4={{{instadamage}}}|linktext=Damage (affliction type)}}<br>|}}<!--
-->{{#if: {{{instadamage|}}}| {{Affliction|Damage (Affliction Type)| 4={{{instadamage}}}|linktext=Damage (Affliction Type)}}<br>|}}<!--
-->{{#if: {{{organdamage|}}}| {{Affliction|Organ Damage|{{{organdamage}}}| 6={{#expr:{{{organdamage}}}*{{{duration}}} round 1}}}}<!--
-->{{#if: {{{organdamage|}}}| {{Affliction|Organ Damage|{{{organdamage}}}| 6={{#expr:{{{organdamage}}}*{{{duration}}} round 1}}}}<!--
-->{{#ifeq: {{PAGENAME}}|Chloral Hydrate|{{#if: {{{organdamagesyringe|}}}|{{Medical infobox/syringe|total}}'''({{#expr: {{{organdamagesyringe}}}*{{{duration}}} round 1}})*'''</span></span>|}}|}}<br>|}}<!--
-->{{#ifeq: {{PAGENAME}}|Chloral Hydrate|{{#if: {{{organdamagesyringe|}}}|{{Medical infobox/syringe|total}}'''({{#expr: {{{organdamagesyringe}}}*{{{duration}}} round 1}})*'''</span></span>|}}|}}<br>|}}<!--
Line 120: Line 107:
-->{{#if: {{{psychosisresistancefail|}}}| {{Affliction|Psychosis Resistance| 5={{{psychosisresistancefail}}}}}<br>|}}<!--
-->{{#if: {{{psychosisresistancefail|}}}| {{Affliction|Psychosis Resistance| 5={{{psychosisresistancefail}}}}}<br>|}}<!--


-->{{#if: {{{hyperactivityfail|}}}| {{Affliction|Hyperactivity| 5={{{hyperactivityfail}}}}}<br>|}}<!--
-->{{#if: {{{hastefail|}}}| {{Affliction|Hyperactivity| 5={{{hastefail}}}}}<br>|}}<!--


-->{{#if: {{{vigorfail|}}}| {{Affliction|Vigor| 5={{{vigorfail}}}}}<br>|}}<!--
-->{{#if: {{{vigorfail|}}}| {{Affliction|Vigor| 5={{{vigorfail}}}}}<br>|}}<!--
Line 131: Line 118:
7={{#expr:{{{combatstimulantfail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}|linktext=Combat Stimulant|icon=Combat Stimulant}}<br>|}}<!--
7={{#expr:{{{combatstimulantfail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}|linktext=Combat Stimulant|icon=Combat Stimulant}}<br>|}}<!--


-->{{#if: {{{damagefail|}}}| {{Affliction|Damage (affliction type)| 3={{{damagefail}}}|
-->{{#if: {{{damagefail|}}}| {{Affliction|Damage (Affliction Type)| 3={{{damagefail}}}|
7={{#expr:{{{damagefail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}|linktext=Damage (affliction type)}}<!--
7={{#expr:{{{damagefail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}|linktext=Damage (Affliction Type)}}<!--
-->{{#if: {{{damagesyringe|}}}|{{Medical infobox/syringe|total}}'''({{#expr: {{{damagesyringe}}}*{{{duration}}} round 1}})*'''</span></span>|}}<br>|}}<!-- spans are in template
-->{{#if: {{{damagesyringe|}}}|{{Medical infobox/syringe|total}}'''({{#expr: {{{damagesyringe}}}*{{{duration}}} round 1}})*'''</span></span>|}}<br>|}}<!-- spans are in template


Line 237: Line 224:
-->{{#if: {{{explosionstun|}}}| {{Affliction|Stun|||{{{explosionstun}}}s}}|}}
-->{{#if: {{{explosionstun|}}}| {{Affliction|Stun|||{{{explosionstun}}}s}}|}}
{{!}}-<!--
{{!}}-<!--
-->
{{#if: {{{triggers|}}}|
{{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} Triggers
{{!}} style="width:60%;text-align:center;" colspan="6" {{!}} {{{triggers}}}
{{!}}-
|}}<!--
-->
{{#if: {{{maxstack|}}}|
{{!}} style="width:40%;font-size:105%;" {{!}} Maximum stack
{{!}} style="width:60%;text-align:center;" colspan="2" {{!}} {{{maxstack}}}
{{!}}-
|}}<!--


-->
-->
Line 321: Line 322:
{{!}}-  
{{!}}-  
{{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} <abbr title="The minimum Reputation required for this item to be buyable>Reputation Requirement</abbr>  
{{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} <abbr title="The minimum Reputation required for this item to be buyable>Reputation Requirement</abbr>  
{{!}} style="width:60%;text-align:center;" colspan="6" {{!}}  
{{!}} style="width:60%;text-align:center;" colspan="6" {{!}} {{#if:{{{coalitionreputation|}}}|<div>[[File:Faction Europa Coalition.png|32px|Coalition|link=Campaign#Factions]][[Campaign#Factions|Europa Coalition]]: {{{coalitionreputation|}}}</div>}}<!--
{{#if:{{{coalitionreputation|}}}|<div>[[File:Faction Europa Coalition.png|32px|Coalition|link=Campaign#Factions]][[Campaign#Factions|Europa Coalition]]: {{{coalitionreputation|}}}</div>}}  
-->{{#if:{{{separatistsreputation|}}}|<div>[[File:Faction Jovian Separatists.png|32px|Separatists|link=Campaign#Factions]][[Campaign#Factions|Jovian Separatists]]: {{{separatistsreputation}}}</div>}} <!--
{{#if:{{{separatistsreputation|}}}|<div>[[File:Faction Jovian Separatists.png|32px|Separatists|link=Campaign#Factions]][[Campaign#Factions|Jovian Separatists]]: {{{separatistsreputation}}}</div>}}  
-->{{#if:{{{clownreputation|}}}|<div>[[File:Faction Children of The Honkmother.png|32px|Clown|link=Campaign#Factions]][[Campaign#Factions|Children of The Honkmother]]: {{{clownreputation}}}</div>}}<!--
{{#if:{{{clownreputation|}}}|<div>[[File:Faction Children of The Honkmother.png|32px|Clown|link=Campaign#Factions]][[Campaign#Factions|Children of The Honkmother]]: {{{clownreputation}}}</div>}}
-->{{#if:{{{huskreputation|}}}|<div>[[File:Faction The Church of Husk.png|32px|Coalition|link=Campaign#Factions]][[Campaign#Factions|The Church of Husk]]: {{{huskreputation}}}</div>}}}}<!--
{{#if:{{{huskreputation|}}}|<div>[[File:Faction The Church of Husk.png|32px|Coalition|link=Campaign#Factions]][[Campaign#Factions|The Church of Husk]]: {{{huskreputation}}}</div>}}
}}<!--


-->
-->
Line 362: Line 361:
{{!}}-
{{!}}-
{{Items_infobox/store|husk|{{{baseprice}}}|{{{huskmultiplier|1}}}|{{#if:{{{unbuyable|}}}|{{#if:{{{husksold|}}}||true}}|{{{huskunbuyable|{{#if:{{{husksold|}}}{{{huskmultiplier|}}}{{{huskminavailable|}}}||true|}}}}}}}||{{#var:sold}}|10columns=yes}}<!--  
{{Items_infobox/store|husk|{{{baseprice}}}|{{{huskmultiplier|1}}}|{{#if:{{{unbuyable|}}}|{{#if:{{{husksold|}}}||true}}|{{{huskunbuyable|{{#if:{{{husksold|}}}{{{huskmultiplier|}}}{{{huskminavailable|}}}||true|}}}}}}}||{{#var:sold}}|10columns=yes}}<!--  
-->|}}|}}<!--
-->|}}|}}
|-
| colspan="10" style="padding:0px" |
{| class="responsive-table mw-collapsible mw-collapsed" style="width:100%"
! colspan="2" class="infobox3 responsive-table" | Technical
|-
| style="width:40%;font-size:105%" | Identifier
| width="60%" | {{{identifier}}}
|-
{{#if:{{{nameidentifier|}}}|
{{!}} style="width:40%;font-size:105%" {{!}} Name Identifier
{{!}} width="60%" {{!}} {{{nameidentifier}}}}}
|-
{{#if:{{{cargocontaineridentifier|}}}|
{{!}} style="width:40%;font-size:105%" {{!}} Cargo Container Identifier
{{!}} width="60%" {{!}} {{{cargocontaineridentifier}}}}}
|-
| style="font-size:105%" | Categories
| <!--
-->{{#switch:{{#explode:{{{category}}}|,|0}}|Misc=[[:Category:Miscellaneous Items|Misc]]|
Equipment=[[:Category:Equipment|Equipment]]|
Material=[[:Category:Materials|Material]]|
Medical=[[:Category:Medical Items|Medical]]|
Weapon=[[:Category:Weapons|Weapon]]|
Electrical=[[:Category:Electrical Items|Electrical]]|
Diving=[[:Category:Diving Equipment|Diving]]|
Alien=[[:Category:Alien Items|Alien]]|
Fuel=[[:Category:Fuel Items|Fuel]]|}}<!--
 
-->{{#switch:{{#explode:{{{category}}}|,|1}}|Misc=[[:Category:Miscellaneous Items|Misc]]|
Equipment=, [[:Category:Equipment|Equipment]]|
Material=, [[:Category:Materials|Material]]|
Medical=, [[:Category:Medical Items|Medical]]|
Weapon=, [[:Category:Weapons|Weapon]]|
Electrical=, [[:Category:Electrical Items|Electrical]]|
Diving=, [[:Category:Diving Equipment|Diving]]|
Alien=, [[:Category:Alien Items|Alien]]|
Fuel=, [[:Category:Fuel Items|Fuel]]|}}<!--
 
-->{{#switch:{{#explode:{{{category}}}|,|2}}|Misc=[[:Category:Miscellaneous Items|Misc]]|
Equipment=, [[:Category:Equipment|Equipment]]|
Material=, [[:Category:Materials|Material]]|
Medical=, [[:Category:Medical Items|Medical]]|
Weapon=, [[:Category:Weapons|Weapon]]|
Electrical=, [[:Category:Electrical Items|Electrical]]|
Diving=, [[:Category:Diving Equipment|Diving]]|
Alien=, [[:Category:Alien Items|Alien]]|
Fuel=, [[:Category:Fuel Items|Fuel]]|}}
|-
{{#if:{{{tags|}}}|
{{!}} style="font-size:105%" {{!}} Tags
{{!}} {{{tags}}}}}
|}
|}<!--
--------------------------------------------------------------------------- CATEGORIES
--------------------------------------------------------------------------- CATEGORIES
-->{{TEX|2={{#if:{{{nocat|}}}||[[Category:{{#switch: {{{type}}}
-->{{TEX|2={{#if:{{{nocat|}}}||[[Category:Items]]<!--
|equipment=Medical Equipment
 
|basic=Basic Chemicals
-->{{#switch:{{#explode:{{{category}}}|,|0}}|Misc=[[Category:Miscellaneous Items]]|
|medicine=Medicines
Equipment=[[Category:Equipment]]|
|stimulant=Stimulants
Material=[[Category:Materials]]|
|poison=Poisons
Medical=[[Category:Medical Items]]|
|antidote=Antidotes
Weapon=[[Category:Weapons]]|
|#default=Medical Items}}]]
Electrical=[[Category:Electrical Items]]|
[[Category:Small Items]]
Diving=[[Category:Diving Equipment]]|
{{#if: {{{talent|}}}|[[Category:Talent Items]]|}}
Alien=[[Category:Alien Items]][[Category:Alien]]|
{{#if:{{{organicmaterial|}}}|[[Category:Organic Crafting Materials]][[Category:Crafting Materials|Crafting Material]]|}}
Fuel=[[Category:Fuel Items]]|
{{#if: {{{medicalfabricator|}}}|[[Category:Medical Fabricator Items]][[Category:Craftable Items]]|[[Category:Non-Craftable Items]]}}
Misc=[[Category:Miscellaneous Items]]|
{{#ifeq: {{lc:{{{fabricator|}}}}}|yes|[[Category:Fabricator Items]][[Category:Craftable Items]]|}}
#default=[[Category:Item pages without a category]]|
{{#if: {{{deconstructormaterials|}}}|[[Category:Deconstructible Items]]|[[Category:Non-Deconstructible Items]]}}
}}<!--
[[Category:Items]]
-->{{#if:{{#explode:{{{category|}}}|,|1}}|{{#switch:{{#explode:{{{category}}}|,|1}}|Misc=[[Category:Miscellaneous Items]]|
[[Category:Medical Items]]}}<!--
Equipment=[[Category:Equipment]]|
Material=[[Category:Materials]]|
Medical=[[Category:Medical Items]]|
Weapon=[[Category:Weapons]]|
Electrical=[[Category:Electrical Items]]|
Diving=[[Category:Diving Equipment]]|
Alien=[[Category:Alien Items]][[Category:Alien]]|
Fuel=[[Category:Fuel Items]]|
Misc=[[Category:Miscellaneous Items]]|
}}}}<!--
-->{{#if:{{#explode:{{{category|}}}|,|2}}|{{#switch:{{#explode:{{{category}}}|,|2}}|Misc=[[Category:Miscellaneous Items]]|
Equipment=[[Category:Equipment]]|
Material=[[Category:Materials]]|
Medical=[[Category:Medical Items]]|
Weapon=[[Category:Weapons]]|
Electrical=[[Category:Electrical Items]]|
Diving=[[Category:Diving Equipment]]|
Alien=[[Category:Alien Items]][[Category:Alien]]|
Fuel=[[Category:Fuel Items]]|
Misc=[[Category:Miscellaneous Items]]|
}}}}<!--
 
--------------------- tags CATEGORIES - Feel free to add/change these, there is a lot of tags we can use.
 
-->{{#switch:{{#explode:{{{tags}}}|,|0}}|ore=[[Category:Gatherable]]|
plant=[[Category:Gatherable]]|
plantitem=[[Category:Gardening]]|
tool=[[Category:Tools]]|
container=[[Category:Containers]]|
logic=[[Category:Electrical Components]]|
wire=[[Category:Electrical Components]]|
signal=[[Category:Electrical Components]]|
button=[[Category:Electrical Components]]|
switch=[[Category:Electrical Components]]|
sound=[[Category:Electrical Components]]|
skillbook=[[Category:Skill Books]]|
smallitem=[[Category:Small Items]]|
mediumitem=[[Category:Medium Items]]|
instrument=[[Category:Instruments]]|
huskcult=[[Category:The Church of Husk Items]]|
clowns=[[Category:Children of The Honkmother Items]]|
separatists=[[Category:Jovian Separatists Items]]|
#default=[[Category:Item pages without tags]]|
}}<!--
-->{{#if:{{#explode:{{{tags}}}|,|1}}|{{#switch:{{#explode:{{{tags}}}|,|1}}|ore=[[Category:Gatherable]]|
plant=[[Category:Gatherable]]|
plantitem=[[Category:Gardening]]|
tool=[[Category:Tools]]|
container=[[Category:Containers]]|
logic=[[Category:Electrical Components]]|
wire=[[Category:Electrical Components]]|
signal=[[Category:Electrical Components]]|
button=[[Category:Electrical Components]]|
switch=[[Category:Electrical Components]]|
sound=[[Category:Electrical Components]]|
skillbook=[[Category:Skill Books]]|
smallitem=[[Category:Small Items]]|
mediumitem=[[Category:Medium Items]]|
instrument=[[Category:Instruments]]|
huskcult=[[Category:The Church of Husk Items]]|
clowns=[[Category:Children of The Honkmother Items]]|
separatists=[[Category:Jovian Separatists Items]]|
}}}}<!--
-->{{#if:{{#explode:{{{tags}}}|,|2}}|{{#switch:{{#explode:{{{tags}}}|,|2}}|ore=[[Category:Gatherable]]|
plant=[[Category:Gatherable]]|
plantitem=[[Category:Gardening]]|
tool=[[Category:Tools]]|
container=[[Category:Containers]]|
logic=[[Category:Electrical Components]]|
wire=[[Category:Electrical Components]]|
signal=[[Category:Electrical Components]]|
button=[[Category:Electrical Components]]|
switch=[[Category:Electrical Components]]|
sound=[[Category:Electrical Components]]|
skillbook=[[Category:Skill Books]]|
smallitem=[[Category:Small Items]]|
mediumitem=[[Category:Medium Items]]|
instrument=[[Category:Instruments]]|
huskcult=[[Category:The Church of Husk Items]]|
clowns=[[Category:Children of The Honkmother Items]]|
separatists=[[Category:Jovian Separatists Items]]|
}}}}<!--
-->{{#if:{{#explode:{{{tags}}}|,|3}}|{{#switch:{{#explode:{{{tags}}}|,|3}}|ore=[[Category:Gatherable]]|
plant=[[Category:Gatherable]]|
plantitem=[[Category:Gardening]]|
tool=[[Category:Tools]]|
container=[[Category:Containers]]|
logic=[[Category:Electrical Components]]|
wire=[[Category:Electrical Components]]|
signal=[[Category:Electrical Components]]|
button=[[Category:Electrical Components]]|
switch=[[Category:Electrical Components]]|
sound=[[Category:Electrical Components]]|
skillbook=[[Category:Skill Books]]|
smallitem=[[Category:Small Items]]|
mediumitem=[[Category:Medium Items]]|
instrument=[[Category:Instruments]]|
huskcult=[[Category:The Church of Husk Items]]|
clowns=[[Category:Children of The Honkmother Items]]|
separatists=[[Category:Jovian Separatists Items]]|
}}}}<!--
-->{{#if:{{#explode:{{{tags}}}|,|4}}|{{#switch:{{#explode:{{{tags}}}|,|4}}|ore=[[Category:Gatherable]]|
plant=[[Category:Gatherable]]|
plantitem=[[Category:Gardening]]|
tool=[[Category:Tools]]|
container=[[Category:Containers]]|
logic=[[Category:Electrical Components]]|
wire=[[Category:Electrical Components]]|
signal=[[Category:Electrical Components]]|
button=[[Category:Electrical Components]]|
switch=[[Category:Electrical Components]]|
sound=[[Category:Electrical Components]]|
skillbook=[[Category:Skill Books]]|
smallitem=[[Category:Small Items]]|
mediumitem=[[Category:Medium Items]]|
instrument=[[Category:Instruments]]|
huskcult=[[Category:The Church of Husk Items]]|
clowns=[[Category:Children of The Honkmother Items]]|
separatists=[[Category:Jovian Separatists Items]]|
}}}}<!--
-->{{#if:{{#explode:{{{tags}}}|,|5}}|{{#switch:{{#explode:{{{tags}}}|,|5}}|ore=[[Category:Gatherable]]|
plant=[[Category:Gatherable]]|
plantitem=[[Category:Gardening]]|
tool=[[Category:Tools]]|
container=[[Category:Containers]]|
logic=[[Category:Electrical Components]]|
wire=[[Category:Electrical Components]]|
signal=[[Category:Electrical Components]]|
button=[[Category:Electrical Components]]|
switch=[[Category:Electrical Components]]|
sound=[[Category:Electrical Components]]|
skillbook=[[Category:Skill Books]]|
smallitem=[[Category:Small Items]]|
mediumitem=[[Category:Medium Items]]|
instrument=[[Category:Instruments]]|
huskcult=[[Category:The Church of Husk Items]]|
clowns=[[Category:Children of The Honkmother Items]]|
separatists=[[Category:Jovian Separatists Items]]|
}}}}<!--
 
----------------- "type" CATEGORIES
 
-->{{#if:{{{weapontype|}}}|[[Category:Weapons]]{{#switch:{{{weapontype}}}|ranged=[[Category:Ranged Weapons]]|
melee=[[Category:Melee Weapons]]|
throwable=[[Category:Throwable Weapons]]|
explosive=[[Category:Explosives]]|
}}}}<!--
 
-->{{#if:{{{ammotype|}}}|[[Category:Ammunition]]{{#switch:{{{ammotype}}}|ranged=[[Category:Ranged Weapon Ammunition]]|
turret=[[Category:Submarine Weapon Ammunition]]|
largeturret=[[Category:Submarine Weapon Ammunition]]|
submarineother=[[Category:Submarine Weapon Ammunition]]|
}}}}<!--
 
-->{{#if:{{{geartype|}}}|[[Category:Gear]]{{#switch:{{{geartype}}}|outerwear=[[Category:Outerwear]]|
innerwear=[[Category:Innerwear]]|
headgear=[[Category:Headgear]]|
toolbelt=[[Category:Toolbelt Items]]|
headset=[[Category:Headsets]]|
splicer=[[Category:Splicers]]|
}}}}<!--
 
-->{{#if:{{{materialtype|}}}|[[Category:Crafting Materials]]{{#switch:{{{materialtype}}}|rare=[[Category:Rare Crafting Materials]]|
processed=[[Category:Processed Crafting Materials]]|
organic=[[Category:Organic Crafting Materials]]|
mineral=[[Category:Mineral Crafting Materials]]|
}}}}<!--
 
-->{{#if:{{{medicaltype|}}}|[[Category:Medical Items]]{{#switch:{{{medicaltype}}}|basic=[[Category:Basic Chemicals]]|
stimulant=[[Category:Stimulants]]|
poison=[[Category:Poisons]]|
medicine=[[Category:Medicines]]|
antidote=[[Category:Antidotes]]|
}}}}<!--
 
-->
{{#if:{{{talent|}}}|[[Category:Talent Items]]|}}
{{#if:{{{medicalfabricator|}}}|[[Category:Medical Fabricator Items]][[Category:Craftable Items]]
|{{#if:{{{fabricatormaterials|}}}|[[Category:Fabricator Items]][[Category:Craftable Items]]
|[[Category:Non-Craftable Items]]}}}}
{{#if:{{{deconstructormaterials|}}}
|[[Category:Deconstructible Items]]
|[[Category:Non-Deconstructible Items]]}}
}}<!--
--------------------------------------------------------------------------- MAIN CARGO STORAGE
--------------------------------------------------------------------------- MAIN CARGO STORAGE
-->{{#cargo_store:_table=Items
-->{{#cargo_store:_table=Items
| identifier = {{{identifier|}}}
| identifier = {{{identifier|}}}
| name = {{{name|{{PAGENAME}}}}}
| nameidentifier = {{{nameidentifier|}}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{{name|{{PAGENAME}}}}}.png}}
| cargocontaineridentifier = {{{cargocontaineridentifier|}}}
| name = {{#titleparts:{{{name|{{PAGENAME}}}}}}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{#titleparts:{{{name|{{PAGENAME}}}}}}}.png|}}}}
| sprite = {{{sprite|}}}
| sprite = {{{sprite|}}}
| type = {{{type|}}}
| type = {{{type|}}}
| sort = {{{sort|}}}
| sort = {{{sort|}}}
| category = {{{category|Misc}}}
| category = {{{category|}}}{{#if:{{{category2|}}}|,{{{category2}}}}}
| category2 = {{{category2|}}}
| subcategory = {{{subcategory|}}}
| tags = {{{tags|}}}
| tags = {{{tags|}}}
| description = {{{description|}}}
| description = {{{description|}}}
Line 401: Line 636:
| drunkdelay = {{{drunkdelay|}}}
| drunkdelay = {{{drunkdelay|}}}
| nauseadelay = {{{nauseadelay|}}}
| nauseadelay = {{{nauseadelay|}}}
| organicmaterial = {{{organicmaterial|}}}<!-- this is handled differently than type because it's only meant for covering cases of medical items also being organic materials. storing in cargo to be able to call all organic materials, using both 'type' and 'organicmaterial' "where"s -->
<!-- Cargo stuff -->
| geartype = {{{geartype|}}}
| weapontype = {{{weapontype|}}}
| ammotype = {{{ammotype|}}}
| ammotype2 = {{{ammotype2|}}}
| materialtype = {{{materialtype|}}}
| medicaltype = {{{medicaltype|}}}
<!-- afflictions -->
<!-- afflictions -->
| damage = {{{damage|}}}
| damage = {{{damage|}}}
Line 441: Line 682:
| psychosisresistance = {{{psychosisresistance|}}}
| psychosisresistance = {{{psychosisresistance|}}}
| psychosisresistancefail = {{{psychosisresistancefail|}}}
| psychosisresistancefail = {{{psychosisresistancefail|}}}
| hyperactivity = {{{hyperactivity|}}}
| haste = {{{haste|}}}
| hyperactivityfail = {{{hyperactivityfail|}}}
| hastefail = {{{hastefail|}}}
| vigor = {{{vigor|}}}
| vigor = {{{vigor|}}}
| vigorfail = {{{vigorfail|}}}
| vigorfail = {{{vigorfail|}}}
Line 493: Line 734:
| explosionbleeding = {{{explosionbleeding|}}}
| explosionbleeding = {{{explosionbleeding|}}}
| explosionstun = {{{explosionstun|}}}
| explosionstun = {{{explosionstun|}}}
| triggers = {{{triggers|}}}
| note = {{{note|}}}


| explosionrange = {{{explosionrange|}}}
| explosionrange = {{{explosionrange|}}}
| explosionstructuredamage = {{{explosionstructuredamage|}}}
| explosionstructuredamage = {{{explosionstructuredamage|}}}


<!-- store -->
<!-- Store -->
| baseprice = {{{baseprice|}}}
| baseprice = {{{baseprice|}}}
| outpostmultiplier = {{{outpostmultiplier|}}}
| minleveldifficulty = {{{minleveldifficulty|}}}
| outpostsold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{outpostunbuyable|}}}|{{#switch:{{{outpostunbuyable|}}}|true|all = no|#default = yes}}|{{{outpostsold|yes}}}}}}}
| coalitionreputation = {{{coalitionreputation|}}}
| separatistsreputation = {{{separatistsreputation|}}}
| clownreputation = {{{clownreputation|}}}
| huskreputation = {{{huskreputation|}}}
| unbuyable = {{{unbuyable|}}}
| outpostmultiplier = {{{outpostmultiplier|1}}}
| outpostsold = {{#if:{{{unbuyable|}}}|{{#if:{{{outpostsold|}}}|yes|no}}|{{#if:{{{outpostunbuyable|}}}|no|{{#if:{{{outpostold|}}}{{{outpostmultiplier|}}}{{{outpostminavailable|}}}|yes|no}}}}}}
| outpostminavailable = {{{outpostminavailable|}}}
| outpostminavailable = {{{outpostminavailable|}}}
| citymultiplier = {{{citymultiplier|}}}
| outpostmaxavailable = {{{outpostmaxavailable|}}}
| citysold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{cityunbuyable|}}}|{{#switch:{{{cityunbuyable|}}}|true|all = no|#default = yes}}|{{{citysold|yes}}}}}}}
| citymultiplier = {{{citymultiplier|1}}}
| citysold = {{#if:{{{unbuyable|}}}|{{#if:{{{citysold|}}}|yes|no}}|{{#if:{{{cityunbuyable|}}}|no|{{#if:{{{cityold|}}}{{{citymultiplier|}}}{{{cityminavailable|}}}|yes|no}}}}}}
| cityminavailable = {{{cityminavailable|}}}
| cityminavailable = {{{cityminavailable|}}}
| researchmultiplier = {{{researchmultiplier|}}}
| citymaxavailable = {{{citymaxavailable|}}}
| researchsold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{researchunbuyable|}}}|{{#switch:{{{researchunbuyable|}}}|true|all = no|#default = yes}}|{{{researchsold|yes}}}}}}}
| researchmultiplier = {{{researchmultiplier|1}}}
| researchsold = {{#if:{{{unbuyable|}}}|{{#if:{{{researchsold|}}}|yes|no}}|{{#if:{{{researchunbuyable|}}}|no|{{#if:{{{researchsold|}}}{{{researchmultiplier|}}}{{{researchminavailable|}}}|yes|no}}}}}}
| researchminavailable = {{{researchminavailable|}}}
| researchminavailable = {{{researchminavailable|}}}
| militarymultiplier = {{{militarymultiplier|}}}
| researchmaxavailable = {{{researchmaxavailable|}}}
| militarysold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{militaryunbuyable|}}}|{{#switch:{{{militaryunbuyable|}}}|true|all = no|#default = yes}}|{{{militarysold|yes}}}}}}}
| militarymultiplier = {{{militarymultiplier|1}}}
| militarysold = {{#if:{{{unbuyable|}}}|{{#if:{{{militarysold|}}}|yes|no}}|{{#if:{{{militaryunbuyable|}}}|no|{{#if:{{{militarysold|}}}{{{militarymultiplier|}}}{{{militaryminavailable|}}}|yes|no}}}}}}
| militaryminavailable = {{{militaryminavailable|}}}
| militaryminavailable = {{{militaryminavailable|}}}
| minemultiplier = {{{minemultiplier|}}}
| militarymaxavailable = {{{militarymaxavailable|}}}
| minesold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{mineunbuyable|}}}|{{#switch:{{{mineunbuyable|}}}|true|all = no|#default = yes}}|{{{minesold|yes}}}}}}}
| minemultiplier = {{{minemultiplier|1}}}
| minesold = {{#if:{{{unbuyable|}}}|{{#if:{{{minesold|}}}|yes|no}}|{{#if:{{{mineunbuyable|}}}|no|{{#if:{{{minesold|}}}{{{minemultiplier|}}}{{{mineminavailable|}}}|yes|no}}}}}}
| mineminavailable = {{{mineminavailable|}}}
| mineminavailable = {{{mineminavailable|}}}
| medicalmultiplier = {{{medicalmultiplier|}}}
| minemaxavailable = {{{minemaxavailable|}}}
| engineeringmultiplier = {{{engineeringmultiplier|}}}
| medicalmultiplier = {{{medicalmultiplier|1}}}
| armorymultiplier = {{{armorymultiplier|}}}
| medicalsold = {{#if:{{{unbuyable|}}}|{{#if:{{{medicalsold|}}}|yes|no}}|{{#if:{{{medicalunbuyable|}}}|no|{{#if:{{{medicalsold|}}}{{{medicalmultiplier|}}}{{{medicalminavailable|}}}|yes|no}}}}}}
| medicalminavailable = {{{medicalminavailable|}}}
| medicalmaxavailable = {{{medicalmaxavailable|}}}
| engineeringmultiplier = {{{engineeringmultiplier|1}}}
| engineeringsold = {{#if:{{{unbuyable|}}}|{{#if:{{{engineeringsold|}}}|yes|no}}|{{#if:{{{engineeringunbuyable|}}}|no|{{#if:{{{engineeringsold|}}}{{{engineeringmultiplier|}}}{{{engineeringminavailable|}}}|yes|no}}}}}}
| engineeringminavailable = {{{engineeringminavailable|}}}
| engineeringmaxavailable = {{{engineeringmaxavailable|}}}
| armorymultiplier = {{{armorymultiplier|1}}}
| armorysold = {{#if:{{{unbuyable|}}}|{{#if:{{{armorysold|}}}|yes|no}}|{{#if:{{{armoryunbuyable|}}}|no|{{#if:{{{armorysold|}}}{{{armorymultiplier|}}}{{{armoryminavailable|}}}|yes|no}}}}}}
| armoryminavailable = {{{armoryminavailable|}}}
| armorymaxavailable = {{{armorymaxavailable|}}}
| clownmultiplier = {{{clownmultiplier|1}}}
| clownsold = {{#if:{{{unbuyable|}}}|{{#if:{{{clownsold|}}}|yes|no}}|{{#if:{{{clownunbuyable|}}}|no|{{#if:{{{clownsold|}}}{{{clownmultiplier|}}}{{{clownminavailable|}}}|yes|no}}}}}}
| clownminavailable = {{{clownminavailable|}}}
| clownmaxavailable = {{{clownmaxavailable|}}}
| huskmultiplier = {{{huskmultiplier|1}}}
| husksold = {{#if:{{{unbuyable|}}}|{{#if:{{{husksold|}}}|yes|no}}|{{#if:{{{huskunbuyable|}}}|no|{{#if:{{{husksold|}}}{{{huskmultiplier|}}}{{{huskminavailable|}}}|yes|no}}}}}}
| huskminavailable = {{{huskminavailable|}}}
| huskmaxavailable = {{{huskmaxavailable|}}}
<!-- crafting -->
<!-- crafting -->
| fabricator = {{{fabricator|}}}
| fabricator = {{{fabricator|}}}

Latest revision as of 15:09, 19 December 2023

This template is no longer in use. Medical afflictions were added to Template:Items infobox and all relevant pages were switched to it.


This template adds rows to the table "Items", which is declared by the template Items infobox. View table.