Difference between revisions of "Template:Skill description"

Jump to navigation Jump to search
no edit summary
Line 2: Line 2:
}}<!--specifying targets-->{{#vardefine:target|{{Skill targets|self={{{target_self|0}}}|team={{{target_my_team|0}}}|enemy={{{target_enemy|0}}}}}{{#ifeq:{{{distance|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}}|0 0 0 0||{{spaces|1}}}}{{#if:{{{override range|}}}|{{{override range}}}|{{Skill range|{{{distance|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}}}}}
}}<!--specifying targets-->{{#vardefine:target|{{Skill targets|self={{{target_self|0}}}|team={{{target_my_team|0}}}|enemy={{{target_enemy|0}}}}}{{#ifeq:{{{distance|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}}|0 0 0 0||{{spaces|1}}}}{{#if:{{{override range|}}}|{{{override range}}}|{{Skill range|{{{distance|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}}}}}
}}{{#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|}}}}}]]}}}}
}}(START)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|}}}}}]]}}(END)}}
}}<!--remove status-->{{#ifeq:{{{remove_status_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Remove {{Status name|id={{{remove_status_id}}}}};{{#var:effect tags}}}}
}}<!--remove status-->{{#ifeq:{{{remove_status_id|0}}}|0||{{#if:{{#var:skill page|}}|{{#vardefine:effect tags|Remove {{Status name|id={{{remove_status_id}}}}};{{#var:effect tags}}}}
}}(START){{#if:{{#var:short description|}}|{{Status|id={{{remove_status_id|}}}}}|Remove {{Status|id={{{remove_status_id|}}}}}}}{{#vardefine:short description|true}}(END)
}}(START){{#if:{{#var:short description|}}|{{Status|id={{{remove_status_id|}}}}}|Remove {{Status|id={{{remove_status_id|}}}}}}}{{#vardefine:short description|true}}(END)
Line 64: Line 64:
| Has effect max potency = {{#var:potency max|0}}
| Has effect max potency = {{#var:potency max|0}}
| Has effect targets = {{#ifeq:{{{target_self|0}}}|0||self;}}{{#ifeq:{{{target_my_team|0}}}|0||allies;}}{{#ifeq:{{{target_enemy|0}}}|0||enemies}}|+sep=;
| Has effect targets = {{#ifeq:{{{target_self|0}}}|0||self;}}{{#ifeq:{{{target_my_team|0}}}|0||allies;}}{{#ifeq:{{{target_enemy|0}}}|0||enemies}}|+sep=;
}}|}}<!--Stitching together parts of an effect with a " + "-->{{#vardefine:desc|{{#replace:{{#var:desc}}|(END)(START)|&#32;+$#32;}}
}}|}}<!--Stitching together parts of an effect with a " + "
-->{{#vardefine:desc|{{#replace:{{#var:desc}}|(END)(START)|&#32;+&#32;}}
}}{{#vardefine:desc|{{#replace:{{#var:desc}}|(END)|}}
}}{{#vardefine:desc|{{#replace:{{#var:desc}}|(END)|}}
}}{{#vardefine:desc|{{#replace:{{#var:desc}}|(START)|}}
}}{{#vardefine:desc|{{#replace:{{#var:desc}}|(START)|}}
trusted
5,920

edits

Navigation menu