Do you ever browse Bulbapedia via a mobile device? Would you like to help us out? Check out this month's improvement drive, Mobile March!
Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

User:Raijinili/Template:P

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

Pokémon

Usage

This is a template for easier linking to Pokémon articles dealing with the actual creatures — since those articles should be named like Bulbasaur (Pokémon), this article makes it easier to create this link.

To use this, type this:

{{p|Name of Pokémon}}

This works because {{{1}}} is presented as a variable, and this template generates what you right in the "Name of Pokémon area" as the {{{1}}}, thus creating the proper link.

There is a second optional parameter which allows the editor to specify the visible words of the link (in other words, the text actually shown). For example, {{p|Mr. Mime|Mimey}} gives Mimey.

Just because it's not harmful, {{p}} produces just the word [[{{{1}}} (Pokémon)|{{{1}}}]]. If you're going to do that, it's probably best to substitute it, like so: {{subst:p}}. This leaves only the final result in the source code.

Tests cases

  • Nidoran♀
  • Nidoran♀
  • Pokémon