Template:ArchangelMoveInfobox: Difference between revisions

From Cassette Beasts
Leilukin (talk | contribs)
Make the target type parameter optional
Solari (talk | contribs)
m fixed bad formatting
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
<div class="infobox-body">
<div class="infobox-body">
<div class="infobox-data"><table>
<div class="infobox-data"><table>
<tr><th>User</th><td>{{{user}}}</td></tr>
<tr><th>[[Archangel|<span style="color: #ffffff;">User</span>]]</th><td>{{{user}}}</td></tr>
<tr><th>Type</th><td>{{TypeButton|{{#ifeq:{{{type|}}}|{{{type}}}|{{{type}}}|Typeless}}}}</td></tr>
<tr><th>[[Types|<span style="color: #ffffff;">Type</span>]]</th><td>{{TypeButton|{{#ifeq:{{{type|}}}|{{{type}}}|{{{type}}}|Typeless}}}}</td></tr>
{{#if: {{{power|}}}|<tr><th>Power</th><td>{{{power}}}</td></tr>}}
<tr><th>[[AP|<span style="color: #ffffff;">Use Cost</span>]]</th><td>{{#ifeq: {{{ap_cost|}}}|Passive|Passive|{{AP|cost={{#if: {{{ap_cost|}}}|{{{ap_cost}}}|0}}|length=10|archangel=yes}}}}</td></tr>
<tr><th>Accuracy</th><td>{{#ifeq:{{{accuracy|}}}|{{{accuracy}}}|{{{accuracy}}}|100%}}</td></tr>
{{#if: {{{power|}}}|<tr><th>[[Damage|<span style="color: #ffffff;">Power</span>]]</th><td>{{{power}}}</td></tr>}}{{#if: {{{hits|}}}|<tr><th>Hits</th><td>{{{hits}}}</td></tr>}}
{{#if: {{{target_type|}}}|<tr><th>Targets</th><td>{{{target_type}}}</td></tr>}}
<tr><th>[[Hit chance|<span style="color: #ffffff;">Accuracy</span>]]</th><td>
{{#if: {{{num_hits|}}}|<tr><th>Num Hits</th><td>{{{num_hits}}}</td></tr>}}
{{#ifeq:{{{accuracy|}}}|{{{accuracy}}}|{{{accuracy}}}|100%}}</td></tr><tr><th>Targets</th><td>{{{target_type}}}</td></tr>
<tr><th>Use Cost</th><td>{{{ap_cost}}}</td></tr>
<tr><th>[[Copycat|<span style="color: #ffffff;">Copyable</span>]]</th><td>{{#ifeq:{{{can_be_copied|}}}|True|Yes|No}}</td></tr>
<tr><th>Copyable</th><td>{{#ifeq:{{{can_be_copied|}}}|True|Yes|No}}</td></tr>
{{#if: {{{priority|}}}|<tr><th>[[Priority|<span style="color: #ffffff;">Priority</span>]]</th><td>{{#ifexpr: {{{priority}}} > 0 | Raised | {{#ifexpr: {{{priority}}} < 0 | Lowered | Normal }} }} ({{{priority}}})</td></tr>}}</td></tr>
<tr><th>Priority</th><td>{{#ifeq:{{{priority|}}}|{{{priority}}}|{{{priority}}}|Normal (0)}}</td></tr>
</table></div></div></div>
</table></div></div></div>
<noinclude>
<noinclude>
Line 25: Line 24:
| type = Glass
| type = Glass
| power = 9999999
| power = 9999999
| accuracy = Unavoidable
| target_type = Team
| target_type = Team
| ap_cost = 10 AP
| ap_cost = 10
}}
}}
</noinclude>
</noinclude>

Latest revision as of 02:34, 19 November 2026

{{{name}}}
{{{category}}}
User{{{user}}}
Type
Use Cost
Accuracy 100%
Targets{{{target_type}}}
CopyableNo


Examples

Coda Morgana
Ranged Attack