Template:Cardtext/TM: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
m Maverick Nate moved page User:Kogoro/Cardtext/TM to Template:Cardtext/TM without leaving a redirect
border-radius update
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
|-
<div style="margin: 0.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; justify-content: center">
|
<div style="border-radius: 100%; background-color: #{{tcg {{{type|colorless}}} color}}; border: 2px solid #{{tcg {{{type|colorless}}} color dark}};">{{#if: {{{ndex|}}}|{{MS/HOME|{{{ndex|000}}}}}|[[File:{{{type|colorless}}}-attack.png|48px|link={{{type|Colorless}}} (TCG)]]}}</div>
{| width="100%" class="roundy" style="background:transparent; border-collapse:collapse;"
<div style="border-radius: 6px; background-color: #{{tcg {{{type|colorless}}} color {{#switch: {{{class|}}}|Rocket|Aqua|Magma|Galactic=dark}}}}; color: #000; padding: 0.5rem; min-width: 75%; flex: 1;">
| width="24px" |
<div>Attach this card to 1 of your {{{compatibility|Pokémon in play}}}. 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}}}.}}}</div></div></div><noinclude>[[Category:TCG templates]]
{| width="100%" class="roundy" style="background:transparent;"
</noinclude>
| 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>
|}<noinclude>
[[Category:TCG templates]]</noinclude>

Latest revision as of 21:05, 23 January 2025

Attach this card to 1 of your Pokémon in play. That Pokémon may use this card's attack instead of its own. At the end of your turn, discard this Technical Machine.