Template talk:P: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(→I made a slightly-more-featured version: new section) |
m (→I made a slightly-more-featured version: redlink) |
||
Line 17: | Line 17: | ||
There are three features: | There are three features: | ||
#Uses a template for Nidoran names, to give them aliases. Mostly useless. | #Uses a template for Nidoran names, to give them aliases. Mostly useless. | ||
#A template for Pokémon. Useless for most, but {{ | #A template for Pokémon. Useless for most, but {{<nowiki>subst:p</nowiki>}} should be helpful for some, and that option set isn't being used anyway. | ||
#It has documentation. Whatever else you do, add in the documentation, at least. --[[User:Raijinili|Raijinili]] 12:27, 20 April 2009 (UTC) | #It has documentation. Whatever else you do, add in the documentation, at least. --[[User:Raijinili|Raijinili]] 12:27, 20 April 2009 (UTC) |
Revision as of 12:30, 20 April 2009
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)
I made a slightly-more-featured version
There are three features:
- Uses a template for Nidoran names, to give them aliases. Mostly useless.
- 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.
- It has documentation. Whatever else you do, add in the documentation, at least. --Raijinili 12:27, 20 April 2009 (UTC)