Difference between revisions of "Template:Skill range"

Jump to navigation Jump to search
24 bytes removed ,  15:17, 11 August 2020
no edit summary
(Oniwaka why are you like this)
Line 1: Line 1:
<includeonly><onlyinclude><!--keywords:center, adjust, target (get replaced at the end with proper strings)-->{{#if:{{#var:disable ranges}}|{{#vardefine:disable ranges|}}|{{#vardefine:range o|{{#explode:{{{1|0}}}| |0}}}}{{#vardefine:range h|{{#explode:{{{1}}}| |1}}}}{{#vardefine:range v|{{#explode:{{{1}}}| |2}}}}{{#vardefine:range d|{{#explode:{{{1}}}| |3}}}}{{#vardefine:range s|{{#explode:{{{1}}}| |4}}}}{{#vardefine:range|
<includeonly><onlyinclude><!--keywords:center, adjust, target (get replaced at the end with proper strings)-->{{#if:{{#var:disable ranges}}|{{#vardefine:disable ranges|}}|{{#vardefine:range o|{{#explode:{{{1|0}}}| |0}}}}{{#vardefine:range h|{{#explode:{{{1}}}| |1}}}}{{#vardefine:range v|{{#explode:{{{1}}}| |2}}}}{{#vardefine:range d|{{#explode:{{{1}}}| |3}}}}{{#vardefine:range s|{{#explode:{{{1}}}| |4}}}}{{#vardefine:range|
<!--matching targets and ranges-->{{#switch:{{#var:target definition}} {{{1}}}
<!--matching targets and ranges-->{{#switch:{{#var:target definition}} {{{1}}}
| {{#var:self target}} 1 1 0 0 0 = in a Slash range
| {{#var:self target}} 1 1 0 0 0 = in Slash range
| {{#var:self target}} -1 1 0 0 0 = in a reverse Slash range
| {{#var:self target}} -1 1 0 0 0 = in reverse Slash range
| {{#var:self target}} 1 2 0 0 0 = in a Long Slash range
| {{#var:self target}} 1 2 0 0 0 = in Long Slash range
| {{#var:self target}} -1 2 0 0 0 = in a reverse Long Slash range
| {{#var:self target}} -1 2 0 0 0 = in reverse Long Slash range
| {{#var:self target}} 1 0 1 0 0 = in a Thrust range
| {{#var:self target}} 1 0 1 0 0 = in Thrust range
| {{#var:self target}} -1 0 1 0 0 = in a reverse Thrust range
| {{#var:self target}} -1 0 1 0 0 = in reverse Thrust range
| {{#var:self target}} 2 0 1 0 0 = in a Shot range
| {{#var:self target}} 2 0 1 0 0 = in Shot range
| {{#var:self target}} -2 0 1 0 0 = in a reverse Shot range
| {{#var:self target}} -2 0 1 0 0 = in reverse Shot range
| {{#var:self target}} 3 0 2 0 0 = in a Snipe range
| {{#var:self target}} 3 0 2 0 0 = in Snipe range
| {{#var:self target}} -3 0 2 0 0 = in a reverse Snipe range
| {{#var:self target}} -3 0 2 0 0 = in reverse Snipe range
| {{#var:self target}} 2 1 1 0 0 = in a Magic range
| {{#var:self target}} 2 1 1 0 0 = in Magic range
| {{#var:self target}} -2 1 1 0 0 = in a reverse Magic range
| {{#var:self target}} -2 1 1 0 0 = in reverse Magic range
<!--add new cases here-->
<!--add new cases here-->
| #default = <!--matching ranges-->{{#switch:{{{1}}}
| #default = <!--matching ranges-->{{#switch:{{{1}}}
4,390

edits

Navigation menu