Difference between revisions of "Template:Skill description"

Jump to navigation Jump to search
doesn't fix all problems but should be good enough
(fix empty target wording)
(doesn't fix all problems but should be good enough)
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|}}{{#vardefine:potency min|{{{mult|0}}}}}{{#vardefine:potency max|{{{mult_max|0}}}}}
<includeonly><onlyinclude>{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|}}{{#vardefine:potency min|{{{mult|0}}}}}{{#vardefine:potency max|{{{mult_max|0}}}}}
}}{{#vardefine:numerical range|{{{distance|0}}} {{{distance_h|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}}}<!--specifying targets-->{{#vardefine:target|{{Skill targets|self={{{target_self|0}}}|team={{#ifeq:{{#var:numerical range}}|0 0 0 0 0 0|0|{{{target_my_team|0}}}}}|enemy={{#ifeq:{{#var:numerical range}}|0 0 0 0 0 0|0|{{{target_enemy|0}}}}}}}{{#ifeq:{{#var:numerical range}}|0 0 0 0 0 0||{{spaces|1}}}}{{#if:{{{override range|}}}|{{{override range}}}|{{Skill range|{{#var:numerical range}}}}}}
}}{{#vardefine:numerical range|{{{distance|0}}} {{{distance_h|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}}}<!--specifying targets-->{{#vardefine:target|{{Skill targets|self={{{target_self|0}}}|team={{#ifeq:{{#var:numerical range}}|0 0 0 0 0 0|0|{{{target_my_team|0}}}}}|enemy={{{{target_enemy|0}}}}}{{#ifeq:{{#var:numerical range}}|0 0 0 0 0 0||{{spaces|1}}}}{{#if:{{{override range|}}}|{{{override range}}}|{{Skill range|{{#var:numerical range}}}}}}
}}{{#vardefine:desc|<!--apply status-->{{#ifeq:{{{target_self|0}}} {{{target_my_team|0}}} {{{target_enemy|0}}}|0 0 0||{{#ifeq:{{{add_status_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Apply {{Status name|id={{{add_status_id}}}}};{{#var:effect tags}}}}
}}{{#vardefine:desc|<!--apply status-->{{#ifeq:{{{target_self|0}}} {{{target_my_team|0}}} {{{target_enemy|0}}}|0 0 0||{{#ifeq:{{{add_status_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Apply {{Status name|id={{{add_status_id}}}}};{{#var:effect tags}}}}
}}Apply {{Status|id={{{add_status_id|}}}}} to {{#var:target}}{{#ifeq:{{#var:skill page|false}}|true|[[Category:Skill that uses {{Status name|id={{{add_status_id|}}}}}]]}}{{#vardefine:effect present|true}}
}}Apply {{Status|id={{{add_status_id|}}}}} to {{#var:target}}{{#ifeq:{{#var:skill page|false}}|true|[[Category:Skill that uses {{Status name|id={{{add_status_id|}}}}}]]}}{{#vardefine:effect present|true}}
trusted
5,920

edits

Navigation menu