Differenze tra le versioni di "Template:PokémoncardInfobox"

m
Restyling infobox: mobile friendly + revisione sintassi + bugfix sul bordo tabella.
m (Annullate le modifiche di Franky7 (discussione), riportata alla versione precedente di CiaobyDany)
m (Restyling infobox: mobile friendly + revisione sintassi + bugfix sul bordo tabella.)
{| class="roundy pull-right" style="float:right; {{#switch: {{{doodle|no}}}|yeah=font-family:Comic Sans MS;}} background: #{{#invoke: colore | {{{type|incolore}}} gcc | {{#invokeswitch: PokémoncardInfobox | background | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=normale|Light=light|light}}}}; width: 33%; max-width: 33%; margin-left: 5px; margin-bottom: 5px; border: 5px solid #{{#invokeswitch: PokémoncardInfobox | border | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|Galactic|Galassia|Dark=222222|Light=FFFF99|ex|EX|MegaEX|AquaEX|MagmaEX|Prime={{#switch: {{{type|incolore}}}|incolore|Incolore=D0D070|DDDDDD}}|Shiny|Crystal|Legend|Leggenda=FFD700|Plasma|PlasmaEX=014087|{{#if: {{{type2|}}}|{{#invoke: colore | {{{type2|}}} gcc}}|{{#invoke: colore | {{{type|incolore}}} gcc | dark}}}}}}; {{#switch: {{{type2|{{{type|Incolore}}}}}}|Oscurità|oscurità=color: #fff;}}"
|-
| colspan="2" class="text-center {{#if: {{{type2|}}} | roundy}}" {{#switch: {{{class|}}}|Legend|Leggenda|Leggenda=style="color: #{{#invoke: colore | heartgold}}; text-shadow: #{{#invoke: colore | soulsilver}} 0px 1px 1px;"}} {{#if: {{{type2|}}} | style="background: #{{#invoke: colore | {{{type2|acqua}}} gcc}};"}} | <div style="display:inline-block">{{#switch: {{{class|}}}|MegaEX={{mega}}}}<span class="big-text"><span class="big-text">'''{{{cardname|Bulbasaur}}}'''</span></span> {{#if: {{{forme|}}}|<span class="text-small">[{{{forme|}}}]</span>}}{{#invoke: PokémoncardInfobox | nameImage | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}}}{{#switch: {{{class|}}} | Plasma | PlasmaEX = <div class="roundy" style="display:inline-block; background: #014087; border: 2px solid #33609c; color:#FFFFFF; text-align:center">&nbsp;'''''Team Plasma'''''&nbsp;</div>}}<br><span lang="ja">'''{{{jname|フシギダネ}}}'''</span> ''{{{jtrans|Fushigidane}}}''</div><div style="width: 30px; height:30px; display:inline-block; background: #{{#invoke: colore | {{{type|incolore}}} gcc | {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}}; {{roundy|30px}}">{{e|{{{type|Incolore}}}|25}}</div>{{#if: {{{type2|}}} | <div style="width:30px; height: 30px; display:inline-block; background: #{{#invoke: colore | {{{type2|incolore}}} gcc | light}}; {{roundy|30px}}">{{e|{{{type2|Incolore}}}|25}}</div>}}
|-
| style="text-align:center;" |
{| style="margin:auto; background: #{{colore {{{type2|{{{type|incolore}}}}}} gcc {{#if: {{{type2|}}}||{{#invoke: PokémoncardInfobox | background | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}}}}}}}; width: 100%; {{roundy|1em}}"
| style="color: #{{#invoke: PokémoncardInfobox | color | {{{class|None}}} | {{{type|incolore}}} | {{{type2|{{{type|incolore}}}}}}}} | {{#switch: {{{class|}}}|MegaEX={{mega}}}}<big><big>'''{{{cardname|Bulbasaur}}}'''</big></big> {{#if: {{{forme|}}}|<small>[{{{forme|}}}]</small>}}{{#invoke: PokémoncardInfobox | nameImage | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}}}'''{{#invoke: PokémoncardInfobox | title | {{star}} | {{{level|}}}}}'''<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"
| <big><sc>'''''Team Plasma'''''</sc></big>
|}
| {{#if: {{{type2|}}}|width="50px"}} | {{e|{{{type|Incolore}}}|25}}{{#if: {{{type2|}}}|{{e|{{{type2|Incolore}}}|25}}}}
|-
| colspan="3" class="roundy text-center pull-center" style="background: #FFFFFFfff; width: 200px; {{roundy|1em}} {{#switch: {{{retro|no}}}|Yes|yes=border: 4px solid #FFD700;}}" | {{#if: {{{image|}}}| |Si prega di caricare un'immagine di questa carta.<includeonly>[[categoria:Carte Pokémon che necessitano di immagini]]</includeonly>}}<span style="{{#if: {{{image|}}}| |display: none}}">[[file:{{{reprint{{#include: PokémoncardInfobox | random | 0 | 15}}|{{{image|}}}}}}|180px]]</span><br><span class="text-small">''{{{recaption{{#invoke: PokémoncardInfobox | random | 0 | 15}}|{{{caption|Questa carta non è stata caricata.}}}}}}''</smallspan>
|}
|-
|}
| style="text-align:center;" |
{| style="margin:auto; background: #{{colore {{{type2|{{{type|incolore}}}}}} gcc {{#if: {{{type2|}}}||{{#invoke: PokémoncardInfobox | background | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}}}}}}}; width: 100%; {{roundy|1em}}"
|
| style="background: #FFFFFF; width: 200px; {{roundy|1em}} {{#switch: {{{retro|no}}}|Yes|yes=border: 4px solid #FFD700;}}" | {{#if: {{{image|}}}| |Si prega di caricare un'immagine di questa carta.<includeonly>[[categoria:Carte Pokémon che necessitano di immagini]]</includeonly>}}<span style="{{#if: {{{image|}}}| |display: none}}">[[file:{{{reprint{{#include: PokémoncardInfobox | random | 0 | 15}}|{{{image|}}}}}}|180px]]</span><br><small>''{{{recaption{{#invoke: PokémoncardInfobox | random | 0 | 15}}|{{{caption|Questa carta non è stata caricata.}}}}}}''</small>
|
|-
! class="roundytl text-right" style="text-align:right; background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#ifswitch: {{{type2class|}}}|normale|light}}}}; {{#switchifeq: {{{type2level|0}}}|Oscuritàex|oscuritàex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=color: #fffdark|Light=light|normale}}}};" | Stadio&nbsp;evolutivo
|}
|-
|
{| class="roundy" width="100%" align="center" style="border:1px solid #{{colore {{{type|incolore}}} gcc {{#invoke: PokémoncardInfobox | background | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}}}}}" cellspacing="1" cellpadding="2"
! class="roundytl" style="text-align:right; background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#if: {{{type2|}}}|normale|light}}}}; {{#switch: {{{type2|}}}|Oscurità|oscurità=color: #fff}}" | Stadio&nbsp;evolutivo
| {{#if: {{{type2|}}}|{{Template:PokémoncardInfobox/{{#invoke: PokémoncardInfobox | evostage | {{{evostage|Base}}}}}|{{{evoicon|001}}}|{{{evospecies|Bulbasaur}}}|{{{evoname|Bulbasaur}}}|{{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|{{{retro|no}}}|{{{forme|}}}|{{{evoicon2|}}}|{{{evospecies2|}}}|{{{evoicon3|}}}|{{{evospecies3|}}}||{{{type2}}}}}|{{Template:PokémoncardInfobox/{{#invoke: PokémoncardInfobox | evostage | {{{evostage|Base}}}}}|{{{evoicon|001}}}|{{{evospecies|Bulbasaur}}}|{{{evoname|Bulbasaur}}}|{{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|{{{retro|no}}}|{{{forme|}}}|{{{evoicon2|}}}|{{{evospecies2|}}}|{{{evoicon3|}}}|{{{evospecies3|}}}|{{{type|incolore}}}}}}}
|-
! styleclass="text-align:right;" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#ifswitch: {{{type2class|}}}|normale|light}}}}; {{#switchifeq: {{{type2level|0}}}|Oscuritàex|oscuritàex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=color: #fffdark|Light=light|normale}}}}" | Nome della carta
| colspan="2" styleclass="text-align:left;" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#ifswitch: {{{type2class|}}}|normale|light}}}}; {{#switchifeq: {{{type2level|0}}}|Oscuritàex|oscuritàex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=color: #fffdark|Light=light|normale}}}}" | [[{{{species{{#invoke: PokémoncardInfobox | random | 2 | 3}}|{{{species|Bulbasaur}}}}}} (GCC)#{{#invoke: PokémoncardInfobox | anchor | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}} | {{{level|}}} | {{{class|None}}} | {{{cardname|Bulbasaur}}}}}]] {{#invoke: PokémoncardInfobox | cardNameImage | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}}}{{#switch: {{{level|}}}|star|starδ={{star}}}}
|}-
! class="text-right" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}};" | {{colore2|{{#switch: {{{type2|{{{type|}}}}}}|Oscurità|oscurità=fff|000}}|Tipo (GCC)|Tip{{#if: {{{type2|}}}|i|o}}}}
| colspan="2" class="text-left" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}};" | {{GCC|{{{type|Incolore}}}}}{{#if: {{{type2|}}}|/{{GCC|{{{type2|Incolore}}}}}}}
| -
! class="roundybl text-right" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}};" | Punti Vita
| colspan="2" class="roundybr text-left" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}};" | {{{hp|10}}}
| -
|}
| -
! class="roundytl text-right" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}};" | Debolezz{{#if: {{{weakness2|}}} | e | a}}
| colspan="2" class="roundytr {{#ifeq: {{{weakness|Nessuna}}} | Nessuna | text-left | text-center}}" style="background: #{{#invoke: colore | {{#if: {{{weakness2|}}} | {{{type2|{{{type|incolore}}}}}} | {{#ifeq: {{{weakness|Nessuna}}} | Nessuna | {{{type2|{{{type|incolore}}}}}} | {{{weakness|incolore}}}}}}}_gcc | {{#ifeq: {{{weakness|Nessuna}}} | Nessuna | {{#switch: {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}} | normale}}}}; color: #{{#ifeq: {{{weakness|Nessuna}}} | Nessuna | {{#switch: {{{type2|{{{type|Incolore}}}}}}|Oscurità|oscurità=fff}} | {{#switch: {{{weakness|}}}|Oscurità|oscurità=fff|000}}}};" | {{#ifeq: {{{weakness|Nessuna}}} | Nessuna | Nessuna | {{e|{{{weakness|Incolore}}}}}{{{wmultiplier|}}}{{#if: {{{weakness2|}}} | {{e|{{{weakness2|Incolore}}}}}}}{{{wmultiplier2|}}}}}
|-
! styleclass="text-align:right;" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#ifswitch: {{{type2|}}}|normale|light}}}}" | {{colore2class|{{#switchifeq: {{{type2level|0}}}|Oscuritàex|oscurità=fffex|000None}}}}}|Tipo (GCC)Rocket|TipRocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}}; {{#ifswitch: {{{type2|}}}|iOscurità|o}}oscurità=color: #fff}}" | Resistenza
| colspan="2" styleclass="{{#ifeq: {{{resistance|Nessuna}}} | Nessuna | text-align:left; | text-center}}" style="background: #{{#invoke: colore | {{#if: {{{resistance2|}}} | {{{type2|{{{type|incolore}}}}}}_gcc | {{#ififeq: {{{resistance|Nessuna}}} | Nessuna | {{{type2|{{{type|incolore}}}}}} |normale {{{resistance|lightincolore}}}};}}}_gcc | {{#ifeq: {{{resistance|Nessuna}}} | Nessuna | {{#switch: {{{type2class|{{#ifeq: {{{level|0}}}|Oscuritàex|oscuritàex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}} | normale}}}}; color: #fff{{#ifeq: {{{resistance|Nessuna}}}" | Nessuna | {{GCC#switch: {{{type2|{{{type|Incolore}}}}}}|Oscurità|oscurità=fff}} | {{#ifswitch: {{{type2resistance|}}}|/Oscurità|oscurità=fff|000}}}};" | {{GCC#ifeq: {{{resistance|Nessuna}}} | Nessuna | Nessuna | {{e|{type2{{resistance|Incolore}}}}}{{{rmultiplier|}}}}}
|-
! class="roundybl text-right" style="text-align:right; background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#ifswitch: {{{type2class|{{#ifeq: {{{level|0}}}|normaleex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}}; {{#switch: {{{type2|}}}|Oscurità|oscurità=color: #fff}}" | PuntiCosto di Vitaritirata
| colspan="2" class="roundybr" style="{{#ifeq: {{{retreatcost|Nessuna}}} | Nessuna | text-align:left; | text-center}}" style="background: #{{#invoke: colore | {{{type2|{{{type|incolore}}}}}}_gcc | {{#ifswitch: {{{type2class|{{#ifeq: {{{level|0}}}|normaleex|ex|None}}}}}|Rocket|Rocketex|Aqua|Magma|AquaEX|MagmaEX|Galactic|Galassia|Plasma|PlasmaEX|Dark=dark|Light=light|normale}}}}; {{#switch: {{{type2|}}}|Oscurità|oscurità=color: #fff}}" | {{#switch: {hp{{retreatcost|10Nessuna}}} |Nessuna|0=Nessuna|1={{e}}|2={{e}}{{e}}|3={{e}}{{e}}{{e}}|4={{e}}{{e}}<br>{{e}}{{e}}|5={{e}}{{e}}{{e}}<br>{{e}}{{e}}|6={{e}}{{e}}{{e}}<br>{{e}}{{e}}{{e}}|7={{e}}{{e}}{{e}}{{e}}<br>{{e}}{{e}}{{e}}|8={{e}}{{e}}{{e}}{{e}}<br>{{e}}{{e}}{{e}}{{e}}}}<noinclude>
|}
{| class="roundy" width="100%" align="center" cellspacing="1" cellpadding="2"
! colspan="2" style="background: #{{colore {{{type|incolore}}} gcc {{#invoke: PokémoncardInfobox | background | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}}}}}}" |
{{Template:PokémoncardInfobox/WRR2|{{{type|incolore}}}|{{{weakness|Nessuna}}}|{{{wmultiplier|×2}}}|{{{resistance|Nessuna}}}|{{{rmultiplier|-30}}}|{{{retreatcost|0}}}|{{{weakness2|Nessuna}}}|{{{wmultiplier2|×2}}}|{{{resistance2|Nessuna}}}|{{{rmultiplier2|-30}}}|{{{class|{{#ifeq: {{{level|0}}}|ex|ex|Nessuna}}}}}|{{{level}}}}}
|}<noinclude>
|}[[categoria:Template Infobox]]</noinclude><includeonly>[[categoria:Carte Pokémon]][[categoria:{{{species|Bulbasaur}}} (GCC)]] {{#if: {{{species2|}}}|[[categoria:{{{species2}}} (GCC)]]}} {{#if: {{{species3|}}}|[[categoria:{{{species3}}} (GCC)]]}} [[categoria:Carte Pokémon di tipo {{{type|incolore}}}]] {{#if: {{{type2|}}}|[[categoria:Carte Pokémon di tipo {{{type2|incolore}}}]] [[categoria:Carte Pokémon con doppio tipo]]}}
{{#if: {{{trainer|}}}|[[categoria:{{{trainer}}} (GCC)]]}} {{#ifeq: {{{doodle|no}}}|yeah|[[categoria:Carte disegnate a mano]]}}{{#if: {{{jname|}}}||[[categoria:Carte del GCC a cui necessita il nome della mossa giapponese]]}}{{#if: {{{jtrans|}}}||[[categoria:Carte del GCC a cui necessita la traduzione della mossa giapponese]]}}{{#invoke: PokémoncardInfobox | categories | {{{evostage|Base}}} | {{{class|{{#ifeq: {{{level|0}}}|ex|ex|None}}}}} | {{{level|}}}}}</includeonly>