|
|
| Line 1: |
Line 1: |
| <noinclude>
| | Delete |
| ==Purpose==
| | {{Category:DELETE}} |
| This template allows for embedding actual spell templates within the model advantage block.
| |
| ===Use===
| |
| * AbilityMagic calls the template
| |
| * sp1 through sp5 = a spell or advantage/ability
| |
| * sp1box through sp5box = y
| |
| ** Leave out if the ability in sp1 through sp5 isn't an actual spell
| |
| ** Include to wrap the spellbox properly.
| |
| | |
| <nowiki>{{AbilityMagic|sp1=ExampleAdvantage|sp2=ExampleSpell|sp2box=y|sp3=ExampleAdvantage}}</nowiki>
| |
| | |
| ==EXAMPLE==
| |
| <table class="wikitable" style=" width:100%; border-collapse: collapse;">{{AbilityMagic|sp1=ExampleAdvantage|sp2=ExampleSpell|sp2box=y|sp3=ExampleAdvantage}}</table>
| |
| [[Category:Templates]]
| |
| </noinclude>
| |
| <includeonly><tr><td style="text-align:center; width: 20%;">[[:Category:Magic Ability|Magic Ability]]</td><td colspan=100%>{{Category:Magic Ability}}<table class="wikitable" style="border-style:solid; width:100%; border-collapse:collapse;">{{#if:{{{sp1|}}}|<tr><td colspan=100%><b>{{{sp1}}}:</b>{{Category:{{{sp1}}}}}</td></tr>{{#if:{{{sp1box|}}}||<tr><td colspan=100%>{{#ifExist:[[Category:Errata-{{{sp1}}}]]|{{Category:Errata-{{{sp1}}}}}</td></tr>| No errata for {{{sp1}}} ([[:Category:Errata-{{{sp1}}}|Create]])</td></tr>}}}}|}}{{#if:{{{sp2|}}}|<tr><td colspan=100%><b>{{{sp2}}}:</b> {{Category:{{{sp2}}}}}</td></tr>{{#if:{{{sp2box|}}}||<tr><td colspan=100%>{{#ifExist:[[Category:Errata-{{{sp2}}}]]|{{Category:Errata-{{{sp2}}}}}</td></tr>| No errata for {{{sp2}}} ([[:Category:Errata-{{{sp2}}}|Create]])</td></tr>}}}}|}}{{#if:{{{sp3|}}}|<tr><td colspan=100%><b>{{{sp3}}}:</b> {{Category:{{{sp3}}}}}</td></tr>{{#if:{{{sp3box|}}}||<tr><td colspan=100%>{{#ifExist:[[Category:Errata-{{{sp3}}}]]|{{Category:Errata-{{{sp3}}}}}</td></tr>| No errata for {{{sp3}}} ([[:Category:Errata-{{{sp3}}}|Create]])</td></tr>}}}}|}}{{#if:{{{sp4|}}}|<tr><td colspan=100%><b>{{{sp4}}}:</b>{{Category:{{{sp4}}}}}</td></tr>{{#if:{{{sp4box|}}}||<tr><td colspan=100%>{{#ifExist:[[Category:Errata-{{{sp4}}}]]|{{Category:Errata-{{{sp4}}}}}</td></tr>| No errata for {{{sp4}}} ([[:Category:Errata-{{{sp4}}}|Create]])</td></tr>}}}}|}}{{#if:{{{sp5|}}}|<tr><td colspan=100%><b>{{{sp5}}}:</b> {{Category:{{{sp5}}}}}</td></tr>{{#if:{{{sp5box|}}}||<tr><td colspan=100%>{{#ifExist:[[Category:Errata-{{{sp5}}}]]|{{Category:Errata-{{{sp5}}}}}</td></tr>| No errata for {{{sp5}}} ([[:Category:Errata-{{{sp5}}}|Create]])</td></tr>}}}}|}}{{#if:{{{sp6|}}}|<tr><td colspan=100%><b>{{{sp6}}}:</b> {{Category:{{{sp6}}}}}</td></tr>{{#if:{{{sp6box|}}}||<tr><td colspan=100%>{{#ifExist:[[Category:Errata-{{{sp6}}}]]|{{Category:Errata-{{{sp6}}}}}</td></tr>| No errata for {{{sp6}}} ([[:Category:Errata-{{{sp6}}}|Create]])</td></tr>}}}}|}}</table>
| |
| </td></tr></includeonly>
| |