Template:TCGTrainerText: Difference between revisions

m
seems like the best way of doing this.
m (fix for Master Ball, since the original cards we through on the page are something totally different.)
m (seems like the best way of doing this.)
Line 1: Line 1:
{{#switch: {{{position|only}}}|Top|only={{{!}} align="left" class="roundy" style="{{#switch: {{{doodle|no}}}|Yes=font-family:Comic Sans MS;}} border: 4px solid #{{#if: {{{subclass|}}}|{{#switch: {{{subclass|}}}|Ace={{TCG Item color}}|Plasma|PlasmaAce=014087|SV ACE Item|SV ACE=EC008B|Flare=D71314|Prism=000|TagTeam={{TCG Supporter color}}}}|{{#switch: {{{class|Trainer}}}|Deck List|Deck list|Deck=444444|Lose=497425|What=CD6816|Machine=000000|Stadium={{TCG Stadium color}}|Supporter={{TCG Supporter color}}|Item|Goods={{TCG Item color}}|Pokémon Tool|Tool={{TCG Pokémon Tool color}}|Pass Card|Pass card|Extra rule|Extra Rule|Special card|Special Card|Illustrator|Trainer={{TCG Trainer color}}}}}}; background: #{{#switch: {{{class|Trainer}}}|Lose=699445|What=E0DFDB|Machine=2C2E2B|CBCBCB}}; margin-right: 5px; margin-bottom: 5px; width: 40% !important"}}
{{#switch: {{{position|only}}}|Top|only={{{!}} align="left" class="roundy" style="{{#switch: {{{doodle|no}}}|Yes=font-family:Comic Sans MS;}} border: 4px solid #{{{border|{{#if: {{{subclass|}}}|{{#switch: {{{subclass|}}}|Ace={{TCG Item color}}|Plasma|PlasmaAce=014087|SV ACE=EC008B|Flare=D71314|Prism=000|TagTeam={{TCG Supporter color}}}}|{{#switch: {{{class|Trainer}}}|Deck List|Deck list|Deck=444444|Lose=497425|What=CD6816|Machine=000000|Stadium={{TCG Stadium color}}|Supporter={{TCG Supporter color}}|Item|Goods={{TCG Item color}}|Pokémon Tool|Tool={{TCG Pokémon Tool color}}|Pass Card|Pass card|Extra rule|Extra Rule|Special card|Special Card|Illustrator|Trainer={{TCG Trainer color}}}}}}}}}; background: #{{#switch: {{{class|Trainer}}}|Lose=699445|What=E0DFDB|Machine=2C2E2B|CBCBCB}}; margin-right: 5px; margin-bottom: 5px; width: 40% !important"}}
|- {{#ifeq: {{{reprint|yes}}}|no|style="display:none;"|{{#ifeq: {{{position|only}}}|only|style="display:none;"}}}}
|- {{#ifeq: {{{reprint|yes}}}|no|style="display:none;"|{{#ifeq: {{{position|only}}}|only|style="display:none;"}}}}
|
|