Difference between revisions of "Template:Pokémon Infobox"
Jump to navigation
Jump to search
(Adding automatic categories with ifexpr.) |
|||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
{| style="float:right; width:33%; border: 2px solid #000000; padding: 3px; max-width:300px;" | {| style="float:right; width:33%; border: 2px solid #000000; padding: 3px; max-width:300px;" | ||
|- | |- | ||
Line 33: | Line 34: | ||
|} | |} | ||
+ | </includeonly> | ||
<!--Categories--> | <!--Categories--> | ||
+ | [[Category:Pokémon]] | ||
{{#ifexpr:{{{number|}}} <= 151|[[Category:Kanto Pokémon]]}} | {{#ifexpr:{{{number|}}} <= 151|[[Category:Kanto Pokémon]]}} | ||
{{#ifexpr:{{{number|}}} >= 152|{{#ifexpr:{{{number|}}} <= 251|[[Category:Johto Pokémon]]}}}} | {{#ifexpr:{{{number|}}} >= 152|{{#ifexpr:{{{number|}}} <= 251|[[Category:Johto Pokémon]]}}}} | ||
{{#ifexpr:{{{number|}}} >= 252|{{#ifexpr:{{{number|}}} <= 386|[[Category:Hoenn Pokémon]]}}}} | {{#ifexpr:{{{number|}}} >= 252|{{#ifexpr:{{{number|}}} <= 386|[[Category:Hoenn Pokémon]]}}}} |
Revision as of 21:28, 20 May 2019
Expression error: Unexpected <= operator. Expression error: Unexpected >= operator. Expression error: Unexpected >= operator.