Template:Medical infobox: Difference between revisions
From Official Barotrauma Wiki
m (fixed icon (hopefully)) |
(icons unfix fix) |
||
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| | -->{{#if: {{{damage|}}}| {{Affliction|Damage|{{{damage}}}| 6={{#expr:{{{damage}}}*{{{duration}}} round 1}}|linktext=Damage (affliction type)}}<br>|}}<!-- | ||
-->{{#if: {{{instadamage|}}}| {{Affliction| | -->{{#if: {{{instadamage|}}}| {{Affliction|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>|}}<!-- | ||
Line 130: | Line 130: | ||
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|Internal Damage| | -->{{#if: {{{damagefail|}}}| {{Affliction|Any Internal Damage| 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 |
Revision as of 13:10, 2 January 2023
This template adds rows to the table "Items", which is declared by the template Items infobox. View table.