Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(instadamage, instaburn)
(showgui)
Line 211: Line 211:
7={{#expr:{{{opiatewithdrawalfail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}}}<br>|}}<!--
7={{#expr:{{{opiatewithdrawalfail}}}*{{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} round 1}}}}<br>|}}<!--
                                                                                              
                                                                                              
-->[[File:time.png|Duration of the effects in case of failure]] {{#if: {{{durationfail|}}}|{{{durationfail}}} second{{#ifeq: {{{durationfail|}}}|1||s}}|{{{duration}}} second{{#ifeq: {{{duration|}}}|1||s}}}}</div>|{{#if:{{{consumptiontime|}}}|{{!}} style="width:50%;" colspan="5" {{!}}<div style="inline-size:min-content; margin:auto; white-space:nowrap;"><abbr title="Effects when used or administered via the health GUI">'''Health GUI'''</abbr><br><!--
-->[[File:time.png|Duration of the effects in case of failure]] {{#if: {{{durationfail|}}}|{{{durationfail}}} second{{#ifeq: {{{durationfail|}}}|1||s}}|{{{duration}}} second{{#ifeq: {{{duration|}}}|1||s}}}}</div>|{{#if:{{{showgui|}}}|{{!}} style="width:50%;" colspan="5" {{!}}<div style="inline-size:min-content; margin:auto; white-space:nowrap;"><abbr title="Effects when used or administered via the health GUI">'''Health GUI'''</abbr><br><!--


-->{{#if: {{{hastegui|}}}| {{Affliction|Haste| 4={{{hastegui}}}}}<br>|}}<!--
-->{{#if: {{{hastegui|}}}| {{Affliction|Haste| 4={{{hastegui}}}}}<br>|}}<!--
-->{{#if: {{{nauseagui|}}}| {{Affliction|Nausea| 4={{{nauseagui}}}}}<br>|}}|}}<!-- end if consumptiontime then health gui  
-->{{#if: {{{nauseagui|}}}| {{Affliction|Nausea| 4={{{nauseagui}}}}}<br>|}}|}}<!-- end if showgui then health gui  


-->}}<!-- end if skill then failure
-->}}<!-- end if skill then failure

Revision as of 16:28, 18 June 2022

Template:Medical infobox/doc

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