Template:PokémoncardInfobox: Difference between revisions

m
This is why it's easier to build new templates than add stuff to old ones.
mNo edit summary
m (This is why it's easier to build new templates than add stuff to old ones.)
Line 1: Line 1:
{| style="float:right; {{#switch: {{{doodle|no}}}|yeah=font-family:Comic Sans MS;}} background: #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}; width: 33%; max-width: 33%; {{roundy|10px}} margin-left: 5px; margin-bottom: 5px; border: {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|ex|Rocketex|Shiny|Crystal|Prime|EX|Legend=8|4}}px solid #{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Dark=222222|Light=FFFF99|ex|EX|Prime={{#switch: {{{type|Colorless}}}|Colorless|Grass|Water|Lightning=D0D070|DDDDDD}}|Shiny|Crystal|Legend=FFD700|Plasma|PlasmaEX=014087|{{tcg {{{type|colorless}}} color dark}}}};"
{| style="float:right; {{#switch: {{{doodle|no}}}|yeah=font-family:Comic Sans MS;}} background: #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}; width: 33%; max-width: 33%; {{roundy|10px}} margin-left: 5px; margin-bottom: 5px; border: {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|ex|Rocketex|Shiny|Crystal|Prime|EX|Legend=8|4}}px solid #{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Dark=222222|Light=FFFF99|ex|EX|Prime={{#switch: {{{type|Colorless}}}|Colorless=D0D070|DDDDDD}}|Shiny|Crystal|Legend=FFD700|Plasma|PlasmaEX=014087|{{tcg {{{type|colorless}}} color dark}}}};"
|-
|-
| style="text-align:center;" |  
| style="text-align:center;" |  
{| style="margin:auto; background: #{{tcg {{{type2|{{{type|colorless}}}}}} color {{#if: {{{type2|}}}||{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}}}; width: 100%; {{roundy|1em}}"
{| style="margin:auto; background: #{{tcg {{{type2|{{{type|colorless}}}}}} color {{#if: {{{type2|}}}||{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}}}; width: 100%; {{roundy|1em}}"
| {{#switch: {{{class|None}}}|Prime=style="color: #{{#switch: {{{type|Colorless}}}|Colorless|Grass|Lightning|Water={{heartgold color}}|{{soulsilver color}}}}"|Legend=style="color: #{{heartgold color}}; text-shadow: #{{soulsilver color}} 0px 1px 1px;"|EX=style="color: #{{#switch:{{{type|Colorless}}}|Darkness=FFF|000}};"|{{#ifeq: {{{type2|{{{type|colorless}}}}}}|Darkness|style="color: #FFFFFF"}}}} | {{#switch: {{{class|None}}}|Mega|MegaEX=[[Image:Pokémon SP M.png|Mega]]}} <big><big>'''{{{cardname|Bulbasaur}}}'''</big></big> {{#if: {{{forme|}}}|<small>[{{{forme|}}}]</small>}}{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Legend=[[File:Pokémon LEGEND.png|LEGEND]]|EX|PlasmaEX|MegaEX=[[File:Pokémon EX.png|x18px|EX]]|Galactic=[[Image:Pokémon SP G.png|Galactic]]|Leader=[[Image:Pokémon SP GL.png|Gym Leader]]|Elite=[[Image:Pokémon SP 4.png|Elite 4]]|Champion=[[Image:Pokémon SP C.png|Champion]]|Brain=[[Image:Pokémon SP FB.png|Frontier Brain]]|Movie=[[Image:Pokémon SP M.png|Movie]]}} '''{{#switch: {{{level|}}}|δ=<small>δ Delta Species</small>|ex=''<big><big>ex</big></big>''|exδ=''<big><big>ex</big></big>'' <small>δ Delta Species</small>|X=<small>LV.</small>''<big>X</big>''|star={{star}}|starδ={{star}} <small>δ Delta Species</small>|{{#if: {{{level|}}}|<small>LV.</small>{{{level|0}}}|&nbsp;}}}}'''<br><span lang="ja">'''{{{jname|フシギダネ}}}'''</span> ''{{{jtrans|Fushigidane}}}''
| {{#switch: {{{class|None}}}|Legend=style="color: #{{heartgold color}}; text-shadow: #{{soulsilver color}} 0px 1px 1px;"|Prime|EX=style="color: #{{#switch:{{{type|Colorless}}}|Darkness=FFF|000}};"|{{#ifeq: {{{type2|{{{type|colorless}}}}}}|Darkness|style="color: #FFFFFF"}}}} | {{#switch: {{{class|None}}}|Mega|MegaEX=[[Image:Pokémon SP M.png|Mega]]}} <big><big>'''{{{cardname|Bulbasaur}}}'''</big></big> {{#if: {{{forme|}}}|<small>[{{{forme|}}}]</small>}}{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Legend=[[File:Pokémon LEGEND.png|LEGEND]]|EX|PlasmaEX|MegaEX=[[File:Pokémon EX.png|x18px|EX]]|Galactic=[[Image:Pokémon SP G.png|Galactic]]|Leader=[[Image:Pokémon SP GL.png|Gym Leader]]|Elite=[[Image:Pokémon SP 4.png|Elite 4]]|Champion=[[Image:Pokémon SP C.png|Champion]]|Brain=[[Image:Pokémon SP FB.png|Frontier Brain]]|Movie=[[Image:Pokémon SP M.png|Movie]]}} '''{{#switch: {{{level|}}}|δ=<small>δ Delta Species</small>|ex=''<big><big>ex</big></big>''|exδ=''<big><big>ex</big></big>'' <small>δ Delta Species</small>|X=<small>LV.</small>''<big>X</big>''|star={{star}}|starδ={{star}} <small>δ Delta Species</small>|{{#if: {{{level|}}}|<small>LV.</small>{{{level|0}}}|&nbsp;}}}}'''<br><span lang="ja">'''{{{jname|フシギダネ}}}'''</span> ''{{{jtrans|Fushigidane}}}''
|
|
{| width="130px" style="{{#switch: {{{class|}}}|Plasma|PlasmaEX=|display:none;}} background:#014087; border: 2px solid #33609c; color:#FFFFFF; {{roundy|20px}}; text-align:center"
{| width="130px" style="{{#switch: {{{class|}}}|Plasma|PlasmaEX=|display:none;}} background:#014087; border: 2px solid #33609c; color:#FFFFFF; {{roundy|20px}}; text-align:center"
Line 23: Line 23:
{| width="100%" style="background: #{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=888888|FFFFFF}}; border-collapse:collapse;"
{| width="100%" style="background: #{{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=888888|FFFFFF}}; border-collapse:collapse;"
! style="text-align:right; border-bottom:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}; border-right:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}};" width="100px" | Evolution&nbsp;stage
! style="text-align:right; border-bottom:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}; border-right:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}};" width="100px" | Evolution&nbsp;stage
| style="border-bottom:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}};" | {{Template:PokémoncardInfobox/{{#switch: {{{evostage|Basic}}}|Baby=Evobaby|Babyspecial=Evobabyspecial|Basic=Evobasic|Basicspecial=Evobasicspecial|Stage 1=Evostage1|Stage 2=Evostage2|LV.X=EvoX|EX=EvoEX|MegaEX=megaEX|Legend=EvoLegend|Legend2=EvoLegendSpecial|Restored=Evorestored}}|{{{evoicon|001}}}|{{{evospecies|Bulbasaur}}}|{{{evoname|Bulbasaur}}}|{{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|{{{retro|no}}}|{{{forme|}}}|{{{evoicon2|001}}}|{{{evospecies2|Bulbasaur}}}|{{{evoicon3|001}}}|{{{evospecies3|Bulbasaur}}}}}
| style="border-bottom:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}};" | {{Template:PokémoncardInfobox/{{#switch: {{{evostage|Basic}}}|Baby=Evobaby|Babyspecial=Evobabyspecial|Basic=Evobasic|Basicspecial=Evobasicspecial|Stage 1=Evostage1|Stage 2=Evostage2|LV.X=EvoX|EX=EvoEX|MegaEX=EvomegaEX|Legend=EvoLegend|Legend2=EvoLegendSpecial|Restored=Evorestored}}|{{{evoicon|001}}}|{{{evospecies|Bulbasaur}}}|{{{evoname|Bulbasaur}}}|{{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|{{{retro|no}}}|{{{forme|}}}|{{{evoicon2|001}}}|{{{evospecies2|Bulbasaur}}}|{{{evoicon3|001}}}|{{{evospecies3|Bulbasaur}}}}}
|-
|-
! style="text-align:right; border-bottom:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}; border-right:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}};" | Card name
! style="text-align:right; border-bottom:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}}; border-right:1px solid #{{tcg {{{type|colorless}}} color {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Plasma|PlasmaEX|Dark=dark|Light=light}}}};" | Card name
16,071

edits