Super Mario Run

Be the first to know the Super Mario Run Release Date

User:Pandamonia/Templates

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

ptype1

Main article: User:Pandamonia/Template:ptype1
{{User:Pandamonia/Template:ptype1|{{{1}}}}}
where '{{{1}}}' is the Pokémon's number in the National Pokédex.

This template returns the first type of the Pokémon included. The type is returned lowercase.

ptype2

Main article: User:Pandamonia/Template:ptype2
{{User:Pandamonia/Template:ptype2|{{{1}}}}}
where '{{{1}}}' is the Pokémon's number in the National Pokédex.

This template returns the second type of the Pokémon included, if any. The type is returned lowercase. If there is no second type for that Pokémon, like Chikorita who is only a  Grass-type  Pokémon, the template will return "none." To work around displaying having a Pokémon (let's use Chikorita again) displayed as [[ (type)|]]/[[ (type)|]] this null result this, read about the #switch parser function at WikiMedia.

trainercard

In the works