4,388
edits
SurtrFan8511 (talk | contribs) |
|||
Line 1: | Line 1: | ||
<includeonly><onlyinclude><!--Arguments: |self=[id]|team=[id]|enemy=[id] | <includeonly><onlyinclude><!--Arguments: |self=[id]|team=[id]|enemy=[id] | ||
-->{{#vardefine:self target|self}}{{#vardefine:enemy target|<!--the {{#var:hit form|hit}} unit--> | -->{{#vardefine:self target|self}}{{#vardefine:enemy target|<!--the {{#var:hit form|hit}} unit-->them}}{{#vardefine:target definition|{{#var:self target}}}}{{#arraydefine:target1|{{#switch:{{{self|}}} | ||
| 1 = self | | 1 = self | ||
}}}}{{#arraydefine:target2|{{#switch:{{{team|}}} {{{enemy|}}} | }}}}{{#arraydefine:target2|{{#switch:{{{team|}}} {{{enemy|}}} | ||
| 0 0 = | | 0 0 = | ||
| 1 0 | 2 0 = allies | | 1 0 | 2 0 = allies | ||
| 1 1 = | | 1 1 = {{#var:hit form|hit}} units and <abbr title="The following range only applies to this group of transients">allies</abbr> | ||
| 1 2 = <abbr title="The following range only applies to this group of transients">allies and enemies</abbr> | | 1 2 = <abbr title="The following range only applies to this group of transients">allies and enemies</abbr> | ||
| 0 1 = | | 0 1 = {{#var:hit form|hit}} units | ||
| 0 2 = enemies | | 0 2 = enemies | ||
| 0 4 = enemies near | | 0 4 = enemies near {{#var:hit form|hit}} units,{{#vardefine:target definition|{{#var:enemy target}}}} | ||
| 0 5 = | | 0 5 = {{#var:hit form|hit}} units and enemies{{#vardefine:target definition|{{#var:enemy target}}}} | ||
| #default = units | | #default = units | ||
}}}}{{#arrayunion:targets|target1|target2}}{{#arrayprint:targets}}{{#ifeq:{{#arrayprint:targets}}|self|{{#vardefine:disable ranges|true}}}}</includeonly></onlyinclude> | }}}}{{#arrayunion:targets|target1|target2}}{{#arrayprint:targets}}{{#ifeq:{{#arrayprint:targets}}|self|{{#vardefine:disable ranges|true}}}}</includeonly></onlyinclude> |
edits