Template:Attacks/row: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(test)
mNo edit summary
Line 23: Line 23:
-->{{#if:{{{attack1note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack2note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack3note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack4note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack5note|}}}|{{#vardefine:not|1}}|{{#vardefine:not|0}}}}}}}}}}}}<!--
-->{{#if:{{{attack1note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack2note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack3note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack4note|}}}|{{#vardefine:not|1}}|{{#if:{{{attack5note|}}}|{{#vardefine:not|1}}|{{#vardefine:not|0}}}}}}}}}}}}<!--


-->{{#ifexpr:{{#var:arm}}=1|{{!}}{{{attack1penetration|}}}|}}
-->{{#ifexpr:{{#var:arm}}=1|&nbsp;
{{#ifexpr:{{#var:ins}}=1|{{!}}{{#if:{{{attack1stuninside|}}}|{{hl|Stun}} {{{attack1stuninside|}}}s|&nbsp;}}|}}
{{!}}{{{attack1penetration|}}}|}}{{#ifexpr:{{#var:ins}}=1|&nbsp;
{{#ifexpr:{{#var:aoe}}=1|{{!}}{{#if:{{{attack1explosionrange|}}}|{{{attack1explosionrange|}}}m|&nbsp;}}{{#if:{{{attack1explosionrange2|}}}|{{{attack1explosionrange2}}}|}}<!--this is for when there are 2 diff explo ranges, eg black moloch-->|}}
{{!}}{{#if:{{{attack1stuninside|}}}|{{hl|Stun}} {{{attack1stuninside|}}}s|&nbsp;}}|}}{{#ifexpr:{{#var:aoe}}=1|&nbsp;
{{#ifexpr:{{#var:str}}=1|{{!}}{{{attack1structuredamage|}}}{{#if:{{{attack1aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack1aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}
{{!}}{{#if:{{{attack1explosionrange|}}}|{{{attack1explosionrange|}}}m|&nbsp;}}{{#if:{{{attack1explosionrange2|}}}|{{{attack1explosionrange2}}}|}}<!--this is for when there are 2 diff explo ranges, eg black moloch-->|}}{{#ifexpr:{{#var:str}}=1|&nbsp;
{{#ifexpr:{{#var:dur}}=1|{{!}}{{{attack1duration|}}}|}}
{{!}}{{{attack1structuredamage|}}}{{#if:{{{attack1aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack1aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}{{#ifexpr:{{#var:dur}}=1|&nbsp;
{{#ifexpr:{{#var:coo}}=1|{{!}}{{{attack1cooldown|}}}|}}
{{!}}{{{attack1duration|}}}|}}{{#ifexpr:{{#var:coo}}=1|&nbsp;
{{#ifexpr:{{#var:for}}=1|{{!}}{{{attack1force|}}}|}}
{{!}}{{{attack1cooldown|}}}|}}{{#ifexpr:{{#var:for}}=1|&nbsp;
{{#ifexpr:{{#var:not}}=1|{{!}}{{{attack1note|}}}|}}<!--
{{!}}{{{attack1force|}}}|}}{{#ifexpr:{{#var:not}}=1|&nbsp;
{{!}}{{{attack1note|}}}|}}<!--


-->{{#if:{{{attack2|}}}|&nbsp;
-->{{#if:{{{attack2|}}}|&nbsp;
Line 45: Line 46:
-->{{#if:{{{attack2watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack2watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack2watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack2watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack2emp|}}}|EMP {{{attack2emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack2emp|}}}|EMP {{{attack2emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack2stun|}}}|{{hl|Stun}} {{{attack2stun}}}s {{#if:{{{attack2stunchance|}}}|({{{attack2stunchance}}}% chance)|}}|}}
-->{{#if:{{{attack2stun|}}}|{{hl|Stun}} {{{attack2stun}}}s {{#if:{{{attack2stunchance|}}}|({{{attack2stunchance}}}% chance)|}}|}}{{#ifexpr:{{#var:arm}}=1|&nbsp;
{{#ifexpr:{{#var:arm}}=1|{{!}}{{{attack2penetration|}}}|}}
{{!}}{{{attack2penetration|}}}|}}{{#ifexpr:{{#var:ins}}=1|&nbsp;
{{#ifexpr:{{#var:ins}}=1|{{!}}{{#if:{{{attack2stuninside|}}}|{{hl|Stun}} {{{attack2stuninside|}}}s|&nbsp;}}|}}
{{!}}{{#if:{{{attack2stuninside|}}}|{{hl|Stun}} {{{attack2stuninside|}}}s|&nbsp;}}|}}{{#ifexpr:{{#var:aoe}}=1|&nbsp;
{{#ifexpr:{{#var:aoe}}=1|{{!}}{{#if:{{{attack2explosionrange|}}}|{{{attack2explosionrange|}}}m|&nbsp;}}|}}
{{!}}{{#if:{{{attack2explosionrange|}}}|{{{attack2explosionrange|}}}m|&nbsp;}}|}}{{#ifexpr:{{#var:str}}=1|&nbsp;
{{#ifexpr:{{#var:str}}=1|{{!}}{{{attack2structuredamage|}}}{{#if:{{{attack2aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack2aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}
{{!}}{{{attack2structuredamage|}}}{{#if:{{{attack2aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack2aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}{{#ifexpr:{{#var:dur}}=1|&nbsp;
{{#ifexpr:{{#var:dur}}=1|{{!}}{{{attack2duration|}}}|}}
{{!}}{{{attack2duration|}}}|}}{{#ifexpr:{{#var:coo}}=1|&nbsp;
{{#ifexpr:{{#var:coo}}=1|{{!}}{{{attack2cooldown|}}}|}}
{{!}}{{{attack2cooldown|}}}|}}{{#ifexpr:{{#var:for}}=1|&nbsp;
{{#ifexpr:{{#var:for}}=1|{{!}}{{{attack2force|}}}|}}
{{!}}{{{attack2force|}}}|}}{{#ifexpr:{{#var:not}}=1|&nbsp;
{{#ifexpr:{{#var:not}}=1|{{!}}{{{attack2note|}}}|}}}}<!--
{{!}}{{{attack2note|}}}|}}}}<!--


-->
-->
Line 69: Line 70:
-->{{#if:{{{attack3watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack3watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack3watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack3watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack3emp|}}}|EMP {{{attack3emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack3emp|}}}|EMP {{{attack3emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack3stun|}}}|{{hl|Stun}} {{{attack3stun}}}s {{#if:{{{attack3stunchance|}}}|({{{attack3stunchance}}}% chance)|}}|}}
-->{{#if:{{{attack3stun|}}}|{{hl|Stun}} {{{attack3stun}}}s {{#if:{{{attack3stunchance|}}}|({{{attack3stunchance}}}% chance)|}}|}}{{#ifexpr:{{#var:arm}}=1|&nbsp;
{{#ifexpr:{{#var:arm}}=1|{{!}}{{{attack3penetration|}}}|}}
{{!}}{{{attack3penetration|}}}|}}{{#ifexpr:{{#var:ins}}=1|&nbsp;
{{#ifexpr:{{#var:ins}}=1|{{!}}{{#if:{{{attack3stuninside|}}}|{{hl|Stun}} {{{attack3stuninside|}}}s|&nbsp;}}|}}
{{!}}{{#if:{{{attack3stuninside|}}}|{{hl|Stun}} {{{attack3stuninside|}}}s|&nbsp;}}|}}{{#ifexpr:{{#var:aoe}}=1|&nbsp;
{{#ifexpr:{{#var:aoe}}=1|{{!}}{{#if:{{{attack3explosionrange|}}}|{{{attack3explosionrange|}}}m|&nbsp;}}|}}
{{!}}{{#if:{{{attack3explosionrange|}}}|{{{attack3explosionrange|}}}m|&nbsp;}}|}}{{#ifexpr:{{#var:str}}=1|&nbsp;
{{#ifexpr:{{#var:str}}=1|{{!}}{{{attack3structuredamage|}}}{{#if:{{{attack3aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack3aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}
{{!}}{{{attack3structuredamage|}}}{{#if:{{{attack3aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack3aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}{{#ifexpr:{{#var:dur}}=1|&nbsp;
{{#ifexpr:{{#var:dur}}=1|{{!}}{{{attack3duration|}}}|}}
{{!}}{{{attack3duration|}}}|}}{{#ifexpr:{{#var:coo}}=1|&nbsp;
{{#ifexpr:{{#var:coo}}=1|{{!}}{{{attack3cooldown|}}}|}}
{{!}}{{{attack3cooldown|}}}|}}{{#ifexpr:{{#var:for}}=1|&nbsp;
{{#ifexpr:{{#var:for}}=1|{{!}}{{{attack3force|}}}|}}
{{!}}{{{attack3force|}}}|}}{{#ifexpr:{{#var:not}}=1|&nbsp;
{{#ifexpr:{{#var:not}}=1|{{!}}{{{attack3note|}}}|}}}}<!--
{{!}}{{{attack3note|}}}|}}}}<!--


-->
-->
Line 93: Line 94:
-->{{#if:{{{attack4watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack4watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack4watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack4watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack4emp|}}}|EMP {{{attack4emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack4emp|}}}|EMP {{{attack4emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack4stun|}}}|{{hl|Stun}} {{{attack4stun}}}s {{#if:{{{attack4stunchance|}}}|({{{attack4stunchance}}}% chance)|}}|}}
-->{{#if:{{{attack4stun|}}}|{{hl|Stun}} {{{attack4stun}}}s {{#if:{{{attack4stunchance|}}}|({{{attack4stunchance}}}% chance)|}}|}}{{#ifexpr:{{#var:arm}}=1|&nbsp;
{{#ifexpr:{{#var:arm}}=1|{{!}}{{{attack4penetration|}}}|}}
{{!}}{{{attack4penetration|}}}|}}{{#ifexpr:{{#var:ins}}=1|&nbsp;
{{#ifexpr:{{#var:ins}}=1|{{!}}{{#if:{{{attack4stuninside|}}}|{{hl|Stun}} {{{attack4stuninside|}}}s|&nbsp;}}|}}
{{!}}{{#if:{{{attack4stuninside|}}}|{{hl|Stun}} {{{attack4stuninside|}}}s|&nbsp;}}|}}{{#ifexpr:{{#var:aoe}}=1|&nbsp;
{{#ifexpr:{{#var:aoe}}=1|{{!}}{{#if:{{{attack4explosionrange|}}}|{{{attack4explosionrange|}}}m|&nbsp;}}|}}
{{!}}{{#if:{{{attack4explosionrange|}}}|{{{attack4explosionrange|}}}m|&nbsp;}}|}}{{#ifexpr:{{#var:str}}=1|&nbsp;
{{#ifexpr:{{#var:str}}=1|{{!}}{{{attack4structuredamage|}}}{{#if:{{{attack4aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack4aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}
{{!}}{{{attack4structuredamage|}}}{{#if:{{{attack4aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack4aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}{{#ifexpr:{{#var:dur}}=1|&nbsp;
{{#ifexpr:{{#var:dur}}=1|{{!}}{{{attack4duration|}}}|}}
{{!}}{{{attack4duration|}}}|}}{{#ifexpr:{{#var:coo}}=1|&nbsp;
{{#ifexpr:{{#var:coo}}=1|{{!}}{{{attack4cooldown|}}}|}}
{{!}}{{{attack4cooldown|}}}|}}{{#ifexpr:{{#var:for}}=1|&nbsp;
{{#ifexpr:{{#var:for}}=1|{{!}}{{{attack4force|}}}|}}
{{!}}{{{attack4force|}}}|}}{{#ifexpr:{{#var:not}}=1|&nbsp;
{{#ifexpr:{{#var:not}}=1|{{!}}{{{attack4note|}}}|}}}}<!--
{{!}}{{{attack4note|}}}|}}}}<!--


-->
-->
Line 117: Line 118:
-->{{#if:{{{attack5watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack5watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack5watchersgaze|}}}|{{hl|Watcher's Gaze}} {{{attack5watchersgaze}}}<br>|}}<!--
-->{{#if:{{{attack5emp|}}}|EMP {{{attack5emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack5emp|}}}|EMP {{{attack5emp}}}<br>|}}<!--black moloch
-->{{#if:{{{attack5stun|}}}|{{hl|Stun}} {{{attack5stun}}}s {{#if:{{{attack5stunchance|}}}|({{{attack5stunchance}}}% chance)|}}|}}
-->{{#if:{{{attack5stun|}}}|{{hl|Stun}} {{{attack5stun}}}s {{#if:{{{attack5stunchance|}}}|({{{attack5stunchance}}}% chance)|}}|}}{{#ifexpr:{{#var:arm}}=1|&nbsp;
{{#ifexpr:{{#var:arm}}=1|{{!}}{{{attack5penetration|}}}|}}
{{!}}{{{attack5penetration|}}}|}}{{#ifexpr:{{#var:ins}}=1|&nbsp;
{{#ifexpr:{{#var:ins}}=1|{{!}}{{#if:{{{attack5stuninside|}}}|{{hl|Stun}} {{{attack5stuninside|}}}s|&nbsp;}}|}}
{{!}}{{#if:{{{attack5stuninside|}}}|{{hl|Stun}} {{{attack5stuninside|}}}s|&nbsp;}}|}}{{#ifexpr:{{#var:aoe}}=1|&nbsp;
{{#ifexpr:{{#var:aoe}}=1|{{!}}{{#if:{{{attack5explosionrange|}}}|{{{attack5explosionrange|}}}m|&nbsp;}}|}}
{{!}}{{#if:{{{attack5explosionrange|}}}|{{{attack5explosionrange|}}}m|&nbsp;}}|}}{{#ifexpr:{{#var:str}}=1|&nbsp;
{{#ifexpr:{{#var:str}}=1|{{!}}{{{attack5structuredamage|}}}{{#if:{{{attack5aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack5aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}
{{!}}{{{attack5structuredamage|}}}{{#if:{{{attack5aoestructuredamage|}}}|&nbsp;(direct hit)<br>{{{attack5aoestructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}}|}}{{#ifexpr:{{#var:dur}}=1|&nbsp;
{{#ifexpr:{{#var:dur}}=1|{{!}}{{{attack5duration|}}}|}}
{{!}}{{{attack5duration|}}}|}}{{#ifexpr:{{#var:coo}}=1|&nbsp;
{{#ifexpr:{{#var:coo}}=1|{{!}}{{{attack5cooldown|}}}|}}
{{!}}{{{attack5cooldown|}}}|}}{{#ifexpr:{{#var:for}}=1|&nbsp;
{{#ifexpr:{{#var:for}}=1|{{!}}{{{attack5force|}}}|}}
{{!}}{{{attack5force|}}}|}}{{#ifexpr:{{#var:not}}=1|&nbsp;
{{#ifexpr:{{#var:not}}=1|{{!}}{{{attack5note|}}}|}}}}
{{!}}{{{attack5note|}}}|}}}}
</includeonly><noinclude>This is a sub-template of [[Template:Attacks]] and is not meant for direct usage.</noinclude>
</includeonly><noinclude>This is a sub-template of [[Template:Attacks]] and is not meant for direct usage.</noinclude>

Revision as of 15:43, 7 June 2022

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