Template:ArchangelMoveInfobox: Difference between revisions
From Cassette Beasts
m Edit example |
m fixed bad formatting |
||
| (One intermediate revision by the same user 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> | ||
<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> | |||
{{#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>}} | |||
<tr><th> | <tr><th>[[Hit chance|<span style="color: #ffffff;">Accuracy</span>]]</th><td> | ||
{{#if: {{{ | {{#ifeq:{{{accuracy|}}}|{{{accuracy}}}|{{{accuracy}}}|100%}}</td></tr><tr><th>Targets</th><td>{{{target_type}}}</td></tr> | ||
<tr><th> | <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>{{# | |||
</table></div></div></div> | </table></div></div></div> | ||
<noinclude> | <noinclude> | ||
| Line 27: | Line 26: | ||
| accuracy = Unavoidable | | accuracy = Unavoidable | ||
| target_type = Team | | target_type = Team | ||
| ap_cost = 10 | | ap_cost = 10 | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
