Pokémon Wiki

Pokémon Wiki:Templates

Revision as of 07:10, March 29, 2009 by Charitwo (Talk | contribs)

12,919pages on
this wiki

A template is a message, or importable page, that is located by itself somewhere on the Pokémon Encyclopedia, that can be used on any other page; so, as in the text of the template; by adding the name of the template to the page you want the template's text on, syntaxed like {{templatename}}. This is useful for several reasons: whenever the template is changed on its external location, it also changes itself on all the pages it has been used on, making updating several pages that contain the same thing much easier (simular to SSI). It is also useful as a shortcut; instead of typing out a whole bunch of words, just type {{whatever}} and the text of the template whatever will appear on the page, when rendered (when editing, the template will always look like {{whatever}}).

To create a template, one would create a page called something like Template:templatename (the template must be in the template namespace). The page they created would contain text that they would like to be on more than one page. Then, they would add {{templatename}} to the pages they wanted the text on, or whatever the actual page name was, excluding the namespace (in this case Template, which it must always be).

To produce the text of a template, but not have it look like {{templatename}} when you edit the page, type {{subst:templatename}}. This way, the next time the page is edited, the content of the page using {{templatename}} is edited, you will see the content of the template, which you can edit (it only takes effect on that one page and it doesn't update when Template:templatename is changed.

List of templates

Type this: To produce this: Notes:
This article is related to Pokémon.
Categorized at Category:Pokemon
This article is a Pokédex entry.
Categorized at Category:Pokedex entries
{{wiki}} Template:Wiki Categorized at Category:The Pokemon Encyclopedia
{{misc}} Template:Misc Categorized at Category:Misc
{{policy}} Categorized at Category:Policy
This article is part of the Pokémon Wiki's help series.</td>
Categorized at Category:Help


531Audino This article or section requires a cleanup in order to meet
the Pokémon Wiki's quality standards.

Reason: Unknown
Please consider editing this page to improve it.
Categorized at Category:Cleanup. See cleanup.


173Cleffa This article is a stub. Please help the Pokémon Wiki by expanding it. 173Cleffa
Categorized at Category:Stubs. See stubs.


{{Section Stub}}</td> Template:Section Stub</td> Categorized at Category:Stubs. See stubs.


127MPinsir This page, image, category or video has been requested for deletion.

If you disagree with its deletion, please explain why at Category talk:Candidates for deletion.
Remember to check what links here and the the page history before deleting.
Categorized at Category:Articles marked for speedy deletion.


{{ProposedDeletion}}</td> Template:ProposedDeletion</td> Categotized at Category:Articles proposed for deletion.


{{other}}</td> Template:Other</td> Categorized at Category:Other uses.

</td> </tr>

This article is part of the Pokémon Wiki's help series.

Around Wikia's network

Random Wiki