Difference between revisions of "Template:Pokémon Infobox"

From Tilia's Wiki
Jump to navigation Jump to search
m (Changed placeholder image)
(Adding automatic categories with ifexpr.)
Line 1: Line 1:
 
 
{| 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 34: Line 33:
  
 
|}
 
|}
 +
 +
<!--Categories-->
 +
{{#ifexpr:{{{number|}}} <= 151|[[Category:Kanto Pokémon]]}}
 +
{{#ifexpr:{{{number|}}} >= 152|{{#ifexpr:{{{number|}}} <= 251|[[Category:Johto Pokémon]]}}}}
 +
{{#ifexpr:{{{number|}}} >= 252|{{#ifexpr:{{{number|}}} <= 386|[[Category:Hoenn Pokémon]]}}}}

Revision as of 21:24, 20 May 2019

Pokémon Infobox #???
000.png
Information
Rarity: Unknown
Obtaining: Unknown

Expression error: Unexpected <= operator. Expression error: Unexpected >= operator. Expression error: Unexpected >= operator.