Template:Sandbox/row/ext: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> {{str|{{{name}}}|{{#expr: {{{magnitude}}} * {{#if:{{{duration}}}|{{{duration}}}|1}}}}|{{#if:{{{magnitudefail}}}|{{#expr: {{{magnitudefail}}} * {{{duration|1}}}}}...")
 
(fix for hiding skill when skill is undefined)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{{str|{{{name}}}|{{#expr: {{{magnitude}}} * {{#if:{{{duration}}}|{{{duration}}}|1}}}}|{{#if:{{{magnitudefail}}}|{{#expr: {{{magnitudefail}}} * {{{duration|1}}}}}|}}||{{#if:{{{skill}}}|{{{skill}}}|None}}}}
{{str|{{{name}}}|{{#expr: {{{magnitude}}} * {{#if:{{{duration|}}}|{{{duration}}}|1}}}}|{{#if:{{{magnitudefail}}}|{{#expr: {{{magnitudefail}}} * {{{duration|1}}}}}|}}|{{#if:{{{skill|}}}|5={{{skill}}}|}}}}
</onlyinclude>
</onlyinclude>

Revision as of 17:25, 9 January 2022

[[File:affliction_{{{name}}}.png|px|link={{{name}}}]] [[{{{name}}}]] (Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{".)*