Template:Medical infobox: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
m (link) |
||
Line 43: | Line 43: | ||
-->{{#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|Damage (Affliction Type)|{{{damage}}}| 6={{#expr:{{{damage}}}*{{{duration}}} round 1}}|linktext=Damage (Affliction Type)}}<br>|}}<!-- | ||
-->{{#if: {{{instadamage|}}}| {{Affliction|Damage ( | -->{{#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 116: | Line 116: | ||
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 ( | -->{{#if: {{{damagefail|}}}| {{Affliction|Damage (Affliction Type)| 3={{{damagefail}}}| | ||
7={{#expr:{{{damagefail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}|linktext=Damage ( | 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 20:50, 2 May 2023
This template adds rows to the table "Items", which is declared by the template Items infobox. View table.