Please remember to follow the manual of style and code of conduct at all times.

Template talk:P

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

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. — Jellochuu 00:10, 22 Feb 2005 (UTC)

Interesting...

For some reason, all articles using this template are now displaying everything placed after it as a code box. See History of Pokémon and Route 7. --TwinsMetsFan 06:42, 12 July 2006 (UTC)

Templates are very sensitive to extra spaces. - 振霖T 07:02, 12 July 2006 (UTC)

I made a slightly-more-featured version

User:Raijinili/Template:P

There are three features:

  1. Uses a template for Nidoran names, to give them aliases. Mostly useless.
  2. A template for Pokémon. Useless for most, but {{subst:p}} should be helpful for some, and that option set isn't being used anyway.
  3. It has documentation. Whatever else you do, add in the documentation, at least. --Raijinili 12:27, 20 April 2009 (UTC)

Section linking

Can an admin add a 2nd variable which, if filled out, adds #{{{2}}} for section linking? I also agree with the idea of a parameter to allowing different display text. And I ABSOLUTELY agree that this template( and indeed most on Bulbapedia) could really do with documentation in the <noinclude> section, rather than on the talk page or, in many cases, not at all. --LaprasBoi 17:10, 9 December 2009 (UTC)

Personal tools