Template:Medical infobox: Difference between revisions
From Official Barotrauma Wiki
m (typo) |
(duration display) |
||
Line 32: | Line 32: | ||
| style="width:40%;font-size:105%;" colspan="4" | <abbr title="Below this medical skill level, there is a risk of failure proportional to the level gap">Desirable '''[[Skills#Medical|Medical Skill]]'''</abbr> | | style="width:40%;font-size:105%;" colspan="4" | <abbr title="Below this medical skill level, there is a risk of failure proportional to the level gap">Desirable '''[[Skills#Medical|Medical Skill]]'''</abbr> | ||
| style="width:60%;text-align:center;" colspan="6" | {{#if: {{{skill|}}}|{{{skill}}}|None}} | | style="width:60%;text-align:center;" colspan="6" | {{#if: {{{skill|}}}|{{{skill}}}|None}} | ||
|-<!-- | |-<!-- | ||
Line 76: | Line 71: | ||
-->{{#if: {{{opiateoverdose|}}}|{{Affliction|Opiate Overdose|{{{opiateoverdose}}}||||{{#expr:{{{opiateoverdose}}}*{{{duration}}} round 1}}}}<br>|}}<!-- | -->{{#if: {{{opiateoverdose|}}}|{{Affliction|Opiate Overdose|{{{opiateoverdose}}}||||{{#expr:{{{opiateoverdose}}}*{{{duration}}} round 1}}}}<br>|}}<!-- | ||
-->{{#if: {{{opiatewithdrawal|}}}|{{Affliction|Opiate Withdrawal|{{{opiatewithdrawal}}}||||{{#expr:{{{opiatewithdrawal}}}*{{{duration}}} round 1}}}}<br>|}}<!-- | -->{{#if: {{{opiatewithdrawal|}}}|{{Affliction|Opiate Withdrawal|{{{opiatewithdrawal}}}||||{{#expr:{{{opiatewithdrawal}}}*{{{duration}}} round 1}}}}<br>|}}<!-- | ||
--></div><!-- | -->[[File:time.png|Duration of the effects]] {{{duration}}} seconds</div><!-- | ||
--> | --> | ||
Line 146: | Line 141: | ||
-->{{#if: {{{opiatewithdrawalfail|}}}|{{Affliction|Opiate Withdrawal||{{{opiatewithdrawalfail}}}||||{{#expr:{{{opiatewithdrawalfail}}}*{{{duration}}} round 1}}}}<br>|}}<!-- | -->{{#if: {{{opiatewithdrawalfail|}}}|{{Affliction|Opiate Withdrawal||{{{opiatewithdrawalfail}}}||||{{#expr:{{{opiatewithdrawalfail}}}*{{{duration}}} round 1}}}}<br>|}}<!-- | ||
--></div>|}}<!-- | -->[[File:time.png|Duration of the effects in case of failure]] {{#if: {{{durationfail|}}}|{{{durationfail}}}|{{{duration}}}}} seconds</div>|}}<!-- | ||
--> | --> | ||
Line 209: | Line 204: | ||
{{!}}- | {{!}}- | ||
{{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} {{#ifeq:{{lc:{{{fabricator|}}}}}|yes|[[Fabricator]] '''or'''<br>[[Medical Fabricator]]<br>Requirements|[[Medical Fabricator]]<br>Requirements}}{{#if: {{{fabricatedamount|}}}|<br>(produces {{{fabricatedamount}}} items)|}} | {{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} {{#ifeq:{{lc:{{{fabricator|}}}}}|yes|[[Fabricator]] '''or'''<br>[[Medical Fabricator]]<br>Requirements|[[Medical Fabricator]]<br>Requirements}}{{#if: {{{fabricatedamount|}}}|<br>(produces {{{fabricatedamount}}} items)|}} | ||
{{!}} style="width:60%;" colspan="6" {{!}} <div style="inline-size:min-content; margin:auto; white-space:nowrap;">{{{fabricatormaterials}}}<br>[[File:time.png]] {{{fabricatortime|N/A}}}s</div> | {{!}} style="width:60%;" colspan="6" {{!}} <div style="inline-size:min-content; margin:auto; white-space:nowrap;">{{{fabricatormaterials}}}<br>[[File:time.png|Time to fabricate]] {{{fabricatortime|N/A}}}s</div> | ||
}}<!-- | }}<!-- | ||
Line 223: | Line 218: | ||
{{!}}- | {{!}}- | ||
{{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} [[Deconstructor]] Yield | {{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} [[Deconstructor]] Yield | ||
{{!}} style="width:60%;" colspan="6" {{!}} <div style="inline-size:min-content; margin:auto; white-space:nowrap;">{{{deconstructormaterials}}}<br>[[File:time.png]] {{{deconstructortime|N/A}}}s</div> | {{!}} style="width:60%;" colspan="6" {{!}} <div style="inline-size:min-content; margin:auto; white-space:nowrap;">{{{deconstructormaterials}}}<br>[[File:time.png|Time to deconstruct]] {{{deconstructortime|N/A}}}s</div> | ||
|}}<!-- | |}}<!-- | ||
--------------------------------------------------------------------------- STORE | --------------------------------------------------------------------------- STORE |
Revision as of 00:45, 26 December 2021
This template adds rows to the table "Items", which is declared by the template Items infobox. View table.