trusted
5,894
edits
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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: | ==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 <pre>{{#masterdata:SkillDesctiption|<id>|effect=<effect>}}</pre> | |||
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: | |||
* '''override range''' - replace the skill range with a custom string (like the one from [[Template:Skill range combo]]). | * '''override range''' - replace the skill range with a custom string (like the one from [[Template:Skill range combo]]). | ||
== | ===Variables=== | ||
* '''short description''' - undeclare this variable before directly calling this template to force long skill descriptions for every skill effect. | * '''short description''' - undeclare this variable before directly calling this template to force long skill descriptions for every skill effect. | ||
Line 92: | Line 96: | ||
|turn_interval=1 | |turn_interval=1 | ||
|turn_interval_is_total_turn=1 | |turn_interval_is_total_turn=1 | ||
|support_ok=1 | |||
}}</pre> | }}</pre> | ||
{{Skill description | {{Skill description | ||
Line 103: | Line 108: | ||
|turn_interval=1 | |turn_interval=1 | ||
|turn_interval_is_total_turn=1 | |turn_interval_is_total_turn=1 | ||
|support_ok=1 | |||
}} | }} | ||
Line 126: | Line 132: | ||
}} | }} | ||
<pre>{{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}}</pre> | <pre>{{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}}</pre> | |||
{{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}} | {{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}} | ||
{{Skill description|skill_id=6969|effect_serial_id=1|target_enemy=1|target_self=1|target_my_team=1|add_status_id=20}} |