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

m
Sistemate le categorie un po' a cazzo (Luca devi giustificarmi molto bene quegli ifexpr annidati piuttosto di uno switch su {{{generazione}}})
(Credits @Ff300)
m (Sistemate le categorie un po' a cazzo (Luca devi giustificarmi molto bene quegli ifexpr annidati piuttosto di uno switch su {{{generazione}}}))
</div> }}
}}<!-- Categorie varie --><includeonly>[[Categoria:Pokémon|{{{ndex|}}}]]
<!-- Gen -->[[Categoria: Pokémon di {{#ifexpr: {{{ndex|999}}} < 152 | prima | {{#ifexpr: {{{ndex|999}}} < 252 | seconda | {{#ifexpr: {{{ndex|999}}} < 387 | terza | {{#ifexpr: {{{ndex|999}}} < 494 | quarta | {{#ifexpr: {{{ndex|999}}} < 650 | quinta | {{#ifexpr: {{{ndex|999}}} < 722 | sesta | {{#ifexpr: {{{ndex|999}}} < 810 | settima | {{#ifexpr: {{{ndex|999}}} < 906 | ottava | {{#ifexpr: {{{ndex|999}}} < 1011 | nona }} }} }} }} }} }} }} }} }} generazione]]
<!-- Tipi (partially TODO) -->[[Categoria:Pokémon di tipo {{#invoke: PokémonData | getType1 | {tipo1{{ndex|{{{nome}}}}}} }}|{{{ndex}}}]] [[Categoria:Pokémon di tipo {{#ifeqinvoke: PokémonData | getType2 | {{{ntipindex|1{{{nome}}}}}} | 1 | [[Categoria:Pokémon di tipo singolo}}|{{{ndex}}}]] |{{#ifeq: [[Categoria{{#invoke:Pokémon diPokémonData doppio| getType1 tipo| {{{ndex|{{{nome}}}}}}]] }} | {{#ifinvoke: PokémonData | getType2 | {{{tipo2ndex|{{{nome}}}}}} }} | [[Categoria:Pokémon di tipo singolo|{{{tipo2ndex}}}]] | [[Categoria:Pokémon di doppio tipo|{{{ndex}}}]] }} <!-- TODO from here on -->{{#if: {{{tipo3|}}} | [[Categoria:Pokémon di tipo {{{tipo3}}}|{{{ndex}}}]]}} {{#if: {{{tipo4|}}} | [[Categoria:Pokémon di tipo {{{tipo4}}}|{{{ndex}}}]]}} {{#if: {{{tipo5|}}} | [[Categoria:Pokémon di tipo {{{tipo5}}}|{{{ndex}}}]]}} {{#if: {{{tipo6|}}} | [[Categoria:Pokémon di tipo {{{tipo6}}}|{{{ndex}}}]]}} {{#if: {{{tipo7|}}} | [[Categoria:Pokémon di tipo {{{tipo7}}}|{{{ndex}}}]] }}
<!-- Esperienza -->[[Categoria:Pokémon nel gruppo di esperienza {{#switch: {{{lv100exp|Sconosciuto}}} | 600.000|600000=Irregolare | 800.000|800000=Veloce | 1.000.000|1000000=Medio-Veloce | 1.059.860|1059860=Medio-Lento | 1.250.000|1250000=Lento | 1.640.000|1640000=Fluttuante | #default=Sconosciuto }}]]
<!-- Colore -->[[Categoria:Pokémon di colore {{{colore|Sconosciuto}}}]]