Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(replaced technical info & automatic wiki categories with the technical section & automatic wiki categories for category, tags, and type from template:Items infobox.)
mNo edit summary
 
(5 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 36: 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 43: 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 105: 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 116: 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 680: 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|}}}

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.