Template:Medical infobox: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
m (damage links (I'm 90% sure this is correct, but if something breaks this needs to be undone)) |
||
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 (affliction type)|{{{damage}}}| 6={{#expr:{{{damage}}}*{{{duration}}} round 1}}|linktext=Damage (affliction type)}}<br>|}}<!-- | ||
-->{{#if: {{{instadamage|}}}| {{Affliction| | -->{{#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 131: | Line 131: | ||
-->{{#if: {{{damagefail|}}}| {{Affliction|Internal Damage| 3={{{damagefail}}}| | -->{{#if: {{{damagefail|}}}| {{Affliction|Internal Damage| 3={{{damagefail}}}| | ||
7={{#expr:{{{damagefail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}|linktext= | 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 12:56, 2 January 2023
This template adds rows to the table "Items", which is declared by the template Items infobox. View table.