Template:Cardtext/Attack: Difference between revisions

If it's ok, let's keep the namespace check to prevent pages like this to be added in the damage categories: Template talk:Cardtext/PrimalEX (since it's currently using this template a bunch of times).
m (Temporary pause on this while we work out potential issues)
(If it's ok, let's keep the namespace check to prevent pages like this to be added in the damage categories: Template talk:Cardtext/PrimalEX (since it's currently using this template a bunch of times).)
Line 10: Line 10:
{| width="100%" cellspacing="0" style="background: transparent;"
{| width="100%" cellspacing="0" style="background: transparent;"
| class="roundy" colspan="3" style="padding: 3px; background:#{{#switch: {{{class|}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark|DarkV=888|FFF}};" | {{{effect|}}}
| class="roundy" colspan="3" style="padding: 3px; background:#{{#switch: {{{class|}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark|DarkV=888|FFF}};" | {{{effect|}}}
|}{{#if:{{{damagecategory|{{{damage|}}}}}}|[[Category:Pokémon cards with attack damage {{{damagecategory|{{{damage|}}}}}}]]}}<noinclude>
|}{{#ifeq:{{NAMESPACE}}||{{#if:{{{damagecategory|{{{damage|}}}}}}|[[Category:Pokémon cards with attack damage {{{damagecategory|{{{damage|}}}}}}]]}}}}<noinclude>
[[Category:TCG templates]]</noinclude>
[[Category:TCG templates]]</noinclude>