Template:Sandbox/row/ext: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(fix for hiding skill when skill is undefined)
(reverting. Seems l ike we're gonna have to make a separate clone of that template)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{{str|{{{name}}}|{{#expr: {{{magnitude}}} * {{#if:{{{duration|}}}|{{{duration}}}|1}}}}|{{#if:{{{magnitudefail}}}|{{#expr: {{{magnitudefail}}} * {{{duration|1}}}}}|}}|{{#if:{{{skill|}}}|5={{{skill}}}|}}}}
{{str|{{{name}}}|{{#expr: {{{magnitude}}} * {{#if:{{{duration}}}|{{{duration}}}|1}}}}|{{#if:{{{magnitudefail}}}|{{#expr: {{{magnitudefail}}} * {{{duration|1}}}}}|}}||{{#if:{{{skill}}}|{{{skill}}}|None}}}}
</onlyinclude>
</onlyinclude>

Latest revision as of 17:32, 9 January 2022

[[File:{{{name}}}.png|20px|link={{{name}}}]] [[{{{name}}}]] (Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{".)* Desirable Medical Skill{{{skill}}}