User:Solari: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
- moved num hits to directly below power, and only lists it if it can hit more than once. {{-}}{{-}} | - moved num hits to directly below power, and only lists it if it can hit more than once. {{-}}{{-}} | ||
- added autotarget. doesn't list for moves where target_type = none, all, one_ally_not_self, one_enemy, all_not_self, since those have no other option for what to autotarget. {{-}}{{-}} | - added autotarget. doesn't list for moves where target_type = none, all, one_ally_not_self, one_enemy, all_not_self, since those have no other option for what to autotarget. {{-}}{{-}} | ||
- reworded the way targets is listed, to make it more consistent {{-}}{{-}} | |||
- added physicality. physicality is only listed if the move is not a melee attack or ranged attack, or if the target type is not none, one_ally, one_ally_not_self, since physicality for those doesn't matter (iirc). {{-}}{{-}} | - added physicality. physicality is only listed if the move is not a melee attack or ranged attack, or if the target type is not none, one_ally, one_ally_not_self, since physicality for those doesn't matter (iirc). {{-}}{{-}} | ||
- priority is no longer listed if it is not raised or lowered | - priority is no longer listed if it is not raised or lowered {{-}}{{-}} | ||
- most headers now have links! | |||
{{-}} | {{-}} | ||
== move info box == | == move info box == | ||
| Line 17: | Line 19: | ||
<div class="infobox-body"> | <div class="infobox-body"> | ||
<div class="infobox-data"><table> | <div class="infobox-data"><table> | ||
{{#ifeq: {{{exclude_type|}}}|True||<tr><th>Type</th><td>{{TypeButton|{{#invoke:Database|get_move|{{{id}}}|elemental_type}}}}</td></tr>}}<tr><th>Use Cost</th><td>{{#if: {{#invoke:Database|get_move|{{{id}}}|is_passive_only}} | Passive | {{AP|length=10|cost={{#invoke:Database|get_move|{{{id}}}|ap_cost}}}}}}</td></tr> | {{#ifeq: {{{exclude_type|}}}|True||<tr><th>[[Type|<span style="color: #ffffff;">Type</span>]]</th><td>{{TypeButton|{{#invoke:Database|get_move|{{{id}}}|elemental_type}}}}</td></tr>}}<tr><th>[[AP|<span style="color: #ffffff;">Use Cost</span>]]</th><td>{{#if: {{#invoke:Database|get_move|{{{id}}}|is_passive_only}} | Passive | {{AP|length=10|cost={{#invoke:Database|get_move|{{{id}}}|ap_cost}}}}}}</td></tr> | ||
{{#ifeq: {{{exclude_power|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|power|if_0=}} | | {{#ifeq: {{{exclude_power|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|power|if_0=}} | | ||
<tr><th>Power</th><td>{{#invoke:Database|get_move|{{{id}}}|power|if_0=—}}</td></tr> |}}}}{{#if: {{#invoke:Database|get_move|{{{id}}}|max_hits|if_1=}} | | <tr><th>[[Damage|<span style="color: #ffffff;">Power</span>]]</th><td>{{#invoke:Database|get_move|{{{id}}}|power|if_0=—}}</td></tr> |}}}}{{#if: {{#invoke:Database|get_move|{{{id}}}|max_hits|if_1=}} | | ||
<tr><th>Hits</th><td>{{#ifeq: {{#invoke:Database|get_move|{{{id}}}|min_hits}}|{{#invoke:Database|get_move|{{{id}}}|max_hits}}|{{#invoke:Database|get_move|{{{id}}}|max_hits}}|{{#invoke:Database|get_move|{{{id}}}|min_hits}} - {{#invoke:Database|get_move|{{{id}}}|max_hits}}}}</td></tr> |}} | <tr><th>Hits</th><td>{{#ifeq: {{#invoke:Database|get_move|{{{id}}}|min_hits}}|{{#invoke:Database|get_move|{{{id}}}|max_hits}}|{{#invoke:Database|get_move|{{{id}}}|max_hits}}|{{#invoke:Database|get_move|{{{id}}}|min_hits}} - {{#invoke:Database|get_move|{{{id}}}|max_hits}}}}</td></tr> |}} | ||
<tr><th>Accuracy</th><td>{{#invoke:Database|get_move|{{{id}}}|accuracy|if_number=%d%%}}</td></tr>{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=}} | | <tr><th>[[Hit chance|<span style="color: #ffffff;">Accuracy</span>]]</th><td>{{#invoke:Database|get_move|{{{id}}}|accuracy|if_number=%d%%}}</td></tr>{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=}} | | ||
{{#ifeq: {{{exclude_targets|}}}|True||<tr><th>Targets</th><td>{{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=None|if_TARGET_ONE=Single|if_TARGET_TEAM=Team|if_TARGET_ALL=All|if_TARGET_ONE_ALLY=Single Ally|if_TARGET_ONE_ALLY_NOT_SELF=Single Other Ally|if_TARGET_ONE_ENEMY=Single Enemy|if_TARGET_ALL_NOT_SELF=All Other Fighters}}</td></tr> {{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=|if_TARGET_ALL=|if_TARGET_ONE_ALLY_NOT_SELF=|if_TARGET_ONE_ENEMY=|if_TARGET_ALL_NOT_SELF=}}|<tr><th>Autotarget</th><td>{{#invoke:Database|get_move|{{{id}}}|default_target|if_DEFAULT_TARGET_NONE=None|if_DEFAULT_TARGET_SELF=Self|if_DEFAULT_TARGET_ALLY=Ally|if_DEFAULT_TARGET_ENEMY=Enemy}}</td></tr> |}} |}}}} | {{#ifeq: {{{exclude_targets|}}}|True||<tr><th>Targets</th><td>{{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=None|if_TARGET_ONE=Single|if_TARGET_TEAM=Team|if_TARGET_ALL=All|if_TARGET_ONE_ALLY=Single Ally|if_TARGET_ONE_ALLY_NOT_SELF=Single Other Ally|if_TARGET_ONE_ENEMY=Single Enemy|if_TARGET_ALL_NOT_SELF=All Other Fighters}}</td></tr> {{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=|if_TARGET_ALL=|if_TARGET_ONE_ALLY_NOT_SELF=|if_TARGET_ONE_ENEMY=|if_TARGET_ALL_NOT_SELF=}}|<tr><th>Autotarget</th><td>{{#invoke:Database|get_move|{{{id}}}|default_target|if_DEFAULT_TARGET_NONE=None|if_DEFAULT_TARGET_SELF=Self|if_DEFAULT_TARGET_ALLY=Ally|if_DEFAULT_TARGET_ENEMY=Enemy}}</td></tr> |}} |}}}} | ||
{{#ifeq: {{{exclude_physicality|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=|if_TARGET_ONE_ALLY=|if_TARGET_ONE_ALLY_NOT_SELF=}}|{{#if: {{#invoke:Database|get_move|{{{id}}}|category|if_Melee Attack=|if_Ranged Attack=}} | <tr><th>Physicality</th><td>{{#invoke:Database|get_move|{{{id}}}|physicality|if_MELEE=Melee|if_RANGED=Ranged}}</td></tr> |}}}}}} | {{#ifeq: {{{exclude_physicality|}}}|True||{{#if: {{#invoke:Database|get_move|{{{id}}}|target_type|if_TARGET_NONE=|if_TARGET_ONE_ALLY=|if_TARGET_ONE_ALLY_NOT_SELF=}}|{{#if: {{#invoke:Database|get_move|{{{id}}}|category|if_Melee Attack=|if_Ranged Attack=}} | <tr><th>[[Physicality|<span style="color: #ffffff;">Physicality</span>]]</th><td>{{#invoke:Database|get_move|{{{id}}}|physicality|if_MELEE=Melee|if_RANGED=Ranged}}</td></tr> |}}}}}} | ||
<tr><th>Copyable</th><td>{{#invoke:Database|get_move|{{{id}}}|can_be_copied|if_true=Yes|if_false=No}}</td></tr> | <tr><th>[[Copycat|<span style="color: #ffffff;">Copyable</span>]]</th><td>{{#invoke:Database|get_move|{{{id}}}|can_be_copied|if_true=Yes|if_false=No}}</td></tr> | ||
{{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} = 0||<tr><th>Priority</th><td>{{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} > 0 | Raised | {{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} < 0 | Lowered | Normal }} }} ({{#invoke:Database|get_move|{{{id}}}|priority}})</td></tr>}} | {{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} = 0||<tr><th>[[Priority|<span style="color: #ffffff;">Priority</span>]]</th><td>{{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} > 0 | Raised | {{#ifexpr: {{#invoke:Database|get_move|{{{id}}}|priority}} < 0 | Lowered | Normal }} }} ({{#invoke:Database|get_move|{{{id}}}|priority}})</td></tr>}} | ||
</table></div></div></div> | </table></div></div></div> | ||
<noinclude> | <noinclude> | ||
Latest revision as of 01:48, 19 November 2026
just testing stuff! currently editing move info box.
current changes:
- moved use cost to directly below type, and made it use the new AP template
- moved num hits to directly below power, and only lists it if it can hit more than once.
- added autotarget. doesn't list for moves where target_type = none, all, one_ally_not_self, one_enemy, all_not_self, since those have no other option for what to autotarget.
- reworded the way targets is listed, to make it more consistent
- added physicality. physicality is only listed if the move is not a melee attack or ranged attack, or if the target type is not none, one_ally, one_ally_not_self, since physicality for those doesn't matter (iirc).
- priority is no longer listed if it is not raised or lowered
- most headers now have links!
move info box
test cases
