Template:GearTable/Affliction: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
(doc)
Line 1: Line 1:
<div style="width:fit-content;">[[File:{{#if:{{{icon|}}}|{{{icon}}}|{{{1}}}}}.png|30px|link={{{1}}}]]&nbsp;<span style="cursor:help;color:#00b5c9" title="% strength resisted {{#if:{{{3|}}}|{{!}} Chance to block completely }}">'''{{#expr:100*(1-{{{2}}})}}%{{#if:{{{3|}}}|&nbsp;{{!}} {{#expr:100*{{{3}}}}}%&#42;|&#42;}}'''</span></div>
<noinclude>{{doc}}</noinclude><onlyinclude><div style="width:fit-content;">[[File:{{#if:{{{icon|}}}|{{{icon}}}|{{{1}}}}}.png|30px|link={{{1}}}]]&nbsp;<span style="cursor:help;color:#00b5c9" title="Strength resisted {{#if:{{{3|}}}|{{!}} Chance to block completely }}">'''{{#expr:100*(1-{{{2}}})}}%{{#if:{{{3|}}}|&nbsp;{{!}} {{#expr:100*{{{3}}}}}%&#42;|&#42;}}'''</span></div><onlyinclude>

Revision as of 00:49, 30 March 2023

Documentation

This template is used by subtemplates of Template:GearTable to display affliction resistances. It is not meant for direct usage.

[[File:{{{1}}}.png|30px|link={{{1}}}]] Expression error: Unrecognized punctuation character "{".%*