Differenze tra le versioni di "Template:Dex"

7 099 byte rimossi ,  00:12, 9 gen 2017
Restyling completo, code update, eliminazione possibilità di unire due voci dex se uguali (resta ovviamente la possibilità di farlo con il parametro apposito), aggiunto parametro forme per la settima generazione.
m
(Restyling completo, code update, eliminazione possibilità di unire due voci dex se uguali (resta ovviamente la possibilità di farlo con il parametro apposito), aggiunto parametro forme per la settima generazione.)
<div class="text-center pull-center" style="width: -xl-60%; width-lg-75 width-md-100"><div class="roundy inline-block" style="border{{#invoke: 0.5excss solid| horizGrad | #{{#invoke:{tipo|sconosciuto}}} | colorenormale | {{{tipo2|{{{tipo|sconosciuto}}}}}} | dark}}; background: #{{#invokeif: colore | {{{tipotipo2|sconosciuto}}} | normale | light}}}}; padding: 0.25em1ex;">{{#ifeq: {{{gen|2}}} | 1 | |
{{#ifeq: {{{gen|2}}} | 1 | | <div class="roundy" style="backgroundfont-weight: #{{#invoke: colore | {{{tipo|sconosciuto}}} | light}}bold; borderpadding-bottom: 0.3ex solid #5ex;">'''Quest{{#invokeifeq: colore | {{{tipo2forma|{{{tipo|sconosciuto}}}}}} | {{#ifeq:yes {{{tipo2|{{{tipo|sconosciuto}}}}}} |a {{{tipo|sconosciuto}}}forma | darko | normalePokémon}}}}; font-weight: bold; margin-bottom: 0.25em;">'''Questo Pokémon non esisteva prima della {{colore2|000|{{#switch: {{{gen|2}}} | 7 = settima | 6 = sesta | 5 = quinta | 4 = quarta | 3 = terza | 2 = seconda | prima}} generazione}}.'''</div>}}{{#ifexpr: {{{gen|1}}} > 1 | |<!--GEN I-->
{{{!}} class="roundy width-xl-100" style="width: 100%; background-color: #{{#invoke: colorecss | kanto}};horizGrad border:| 0.5exkanto solid| #{{#invoke: colorelight | kanto | dark}}; margin-bottom: 0.25em;" cellspacing="border-spacing: 0.4ex 0.6ex; padding: 0 0.2ex;"
! class="roundy" rowspan="43" style="width: 2em; background-color: #{{#invoke: colore | kanto | light}}1.5em;" {{!}} {{colore2|{{#invoke: colore | kanto | dark}}|Prima generazione|I}}
! class="roundy-15" style="width: 5em; {{#invoke: css | vertGrad | rosso | normale | blu | normale}}" {{!}} <div style="height: 50%;">{{colore2|{{#invoke: colore | background}}|Pokémon Rosso e Blu|Rosso}}</div>
{{!}} style="width: 0.3ex;" rowspan="4" {{!}}
! class="roundytop"<div style="widthheight: 5em50%; border: 0.2ex solid #">{{#invoke: colore colore2| rosso | dark}}; background: #{{#invoke: colore | rossobackground}};" {{!}} {{colore2|000|Pokémon Rosso e Blu|RossoBlu}}</div>
{{!}} class="roundy-15 text-left" style="widthpadding: 0.3ex;" rowspan="4background: white;" {{!}} {{{rossobludex|Voce Pokédex non presente.}}}
{{!}} class="roundy text-left" rowspan="2" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | kanto | dark}};" {{!}} {{{rossobludex|Voce Pokédex non presente.}}}
{{!}}-
! class="roundybottomroundy-15" style="border: 0.2ex solid #{{#invoke: colorecss | bluhorizGrad | dark}};giallo background:| #{{#invoke:light | coloregiallo | bludark}};" {{!}} {{colore2|{{#invoke: colore | background}}000|Pokémon Rosso e BluGiallo|BluGiallo}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{giallodex|Voce Pokédex non presente.}}}
{{!}}-
{{!}} style="line-hieght: 0.5ex;" {{!}}
{{!}}-
! class="roundy" style="border: 0.2ex solid #{{#invoke: colore | giallo | dark}}; background: #{{#invoke: colore | giallo}};" {{!}} {{colore2|000|Pokémon Giallo|Giallo}}
{{!}} class="roundy text-left" rowspan="2" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | kanto | dark}};" {{!}} {{{giallodex|Voce Pokédex non presente.}}}
{{!}}}
}}{{#ifexpr: {{{gen|1}}} > 2 | |<!--GEN II-->
{{{!}} class="roundy width-xl-100" style="width: 100%; background-color: #{{#invoke: colorecss | johto}};horizGrad border:| 0.5exjohto solid| #{{#invoke: colorelight | johto | dark}}; margin-bottom: 0.25em;" cellspacing="border-spacing: 0.4ex 0.6ex; padding: 0 0.2ex;"
! class="roundy" rowspan="53" style="width: 2em; background-color: #{{#invoke: colore | johto | light}}1.5em;" {{!}} {{colore2|{{#invoke: colore | johto | dark}}|Seconda generazione|II}}
! class="roundy-15" style="width: 5em; {{#invoke: css | horizGrad | oro | light | oro | dark}}" {{!}} {{colore2|000|Pokémon Oro e Argento|Oro}}
{{!}} style="width: 0.3ex;" rowspan="5" {{!}}
{{!}} class="roundy-15 text-left" style="width: 5em; borderpadding: 0.2ex solid #{{#invoke: colore | oro | dark}}3ex; background: #{{#invoke: colore | oro}}white;" {{!}} {{colore2{orodex|000|PokémonVoce OroPokédex enon Argento|Oropresente.}}}
{{!}} style="width: 0.3ex;" rowspan="5" {{!}}
{{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | johto | dark}};" {{!}} {{{orodex|Voce Pokédex non presente.}}}
{{!}}-
! class="roundy-15" style="{{#invoke: css | horizGrad | argento | light | argento | dark}}" {{!}} {{colore2|000|Pokémon Oro e Argento|Argento}}
{{!}} style="line-hieght: 0.5ex;" {{!}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{argentodex|Voce Pokédex non presente.}}}
{{!}}-
! class="roundy-15" style="border: 0.2ex solid #{{#invoke: colorecss | argentohorizGrad | dark}};cristallo background:| #{{#invoke:light | colorecristallo | argentodark}};" {{!}} {{colore2|000|Pokémon Oro e ArgentoCristallo|ArgentoCristallo}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | johto | dark}};" {{!}} {{{argentodexcristallodex|Voce Pokédex non presente.}}}
{{!}}-
{{!}} style="line-hieght: 0.5ex;" {{!}}
{{!}}-
! class="roundy" style="border: 0.2ex solid #{{#invoke: colore | cristallo | dark}}; background: #{{#invoke: colore | cristallo}};" {{!}} {{colore2|000|Pokémon Cristallo|Cristallo}}
{{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | johto | dark}};" {{!}} {{{cristallodex|Voce Pokédex non presente.}}}
{{!}}}
}}{{#ifexpr: {{{gen|1}}} > 3 | |<!--GEN III-->
{{{!}} class="roundy width-xl-100" style="width: 100%; background-color: #{{#invoke: colorecss | hoenn}};horizGrad border:| 0.5exhoenn solid| #{{#invoke: colorelight | hoenn | dark}}; margin-bottom: 0.25em;" cellspacing="border-spacing: 0.4ex 0.6ex; padding: 0 0.2ex;"
{{!}}- style="height: 100%;"
! class="roundy" rowspan="100%" style="width: 2em; background-color: #{{#invoke: colore | hoenn | light}};" {{!}} {{colore2|{{#invoke: colore | hoenn | dark}}|Terza generazione|III}}
! rowspan="5" style="width: 1.5em;" {{!}} {{colore2|{{#invoke: colore | hoenn | dark}}|Terza generazione|III}}
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
! class="roundy-15" style="height: 100%; width: 5em; {{#if: {{{rzsdex|}}} | {{#invoke: css | vertGrad | rubino | | zaffiro | | smeraldo | }} | {{#invoke: css | {{#if: {{{rzdex|}}} | vert | horiz}}Grad | rubino | {{#if: {{{rzdex|}}} | normale | light}} | {{#if: {{{rzdex|}}} | zaffiro | rubino}} | {{#if: {{{rzdex|}}} | normale | dark}}}}}}" {{!}} {{#if: {{{rzdex|}}}{{{rzsdex|}}} | <div class="flex flex-column flex-main-space-around" style="height: 100%;">
! class="roundy{{#if: {{{rzdex|}}}{{{rzsdex|}}} | top}}{{#ifeq: {{{rubinodex|Goomybello}}} | {{{zaffirodex|Goomypawa}}} | top}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | rubino | dark}}; background: #{{#invoke: colore | rubino}};" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Rubino e Zaffiro|Rubino}}
<div>}}{{colore2|{{#invoke: colore | background}}|Pokémon Rubino e Zaffiro|Rubino}}{{#if: {{{rzdex|}}}{{{rzsdex|}}} |</div>
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
<div>{{colore2|{{#invoke: colore | background}}|Pokémon Rubino e Zaffiro|Zaffiro}}</div>{{#if: {{{rzsdex|}}} |
{{!}} class="roundy text-left" rowspan="{{#if: {{{rzdex|}}} | 2 | {{#if: {{{rzsdex|}}} | 3 | {{#ifeq: {{{rubinodex|Goomybello}}} | {{{zaffirodex|Goomypawa}}} | {{#ifeq: {{{zaffirodex|Goomybello}}} | {{{smeraldodex|Goomypawa}}} | 3 | 2}} | 1}}}}}}" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | hoenn | dark}};" {{!}} {{{rzsdex|{{{rzdex|{{{rubinodex|Voce Pokédex non presente.}}}}}}}}}
<div>{{colore2|{{#invoke: colore | background}}|Pokémon Smeraldo|Smeraldo}}</div>}}
{{!}}-
</div>}}
{{#if: {{{rzsdex|}}}{{{rzdex|}}} | | {{#ifeq: {{{rubinodex|Goomybello}}} | {{{zaffirodex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{rzsdex|{{{rzdex|{{{rubinodex|Voce Pokédex non presente.}}}}}}}}}
{{!}}-
{{!}}-{{#if: {{{rzdex|}}}{{{rzsdex|}}} | |<nowiki></nowiki>
! {{#if: {{{rzsdex|}}} | | {{#if: {{{rzdex|}}} | class="roundybottom" | {{#ifeq: {{{rubinodex|Goomybello}}} | {{{zaffirodex|Goomypawa}}} | {{#ifeq: {{{zaffirodex|Goomybello}}} | {{{smeraldodex|Goomypawa}}} | | class="roundybottom"}} | class="roundy"}}}}}} style="width: 5em; border: 0.2ex solid #{{#invoke: colore | zaffiro | dark}}; background: #{{#invoke: colore | zaffiro}};" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Rubino e Zaffiro|Zaffiro}}
! class="roundy-15" style="{{#invoke: css | horizGrad | zaffiro | light | zaffiro | dark}}" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Rubino e Zaffiro|Zaffiro}}
{{#if: {{{rzsdex|}}}{{{rzdex|}}} | | {{#ifeq: {{{rubinodex|Goomybello}}} | {{{zaffirodex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | hoenn | dark}};" {{!}} {{{zaffirodex|Voce Pokédex non presente.}}}}}}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{zaffirodex|Voce Pokédex non presente.}}}
{{!}}-
{{!}}-}}{{#if: {{{rzsdex|}}} | |<nowiki></nowiki>
{{#if: {{{rzsdex|}}} | | {{#ifeq: {{{zaffirodex|Goomybello}}} | {{{smeraldodex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
! class="roundy-15" style="{{#invoke: css | horizGrad | smeraldo | light | smeraldo | dark}}" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Smeraldo|Smeraldo}}
{{!}}-
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{smeraldodex|Voce Pokédex non presente.}}}
! class="roundy{{#if: {{{rzsdex|}}} | bottom | {{#ifeq: {{{zaffirodex|Goomybello}}} | {{{smeraldodex|Goomypawa}}} | bottom}}}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | smeraldo | dark}}; background: #{{#invoke: colore | smeraldo}};" {{!}} {{colore2|000|Pokémon Smeraldo|Smeraldo}}
{{!}}-}}
{{#if: {{{rzsdex|}}} | | {{#ifeq: {{{zaffirodex|Goomybello}}} | {{{smeraldodex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | hoenn | dark}};" {{!}} {{{smeraldodex|Voce Pokédex non presente.}}}}}}}
! class="roundy-15" style="height: 100%; {{#invoke: css | {{#if: {{{rfvfdex|}}} | vert | horiz}}Grad | rossofuoco | {{#if: {{{rfvfdex|}}} | normale | light}} | {{#if: {{{rfvfdex|}}} | verdefoglia | rossofuoco}} | {{#if: {{{rfvfdex|}}} | normale | dark}}}}" {{!}} {{#if: {{{rfvfdex|}}} | <div class="flex flex-column flex-main-space-around" style="height: 100%;">
{{!}}-
<div>}}{{colore2|000|Pokémon Rosso Fuoco e Verde Foglia|Rosso F.}}{{#if: {{{rfvfdex|}}} | </div>
{{!}} style="line-hieght: 0.5ex;" {{!}}
<div>{{colore2|000|Pokémon Rosso Fuoco e Verde Foglia|Verde F.}}</div>
{{!}}-
</div>}}
! class="roundy{{#if: {{{rfvfdex|}}} | top}}{{#ifeq: {{{rossofuocodex|Goomybello}}} | {{{verdefogliadex|Goomypawa}}} | top}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | rossofuoco | dark}}; background: #{{#invoke: colore | rossofuoco}};" {{!}} {{colore2|000|Pokémon Rosso Fuoco e Verde Foglia|Rosso F.}}
{{!}} class="roundy-15 text-left" {{#if: {{{rfvfdex|}}} | rowspan="2"}}{{#ifeq: {{{rossofuocodex|Goomybello}}} | {{{verdefogliadex|Goomypawa}}} | rowspan="2"}} style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | kanto | dark}};" {{!}} {{{rfvfdex|{{{rossofuocodex|Voce Pokédex non presente.}}}}}}
{{!}}-{{#if: {{{rfvfdex|}}} | |<nowiki></nowiki>
{{!}}-
! class="roundy-15" style="{{#invoke: css | horizGrad | verdefoglia | light | verdefoglia | dark}}" {{!}} {{colore2|000|Pokémon Rosso Fuoco e Verde Foglia|Verde F.}}
{{#if: {{{rfvfdex|}}} | | {{#ifeq: {{{rossofuocodex|Goomybello}}} | {{{verdefogliadex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{verdefogliadex|Voce Pokédex non presente.}}}}}
{{!}}-
! class="roundy{{#if: {{{rfvfdex|}}} | bottom | {{#ifeq: {{{rossofuocodex|Goomybello}}} | {{{verdefogliadex|Goomypawa}}} | bottom}}}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | verdefoglia | dark}}; background: #{{#invoke: colore | verdefoglia}};" {{!}} {{colore2|000|Pokémon Rosso Fuoco e Verde Foglia|Verde F.}}
{{#if: {{{rfvfdex|}}} | | {{#ifeq: {{{rossofuocodex|Goomybello}}} | {{{verdefogliadex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | kanto | dark}};" {{!}} {{{verdefogliadex|Voce Pokédex non presente.}}}}}}}
{{!}}}
}}{{#ifexpr: {{{gen|1}}} > 4 | |<!--GEN IV-->
{{{!}} class="roundy width-xl-100" style="width: 100%; background-color: #{{#invoke: colorecss | sinnoh}};horizGrad border:| 0.5exsinnoh solid| #{{#invoke: colorelight | sinnoh | dark}}; margin-bottom: 0.25em;" cellspacing="border-spacing: 0.4ex 0.6ex; padding: 0 0.2ex;"
{{!}}- style="height: 100%;"
! class="roundy" rowspan="100%" style="width: 2em; background-color: #{{#invoke: colore | sinnoh | light}};" {{!}} {{colore2|{{#invoke: colore | sinnoh | dark}}|Quarta generazione|IV}}
! rowspan="5" style="width: 1.5em;" {{!}} {{colore2|{{#invoke: colore | sinnoh | dark}}|Quarta generazione|IV}}
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
! class="roundy-15" style="height: 100%; width: 5em; {{#if: {{{dpptdex|}}} | {{#invoke: css | vertGrad | diamante | | perla | | platino | }}; | {{#invoke: css | {{#if: {{{dpdex|}}} | vert | horiz}}Grad | diamante | {{#if: {{{dpdex|}}} | normale | light}} | {{#if: {{{dpdex|}}} | perla | diamante}} | {{#if: {{{dpdex|}}} | normale | dark}}}}}}" {{!}} {{#if: {{{dpdex|}}}{{{dpptdex|}}} | <div class="flex flex-column flex-main-space-around" style="height: 100%;">
! class="roundy{{#if: {{{dpdex|}}}{{{dpptdex|}}} | top}}{{#ifeq: {{{diamantedex|Goomybello}}} | {{{perladex|Goomypawa}}} | top}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | diamante | dark}}; background: #{{#invoke: colore | diamante}};" {{!}} {{colore2|000|Pokémon Diamante e Perla|Diamante}}
<div>}}{{colore2|000|Pokémon Diamante e Perla|Diamante}}{{#if: {{{dpdex|}}}{{{dpptdex|}}} | </div>
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
<div>{{colore2|000|Pokémon Diamante e Perla|Perla}}</div>{{#if: {{{dpptdex|}}} |
{{!}} class="roundy text-left" rowspan="{{#if: {{{dpdex|}}} | 2 | {{#if: {{{dpptdex|}}} | 3 | {{#ifeq: {{{diamantedex|Goomybello}}} | {{{perladex|Goomypawa}}} | {{#ifeq: {{{perladex|Goomybello}}} | {{{platinodex|Goomypawa}}} | 3 | 2}} | 1}}}}}}" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | sinnoh | dark}};" {{!}} {{{dpptdex|{{{dpdex|{{{diamantedex|Voce Pokédex non presente.}}}}}}}}}
<div>{{colore2|000|Pokémon Platino|Platino}}</div>}}
{{!}}-
</div>}}
{{#if: {{{dpptdex|}}}{{{dpdex|}}} | | {{#ifeq: {{{diamantedex|Goomybello}}} | {{{perladex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{dpptdex|{{{dpdex|{{{diamantedex|Voce Pokédex non presente.}}}}}}}}}
{{!}}-
{{!}}-{{#if: {{{dpdex|}}}{{{dpptdex|}}} | |<nowiki></nowiki>
! {{#if: {{{dpptdex|}}} | | {{#if: {{{dpdex|}}} | class="roundybottom" | {{#ifeq: {{{diamantedex|Goomybello}}} | {{{perladex|Goomypawa}}} | {{#ifeq: {{{perladex|Goomybello}}} | {{{platinodex|Goomypawa}}} | | class="roundybottom"}} | class="roundy"}}}}}} style="width: 5em; border: 0.2ex solid #{{#invoke: colore | perla | dark}}; background: #{{#invoke: colore | perla}};" {{!}} {{colore2|000|Pokémon Diamante e Perla|Perla}}
{{#if: {{{dpptdex|}}}{{{dpdex|}}} | | {{#ifeq: {{{diamantedex|Goomybello}}} | {{{perladex|Goomypawa}}} | | {{!}} class="roundy text-left15" style="padding{{#invoke: 0.3ex;css background:| white;horizGrad border:| 0.2experla solid| #{{#invoke: colorelight | sinnohperla | dark}};" {{!}} {{{perladexcolore2|Voce000|Pokémon PokédexDiamante none presente.}}}}}Perla|Perla}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{perladex|Voce Pokédex non presente.}}}
{{!}}-
{{!}}-}}{{#if: {{{dpptdex|}}} | |<nowiki></nowiki>
{{#if: {{{dpptdex|}}} | | {{#ifeq: {{{perladex|Goomybello}}} | {{{platinodex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
! class="roundy-15" style="{{#invoke: css | horizGrad | platino | light | platino | dark}}" {{!}} {{colore2|000|Pokémon Platino|Platino}}
{{!}}-
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{platinodex|Voce Pokédex non presente.}}}
! class="roundy{{#if: {{{dpptdex|}}} | bottom | {{#ifeq: {{{perladex|Goomybello}}} | {{{platinodex|Goomypawa}}} | bottom}}}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | platino | dark}}; background: #{{#invoke: colore | platino}};" {{!}} {{colore2|000|Pokémon Platino|Platino}}
{{!}}-}}
{{#if: {{{dpptdex|}}} | | {{#ifeq: {{{perladex|Goomybello}}} | {{{platinodex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | sinnoh | dark}};" {{!}} {{{platinodex|Voce Pokédex non presente.}}}}}}}
! class="roundy-15" style="{{#invoke: css | {{#if: {{{hgssdex|}}} | vert | horiz}}Grad | heartgold | {{#if: {{{hgssdex|}}} | normale | light}} | {{#if: {{{hgssdex|}}} | soulsilver | heartgold}} | {{#if: {{{hgssdex|}}} | normale | dark}}}}" {{!}} {{#if: {{{hgssdex|}}} | <div class="flex flex-column flex-main-space-around" style="height: 100%;">
{{!}}-
<div>}}{{colore2|000|Pokémon Oro Heartgold e Argento Soulsilver|Heartgold}}{{#if: {{{hgssdex|}}} | </div>
{{!}} style="line-hieght: 0.5ex;" {{!}}
<div>{{colore2|000|Pokémon Oro Heartgold e Argento Soulsilver|Soulsilver}}</div>
{{!}}-
</div>}}
! class="roundy{{#if: {{{hgssdex|}}} | top}}{{#ifeq: {{{heartgolddex|Goomybello}}} | {{{soulsilverdex|Goomypawa}}} | top}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | heartgold | dark}}; background: #{{#invoke: colore | heartgold}};" {{!}} {{colore2|000|Pokémon Oro Heartgold e Argento Soulsilver|Heartgold}}
{{!}} class="roundy-15 text-left" {{#if: {{{hgssdex|}}} | rowspan="2"}}{{#ifeq: {{{heartgolddex|Goomybello}}} | {{{soulsilverdex|Goomypawa}}} | rowspan="2"}} style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | johto | dark}};" {{!}} {{{hgssdex|{{{heartgolddex|Voce Pokédex non presente.}}}}}}
{{!}}-{{#if: {{{hgssdex|}}} | |<nowiki></nowiki>
{{!}}-
! class="roundy-15" style="{{#invoke: css | horizGrad | soulsilver | light | soulsilver | dark}}" {{!}} {{colore2|000|Pokémon Oro Heartgold e Argento Soulsilver|Soulsilver}}
{{#if: {{{hgssdex|}}} | | {{#ifeq: {{{heartgolddex|Goomybello}}} | {{{soulsilverdex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{soulsilverdex|Voce Pokédex non presente.}}}}}
{{!}}-
! class="roundy{{#if: {{{hgssdex|}}} | bottom | {{#ifeq: {{{heartgolddex|Goomybello}}} | {{{soulsilverdex|Goomypawa}}} | bottom}}}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | soulsilver | dark}}; background: #{{#invoke: colore | soulsilver}};" {{!}} {{colore2|000|Pokémon Oro Heartgold e Argento Soulsilver|Soulsilver}}
{{#if: {{{hgssdex|}}} | | {{#ifeq: {{{heartgolddex|Goomybello}}} | {{{soulsilverdex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | johto | dark}};" {{!}} {{{soulsilverdex|Voce Pokédex non presente.}}}}}}}
{{!}}}
}}{{#ifexpr: {{{gen|1}}} > 5 | |<!--GEN V-->
{{{!}} class="roundy width-xl-100" style="width: 100%; background-color: #{{#invoke: colorecss | unima}};horizGrad border:| 0.5exunima solid| #{{#invoke: colorelight | unima | dark}}; margin-bottom: 0.25em;" cellspacing="border-spacing: 0.4ex 0.6ex; padding: 0 0.2ex;"
{{!}}- style="height: 100%;"
! class="roundy" rowspan="100%" style="width: 2em; background-color: #{{#invoke: colore | unima | light}};" {{!}} {{colore2|{{#invoke: colore | unima | dark}}|Quinta generazione|V}}
! rowspan="3" style="width: 1.5em;" {{!}} {{colore2|{{#invoke: colore | unima | dark}}|Quinta generazione|V}}
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
! class="roundy-15" style="height: 100%; width: 5em; {{#invoke: css | {{#if: {{{nbdex|}}}{{{nbn2b2dex|}}} | topvert | horiz}}Grad | nero | {{#ifeqif: {{{nerodexnbdex|Goomybello}}} | {{{biancodexnbn2b2dex|Goomypawa}}} | topdark | light}} | {{#ifeqif: {{{n2b2dexnbdex|Goomybello}}} | {{{biancodexnbn2b2dex|Goomypawa}}} | topbianco | nero}}}}}}" style="width:| 5em; border: 0.2ex solid #{{#invokeif: colore {{{nbdex| nero | dark}}; background: #}{{#invoke:{nbn2b2dex|}}} colore| light | nerodark}}}};" {{!}} {{colore2|{{#invokeif: colore {{{nbdex| background}}}{{{nbn2b2dex|Pokémon}}} Nero| e<div Bianco|Nero}}class="flex flex-column flex-main-space-around" style="height: 100%;">
<div>}}{{colore2|{{#invoke: colore | background}}|Pokémon Nero e Bianco|Nero}}{{#if: {{{nbdex|}}}{{{nbn2b2dex|}}} | </div>
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
<div>{{colore2|000|Pokémon Nero e Bianco|Bianco}}</div>
{{!}} class="roundy text-left" rowspan="{{#if: {{{nbn2b2dex|}}} | 4 | {{#if: {{{nbdex|}}} | {{#ifeq: {{{nbdex|Goomybello}}} | {{{n2b2dex|Goomypawa}}} | 4 | 2}} | {{#ifeq: {{{biancodex|Goomybello}}} | {{{n2b2dex|Goomypawa}}} | 4 | {{#ifeq: {{{nerodex|Goomybello}}} | {{{biancodex|Goomypawa}}} | 2 | 1}}}}}}}}" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | unima | dark}};" {{!}} {{{nbn2b2dex|{{{nbdex|{{{nerodex|Voce Pokédex non presente.}}}}}}}}}
{{!</div>}}-
{{!}} {{#if: {{{nbn2b2dex|}}} | rowspan="2"}} class="roundy text-left" style="padding: 0.3ex; background: white;" {{!}} {{{nbn2b2dex|{{{nbdex|{{{nerodex|Voce Pokédex non presente.}}}}}}}}}
{{#if: {{{nbdex|}}}{{{nbn2b2dex|}}} | | {{#ifeq: {{{nerodex|Goomybello}}} | {{{biancodex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}}-{{#if: {{{nbdex|}}}{{{nbn2b2dex|}}} | |<nowiki></nowiki>
{{!}}-
! class="roundy-15" style="{{#invoke: css | horizGrad | bianco | light | bianco | dark}});" {{!}} {{colore2|000|Pokémon Nero e Bianco|Bianco}}
! {{#if: {{{nbn2b2dex|}}} | | {{#if: {{{nbdex|}}} | {{#ifeq: {{{nbdex|Goomybello}}} | {{{n2b2dex|Goomypawa}}} | | class="roundybottom"}} | {{#ifeq: {{{nerodex|Goomybello}}} | {{{biancodex|Goomypawa}}} | {{#ifeq: {{{biancodex|Goomybello}}} | {{{n2b2dex|Goomypawa}}} | | class="roundybottom"}} | class="roundy"}}}}}} style="width: 5em; border: 0.2ex solid #{{#invoke: colore | bianco | dark}}; background: #{{#invoke: colore | bianco}};" {{!}} {{colore2|000|Pokémon Nero e Bianco|Bianco}}
{{#if: {{{nbdex|}}}{{{nbn2b2dex|}}} | | {{#ifeq: {{{nerodex|Goomybello}}} | {{{biancodex|Goomypawa}}} | | {{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | unima | dark}};" {{!}} {{{biancodex|Voce Pokédex non presente.}}}}}}}
{{!}}-}}
! class="roundy-15" style="height: 100%; {{#invoke: css | vertGrad | nero2 | dark | bianco2 | light}}" {{!}} <div class="flex flex-column flex-main-space-around" style="height: 100%;">
{{#if: {{{nbn2b2dex|}}} | | {{#ifeq: {{{nbdex|}}}{{{nerodex|}}} | {{{n2b2dex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
<div>{{colore2|{{#invoke: colore | background}}|Pokémon Nero 2 e Bianco 2|Nero 2}}</div>
{{!}}-
<div>{{colore2|000|Pokémon Nero 2 e Bianco 2|Bianco 2}}</div>
! {{#if: {{{nbn2b2dex|}}} | | {{#ifeq: {{{nbdex|}}}{{{nerodex|}}} | {{{n2b2dex|Goomypawa}}} | | class="roundytop"}}}} style="width: 5em; border: 0.2ex solid #{{#invoke: colore | nero2 | dark}}; background: #{{#invoke: colore | nero2}};" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Nero 2 e Bianco 2|Nero 2}}
</div>{{#if: {{{nbn2b2dex|}}} | |<nowiki></nowiki>
{{#if: {{{nbn2b2dex|}}} | | {{#ifeq: {{{nbdex|}}}{{{nerodex|}}} | {{{n2b2dex|Goomypawa}}} | | {{!}} rowspan="2" class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | unima | dark}};" {{!}} {{{n2b2dex|Voce Pokédex non presente.}}}}}}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{n2b2dex|Voce Pokédex non presente.}}}}}
{{!}}-
! class="roundybottom" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | bianco2 | dark}}; background: #{{#invoke: colore | bianco2}};" {{!}} {{colore2|000|Pokémon Nero 2 e Bianco 2|Bianco 2}}
{{!}}}
}}{{#ifexpr: {{{gen|1}}} > 6 | |<!--GEN VI-->
{{{!}} class="roundy width-xl-100" style="width: 100%; background-color: #{{#invoke: colorecss | kalos}};horizGrad border:| 0.5exkalos solid| #{{#invoke: colorelight | kalos | dark}}; margin-bottom: 0.25em;" cellspacing="border-spacing: 0.4ex 0.6ex; padding: 0 0.2ex;"
{{!}}- style="height: 100%;"
! class="roundy" rowspan="100%" style="width: 2em; background-color: #{{#invoke: colore | kalos | light}};" {{!}} {{colore2|{{#invoke: colore | kalos | dark}}|Sesta generazione|VI}}
! rowspan="4" style="width: 1.5em;" {{!}} {{colore2|{{#invoke: colore | kalos | dark}}|Sesta generazione|VI}}
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
! class="roundy-15" style="height: 100%; width: 5em; {{#invoke: css | {{#if: {{{xydex|}}} | topvert | horiz}}Grad | x | {{#ifeqif: {{{xdexxydex|Goomybello}}} | {{{ydex|Goomypawa}}}normale | toplight}}" style="width:| 5em; border: 0.2ex solid #{{#invokeif: colore{{{xydex|}}} | xy | darkx}}; background:| #{{#invokeif: colore{{{xydex|}}} | xnormale | dark}}}};" {{!}} {{colore2|{{#invokeif: colore {{{xydex| background}}} |Pokémon X<div eclass="flex Y|X}}flex-column flex-main-space-around" style="height: 100%;">
<div>}}{{colore2|{{#invoke: colore | background}}|Pokémon X e Y|X}}{{#if: {{{xydex|}}} | </div>
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
<div>{{colore2|{{#invoke: colore | background}}|Pokémon X e Y|Y}}</div>
{{!}} class="roundy text-left" {{#if: {{{xydex|}}} | rowspan="2"}}{{#ifeq: {{{xdex|Goomybello}}} | {{{ydex|Goomypawa}}} | rowspan="2"}} style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | kalos | dark}};" {{!}} {{{xydex|{{{xdex|Voce Pokédex non presente.}}}}}}
</div>}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{xydex|{{{xdex|Voce Pokédex non presente.}}}}}}
{{!}}-{{#if: {{{xydex|}}} | |<nowiki></nowiki>
! class="roundy-15" style="{{#invoke: css | horizGrad | y | light | y | dark}}" {{!}} {{colore2|000|Pokémon X e Y|Y}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{ydex|Voce Pokédex non presente.}}}
{{!}}-}}
! class="roundy-15" style="height: 100%; {{#invoke: css | {{#if: {{{rozadex|}}} | vert | horiz}}Grad | rubinoomega | {{#if: {{{rozadex|}}} | normale | light}} | {{#if: {{{rozadex|}}} | zaffiroalpha | rubinoomega}} | {{#if: {{{rozadex|}}} | normale | dark}}}}" {{!}} {{#if: {{{rozadex|}}} | <div class="flex flex-column flex-main-space-around" style="height: 100%;">
<div>}}{{colore2|{{#invoke: colore | background}}|Pokémon Rubino Omega e Zaffiro Alpha|Rubino Ω}}{{#if: {{{rozadex|}}} | </div>
<div>{{colore2|{{#invoke: colore | background}}|Pokémon Rubino Omega e Zaffiro Alpha|Zaffiro α}}</div>
</div>}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{rozadex|{{{rubinoomegadex|Voce Pokédex non presente.}}}}}}{{#if: {{{rozadex|}}} | |<nowiki></nowiki>
{{!}}-
! class="roundy-15" style="{{#invoke: css | horizGrad | zaffiroalpha | light | zaffiroalpha | dark}}" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Rubino Omega e Zaffiro Alpha|Zaffiro α}}
{{#if: {{{xydex|}}} | | {{#ifeq: {{{xdex|Goomybello}}} | {{{ydex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}} class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{zaffiroalphadex|Voce Pokédex non presente.}}}}}
{{!}}-
! class="roundy{{#if: {{{xydex|}}} | bottom | {{#ifeq: {{{xdex|Goomybello}}} | {{{ydex|Goomypawa}}} | bottom}}}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | y | dark}}; background: #{{#invoke: colore | y}};" {{!}} {{colore2|000|Pokémon X e Y|Y}}
{{#if: {{{xydex|}}} | | {{#ifeq: {{{xdex|Goomybello}}} | {{{ydex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | kalos | dark}};" {{!}} {{{ydex|Voce Pokédex non presente.}}}}}}}
{{!}}-
{{!}} style="line-hieght: 0.5ex;" {{!}}
{{!}}-
! class="roundy{{#if: {{{rozadex|}}} | top}}{{#ifeq: {{{rubinoomegadex|Goomybello}}} | {{{zaffiroalphadex|Goomypawa}}} | top}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | rubinoomega | dark}}; background: #{{#invoke: colore | rubinoomega}};" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Rubino Omega e Zaffiro Alpha|Rubino Ω}}
{{!}} class="roundy text-left" {{#if: {{{rozadex|}}} | rowspan="2"}}{{#ifeq: {{{rubinoomegadex|Goomybello}}} | {{{zaffiroalphadex|Goomypawa}}} | rowspan="2"}} style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | hoenn | dark}};" {{!}} {{{rozadex|{{{rubinoomegadex|Voce Pokédex non presente.}}}}}}
{{!}}-
{{#if: {{{rozadex|}}} | | {{#ifeq: {{{rubinoomegadex|Goomybello}}} | {{{zaffiroalphadex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}}-
! class="roundy{{#if: {{{rozadex|}}} | bottom | {{#ifeq: {{{rubinoomegadex|Goomybello}}} | {{{zaffiroalphadex|Goomypawa}}} | bottom}}}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | zaffiroalpha | dark}}; background: #{{#invoke: colore | zaffiroalpha}};" {{!}} {{colore2|{{#invoke: colore | background}}|Pokémon Rubino Omega e Zaffiro Alpha|Zaffiro α}}
{{#if: {{{rozadex|}}} | | {{#ifeq: {{{rubinoomegadex|Goomybello}}} | {{{zaffiroalphadex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | hoenn | dark}};" {{!}} {{{zaffiroalphadex|Voce Pokédex non presente.}}}}}}}
{{!}}}
}}<!--GEN VII-->
{| class="roundy width-xl-100" style="width: 100%; background-color: #{{#invoke: colorecss | alola}};horizGrad border:| 0.5exalola solid #{{#invoke:| colorelight | alola | dark}} border-spacing: 0.4ex 0.6ex;" cellspacing="padding: 0 0.2ex;"
|- style="height: 100%;"
! class="roundy" rowspan="100%" style="width: 2em; background-color: #{{#invoke: colore | alola | light}};" {{!}} {{colore2|{{#invoke: colore | alola | dark}}|Settima generazione|VII}}
! rowspan="2" style="width: 1.5em;" {{!}} {{colore2|{{#invoke: colore | alola | dark}}|Settima generazione|VII}}
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
! class="roundy{{#if: {{{sldex|}}} | top}}{{#ifeq: {{{soledex|Goomybello}}} | {{{lunadex|Goomypawa}}} | top}}-15" style="width: 5em; border: 0.2ex solid #{{#invoke: colorecss | horizGrad | sole | dark}};light background:| #{{#invoke: coloresole | soledark}};" {{!}}| {{colore2|000|Pokémon Sole e Luna|Sole}}
| class="roundy-15 text-left" style="padding: 0.3ex; background: white;" | {{{soledex|Voce Pokédex non presente.}}}
{{!}} style="width: 0.3ex;" rowspan="100%" {{!}}
|-
{{!}} class="roundy text-left" {{#if: {{{sldex|}}} | rowspan="2"}}{{#ifeq: {{{soledex|Goomybello}}} | {{{lunadex|Goomypawa}}} | rowspan="2"}} style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | alola | dark}};" {{!}} {{{sldex|{{{soledex|Voce Pokédex non presente.}}}}}}
! class="roundy-15" style="{{#invoke: css | horizGrad | luna | light | luna | dark}}" | {{colore2|000|Pokémon Sole e Luna|Luna}}
{{!}}-
| class="roundy-15 text-left" style="padding: 0.3ex; background: white;" {{!}} {{{lunadex|Voce Pokédex non presente.}}}
{{#if: {{{sldex|}}} | | {{#ifeq: {{{soledex|Goomybello}}} | {{{lunadex|Goomypawa}}} | | {{!}} style="line-hieght: 0.5ex;" {{!}}}}}}
{{!}}-
! class="roundy{{#if: {{{sldex|}}} | bottom | {{#ifeq: {{{soledex|Goomybello}}} | {{{lunadex|Goomypawa}}} | bottom}}}}" style="width: 5em; border: 0.2ex solid #{{#invoke: colore | luna | dark}}; background: #{{#invoke: colore | luna}};" {{!}} {{colore2|000|Pokémon Sole e Luna|Luna}}
{{#if: {{{sldex|}}} | | {{#ifeq: {{{soledex|Goomybello}}} | {{{lunadex|Goomypawa}}} | | {{!}} class="roundy text-left" style="padding: 0.3ex; background: white; border: 0.2ex solid #{{#invoke: colore | alola | dark}};" {{!}} {{{lunadex|Voce Pokédex non presente.}}}}}}}
|}
</div></div><noinclude>[[Categoria:template]]</noinclude>