Template:Items infobox/affliction: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:affliction_{{{1}}}.png|30px|link={{{1}}}]]{{Space}}[[{{{1}}}]]{{Space}}<span style="cursor:help;color:#00ba76;" title="Affliction strength instantly gained">'''({{#ifeq:{{{3|}}}|1|{{{2}}}|{{#expr:{{{3}}}*{{{2}}}}}}})*'''</span>{{#ifeq:{{{3|}}}|1||({{{3}}}x{{{2}}})}}{{#ifeq:{{{last|}}}|yes||<br>}}</includeonly><noinclude>
<includeonly>[[File:affliction_{{{1}}}.png|30px|link={{{1}}}]]&nbsp;[[{{{1}}}]]&nbsp;<span style="color:#00ba76;">'''({{#ifeq:{{{3|}}}|1|{{#ifeq:{{{4|}}}|1|{{{2}}}|{{{2}}} - {{#expr:{{{4}}}*{{{2}}}}}}}|{{#expr:{{{3}}}*{{{2}}}}}}})'''</span>{{#ifeq:{{{3|}}}|1||&nbsp;({{{3}}}x{{{2}}})}}</includeonly><noinclude>This is a sub-template of [[Template:Items infobox]] and is not meant for direct usage.
 
1: affliction name
1: affliction name


Line 6: Line 7:
3: number of pellets
3: number of pellets


last: last of list (no <nowiki><br></nowiki>)
4: piercing</noinclude>
</noinclude>

Latest revision as of 11:08, 21 June 2022

This is a sub-template of Template:Items infobox and is not meant for direct usage.

1: affliction name

2: affliction strength

3: number of pellets

4: piercing