Difference between revisions of "Template:Skill description"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
m
(changed defaults here just in case too)
 
Line 64: Line 64:
}}<!--new entries here-->
}}<!--new entries here-->
}}<!--nothing-->{{#if:{{#var:effect present|}}||{{#vardefine:desc|No effect}}
}}<!--nothing-->{{#if:{{#var:effect present|}}||{{#vardefine:desc|No effect}}
}}<!--turn intervals-->{{#ifexpr:{{{timing|0}}} != 8 and {{{timing|0}}} != 9|{{#vardefine:desc|{{#if:{{#vardefineecho:turn interval|{{Skill turn interval|interval={{{turn_interval|0}}}|surplus={{{turn_interval_surplus|0}}}|total turn={{{turn_interval_is_total_turn|0}}}}}}}|({{#var:turn interval|}})&#32;}}{{#var:desc}}}}
}}<!--turn intervals-->{{#ifexpr:{{{timing|0}}} != 8 and {{{timing|0}}} != 9|{{#vardefine:desc|{{#if:{{#vardefineecho:turn interval|{{Skill turn interval|interval={{{turn_interval|1}}}|surplus={{{turn_interval_surplus|0}}}|total turn={{{turn_interval_is_total_turn|1}}}}}}}|({{#var:turn interval|}})&#32;}}{{#var:desc}}}}
}}<!--CP conditions-->{{#if:{{#vardefineecho:cp condition|{{Value condition|value=CP|equal={{{cond_cp_equal|0}}}|less={{{cond_cp_less|0}}}|greater={{{cond_cp_greater|0}}}|cond_type={{{cond_cp_combination_type|0}}}}}}}|{{#vardefine:desc|(If {{#var:cp condition}}) {{#var:desc}}}}
}}<!--CP conditions-->{{#if:{{#vardefineecho:cp condition|{{Value condition|value=CP|equal={{{cond_cp_equal|0}}}|less={{{cond_cp_less|0}}}|greater={{{cond_cp_greater|0}}}|cond_type={{{cond_cp_combination_type|0}}}}}}}|{{#vardefine:desc|(If {{#var:cp condition}}) {{#var:desc}}}}
}}<!--HP conditions-->{{#if:{{#vardefineecho:hp condition|{{Value condition|value=HP|equal={{{cond_hp_prop_equal|0}}}|less={{{cond_hp_prop_less|0}}}|greater={{{cond_hp_prop_greater|0}}}|cond_type={{{cond_hp_prop_combination_type|0}}}}}}}|{{#vardefine:desc|(If {{#var:hp condition}}%) {{#var:desc}}}}
}}<!--HP conditions-->{{#if:{{#vardefineecho:hp condition|{{Value condition|value=HP|equal={{{cond_hp_prop_equal|0}}}|less={{{cond_hp_prop_less|0}}}|greater={{{cond_hp_prop_greater|0}}}|cond_type={{{cond_hp_prop_combination_type|0}}}}}}}|{{#vardefine:desc|(If {{#var:hp condition}}%) {{#var:desc}}}}
Line 78: Line 78:
| Has trigger timing ID = {{{timing|0}}}
| Has trigger timing ID = {{{timing|0}}}
| Has range = {{{distance|0}}} {{{distance_h|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}
| Has range = {{{distance|0}}} {{{distance_h|0}}} {{{range_h|0}}} {{{range_v|0}}} {{{range_d|0}}} {{{is_square|0}}}
| Has turn interval = {{{turn_interval|0}}} {{{turn_interval_surplus|0}}} {{{turn_interval_is_total_turn|0}}}
| Has turn interval = {{{turn_interval|1}}} {{{turn_interval_surplus|0}}} {{{turn_interval_is_total_turn|1}}}
}}|}}{{#vardefine:effect present|}}{{#var:desc}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
}}|}}{{#vardefine:effect present|}}{{#var:desc}}</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>

Latest revision as of 16:16, 1 October 2023

Template documentation[view] [edit] [history] [purge]

Description

This template generates a skill description based on the ingame variables. Variables with a lacking parameter get replaced with 0. Additionally, it also creates a categorization subobject if called on skill infobox pages. This subobject is later used in Template:Skill list and Template:Skill list table.

Usage

It is not recommended to directly invoke this template. Instead, use
{{#masterdata:SkillDesctiption|<id>|effect=<effect>}}

Where <id> is ID of the skill, <effect> is ID of the skill effect. Refer to Template:Skill bundle to see full skill desriptions.

Beside arguments that match ingame variables, there are following arguments:

Variables

  • short description - undeclare this variable before directly calling this template to force long skill descriptions for every skill effect.

Usage examples

{{Skill description
|timing=19
|target_my_team=1
|range_h=99
|range_v=99
|range_d=99
|is_square=1
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_is_total_turn=1
}}

Apply ArdorATK Up by 1.2x ~ 2.4x, +5CP/turn for 2 turns (Buff) to allies on the entire board

{{Skill description
|timing=18
|target_self=1
|rate_2_use=50
|mult=100
|mult_max=100
|add_status_id=49
|turn_interval=1
|turn_interval_surplus=1
|turn_interval_is_total_turn=1
}}

(Total turns 2, 3, 4...) Apply ArdorATK Up by 1.2x ~ 2.4x, +5CP/turn for 2 turns (Buff) to self

{{Skill description
|timing=1
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|regist_knockback=99
|turn_interval=1
|turn_interval_is_total_turn=1
}}

Resists forced backward movement

{{Skill description
|timing=17
|target_self=1
|rate_2_use=100
|mult=100
|mult_max=100
|add_money=5
|max_add_money=5
|turn_interval=1
|turn_interval_is_total_turn=1
|support_ok=1
}}

Additional Coin (+5%)

{{Skill description
|timing=7
|target_enemy=1
|rate_2_use=50
|mult=100
|mult_max=100
|knockback=-1
|turn_interval=1
|turn_interval_is_total_turn=1
}}

Attract hit units by 1 square

{{Skill description
|skill_id=691
|effect_serial_id=1
|timing=8
|target_enemy=1
|rate_2_use=100
|mult=150
|mult_max=150
|add_status_id=19
|anti_status_id=19
|turn_interval=1
|turn_interval_is_total_turn=1}}

Apply Countdown-10000~-20000HP/turn for 2 turns (Debuff) to hit units + Deal 1.5x damage to Countdown-10000~-20000HP/turn for 2 turns (Debuff)-affected enemies


Apply Skill LockCannot activate skills for 5 turns. (Debuff) to self and hit units