Template:Cardtext/TM: Difference between revisions

m
no edit summary
(Looks like it should work for all cases.)
 
mNo edit summary
Line 6: Line 6:
| style="{{roundy|40px}} background:#{{tcg {{{type|colorless}}} color}}; border: 2px solid #{{tcg {{{type|colorless}}} color dark}};" | [[File:{{{type|colorless}}}-attack.png|35px|link={{{type|colorless}}} (TCG)]]
| style="{{roundy|40px}} background:#{{tcg {{{type|colorless}}} color}}; border: 2px solid #{{tcg {{{type|colorless}}} color dark}};" | [[File:{{{type|colorless}}}-attack.png|35px|link={{{type|colorless}}} (TCG)]]
|}
|}
| class="roundy" style="text-align:left; background: #{{tcg {{{type|colorless}}} color {{#switch: {{{class|}}}|Rocket|Aqua|Magma|Galactic=dark}}}}; color:#{{#ifeq: {{lc:{{{type|colorless}}}}}|darkness|FFF|000}}; line-height:12px; padding-left:3px;" | <small>Attach this card to 1 of your {{{compatibility|Pokémon}}}. That Pokémon may use this card's attack instead of its own. {{{discard|At the end of your turn, discard {{{name|this Technical Machine}}}}}}.</small>
| class="roundy" style="text-align:left; background: #{{tcg {{{type|colorless}}} color {{#switch: {{{class|}}}|Rocket|Aqua|Magma|Galactic=dark}}}}; color:#{{#ifeq: {{lc:{{{type|colorless}}}}}|darkness|FFF|000}}; line-height:12px; padding-left:3px;" | <small>Attach this card to 1 of your {{{compatibility|Pokémon}}}. That Pokémon may use this card's attack instead of its own. {{{discard|At the end of your turn, discard {{{name|this Technical Machine}}}.}}}</small>
|}
|}