Template:AbilityMagic: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
(Created page with "<noinclude> ==Purpose== This template allows for embedding actual spell templates within the model advantage block. ==EXAMPLE== <table class="wikitable" style=" width:100%; border-collapse: collapse;"> {{AbilityMagic|sp1=Breath Taker|sp1box=no|sp2=Hoarfrost|sp2box=yes|sp3=Winter Storm|sp3box=no}} </table> Category:Templates </noinclude> <includeonly><tr><td style="text-align:center; width: 20%;">Magic Ability</td> <td colspan=100% sty...")
 
mNo edit summary
Line 15: Line 15:
<table>
<table>
<tr><td style="text-align:left; width: 100%;">{{Category:Magic Ability}}</td></tr>
<tr><td style="text-align:left; width: 100%;">{{Category:Magic Ability}}</td></tr>
{{#ifexist:{{sp1|}}|
{{#ifeq:{{{sp1box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp1}}}}}</td></tr>
{{#ifeq:{{{sp1box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp1}}}}}</td></tr>
{{#ifexist:Category:Errata-{{{sp1}}}|<tr><td>{{Category:Errata-{{{sp1}}}}}</td></tr>|<tr><td>No errata for {{{sp1}}} ([[:Category:Errata-{{{sp1}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp1}}}}} }}
{{#ifexist:Category:Errata-{{{sp1}}}|<tr><td>{{Category:Errata-{{{sp1}}}}}</td></tr>|<tr><td>No errata for {{{sp1}}} ([[:Category:Errata-{{{sp1}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp1}}}}} }} |}}
 


{{#ifexist:{{sp2|}}|
{{#ifeq:{{{sp2box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp2}}}}}</td></tr>
{{#ifeq:{{{sp2box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp2}}}}}</td></tr>
{{#ifexist:Category:Errata-{{{sp2}}}|<tr><td>{{Category:Errata-{{{sp2}}}}}</td></tr>|<tr><td>No errata for {{{sp2}}} ([[:Category:Errata-{{{sp2}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp2}}}}} }}
{{#ifexist:Category:Errata-{{{sp2}}}|<tr><td>{{Category:Errata-{{{sp2}}}}}</td></tr>|<tr><td>No errata for {{{sp2}}} ([[:Category:Errata-{{{sp2}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp2}}}}} }} |}}
 


{{#ifexist:{{sp3|}}|
{{#ifeq:{{{sp3box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp3}}}}}</td></tr>
{{#ifeq:{{{sp3box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp3}}}}}</td></tr>
{{#ifexist:Category:Errata-{{{sp3}}}|<tr><td>{{Category:Errata-{{{sp3}}}}}</td></tr>|<tr><td>No errata for {{{sp3}}} ([[:Category:Errata-{{{sp3}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp3}}}}} }}
{{#ifexist:Category:Errata-{{{sp3}}}|<tr><td>{{Category:Errata-{{{sp3}}}}}</td></tr>|<tr><td>No errata for {{{sp3}}} ([[:Category:Errata-{{{sp3}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp3}}}}} }} |}}
 


{{#ifexist:{{sp4|}}|
{{#ifeq:{{{sp4box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp4}}}}}</td></tr>
{{#ifeq:{{{sp4box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp4}}}}}</td></tr>
{{#ifexist:Category:Errata-{{{sp4}}}|<tr><td>{{Category:Errata-{{{sp4}}}}}</td></tr>|<tr><td>No errata for {{{sp4}}} ([[:Category:Errata-{{{sp4}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp4}}}}} }}
{{#ifexist:Category:Errata-{{{sp4}}}|<tr><td>{{Category:Errata-{{{sp4}}}}}</td></tr>|<tr><td>No errata for {{{sp4}}} ([[:Category:Errata-{{{sp4}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp4}}}}} }} |}}
 


{{#ifexist:{{sp5|}}|
{{#ifeq:{{{sp5box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp5}}}}}</td></tr>
{{#ifeq:{{{sp5box}}}|no|<tr><td style="text-align:left; width: 100%;">{{Category:{{{sp5}}}}}</td></tr>
{{#ifexist:Category:Errata-{{{sp5}}}|<tr><td>{{Category:Errata-{{{sp5}}}}}</td></tr>|<tr><td>No errata for {{{sp5}}} ([[:Category:Errata-{{{sp5}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp5}}}}} }}
{{#ifexist:Category:Errata-{{{sp5}}}|<tr><td>{{Category:Errata-{{{sp5}}}}}</td></tr>|<tr><td>No errata for {{{sp5}}} ([[:Category:Errata-{{{sp5}}}|Create]])</td></tr>}}|{{SpellTable|{{{sp5}}}}} }} |}}


</table></td></tr></includeonly>
</table></td></tr></includeonly>

Revision as of 05:01, 14 February 2024

Purpose

This template allows for embedding actual spell templates within the model advantage block.

EXAMPLE

Magic Ability
This model can make the following Special Attacks or Special Actions. Doing so counts as casting a spell. If a Cost is listed, the model does not pay that cost. A cost might be listed because the Special Action or Special Attack is also a Spell listed on a Leader model.

If a model uses a Special Action or Special Attack to cast a spell in this manner, they cannot buy additional melee or ranged attacks unless otherwise stated in the spell, because using a Special Action or Special Attack is a Combat Action choice other than using Initial Attacks.