Template:Medical infobox: Difference between revisions
From Official Barotrauma Wiki
m (damage links (I'm 90% sure this is correct, but if something breaks this needs to be undone)) |
m (fixed icon (hopefully)) |
||
Line 59: | Line 59: | ||
-->{{#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 | -->{{#if: {{{damage|}}}| {{Affliction|Internal Damage|{{{damage}}}| 6={{#expr:{{{damage}}}*{{{duration}}} round 1}}|linktext=Damage (affliction type)}}<br>|}}<!-- | ||
-->{{#if: {{{instadamage|}}}| {{Affliction|Damage | -->{{#if: {{{instadamage|}}}| {{Affliction|Internal Damage| 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>|}}<!-- |
Revision as of 12:58, 2 January 2023
This template adds rows to the table "Items", which is declared by the template Items infobox. View table.