Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(improved autocat and type display)
m (F*** pagreminade extract)
Line 58: Line 58:
-->{{#if: {{{burn|}}}|{{Affliction|Burn|{{{burn}}}||||{{#expr:{{{burn}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{burn|}}}|{{Affliction|Burn|{{{burn}}}||||{{#expr:{{{burn}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|{{{oxygenlow}}}||||{{#expr:{{{oxygenlow}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{oxygenlow|}}}|{{Affliction|Oxygen Low|{{{oxygenlow}}}||||{{#expr:{{{oxygenlow}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{oxygenlowinstant|}}}|{{Affliction|Oxygen Low|||{{{oxygenlowinstant}}}}}<br>|}}<!-- pomegrenade extract exception
-->{{#if: {{{stun|}}}|{{Affliction|Stun|{{{stun}}}||||{{#expr:{{{stun}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{stun|}}}|{{Affliction|Stun|{{{stun}}}||||{{#expr:{{{stun}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{incrementalstun|}}}|{{Affliction|Incremental Stun|{{{incrementalstun}}}||||{{#expr:{{{incrementalstun}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{incrementalstun|}}}|{{Affliction|Incremental Stun|{{{incrementalstun}}}||||{{#expr:{{{incrementalstun}}}*{{{duration}}}}}}}<br>|}}<!--
Line 109: Line 110:


-->{{#if: {{{oxygenlowfail|}}}|{{Affliction|Oxygen Low||{{{oxygenlowfail}}}||||{{#expr:{{{oxygenlowfail}}}*{{{duration}}}}}}}{{#if: {{{oxygenlowsyringe|}}}|{{Medical infobox/syringe|total}}'''({{#expr: {{{oxygenlowsyringe}}}*{{{duration}}}}})*'''</span></span>|}}<br>|}}<!-- spans are in template
-->{{#if: {{{oxygenlowfail|}}}|{{Affliction|Oxygen Low||{{{oxygenlowfail}}}||||{{#expr:{{{oxygenlowfail}}}*{{{duration}}}}}}}{{#if: {{{oxygenlowsyringe|}}}|{{Medical infobox/syringe|total}}'''({{#expr: {{{oxygenlowsyringe}}}*{{{duration}}}}})*'''</span></span>|}}<br>|}}<!-- spans are in template
-->{{#if: {{{oxygenlowinstantfail|}}}|{{Affliction|Oxygen Low||||{{{oxygenlowinstantfail}}}}}<br>|}}<!-- pomegrenade extract exception


-->{{#if: {{{stunfail|}}}|{{Affliction|Stun|{{{stunfail}}}||||{{#expr:{{{stunfail}}}*{{{duration}}}}}}}<br>|}}<!--
-->{{#if: {{{stunfail|}}}|{{Affliction|Stun|{{{stunfail}}}||||{{#expr:{{{stunfail}}}*{{{duration}}}}}}}<br>|}}<!--
Line 299: Line 302:
| oxygenlowfail = {{{oxygenlowfail|}}}
| oxygenlowfail = {{{oxygenlowfail|}}}
| oxygenlowsyringe = {{{oxygenlowsyringe|}}}
| oxygenlowsyringe = {{{oxygenlowsyringe|}}}
| oxygenlowinstant = {{{oxygenlowinstant|}}}<!-- pomegrenade extract -->
| oxygenlowinstantfail = {{{oxygenlowinstantfail|}}}<!-- pomegrenade extract -->
| huskinfection = {{{huskinfection|}}}
| huskinfection = {{{huskinfection|}}}
| huskinfectionfail = {{{huskinfectionfail|}}}
| huskinfectionfail = {{{huskinfectionfail|}}}

Revision as of 17:29, 23 November 2021

Template:Medical infobox/doc

This template adds rows to the table "Items", which is declared by the template Items infobox. View table.