Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Pokemon:Templates

From the Pokémon Encyclopedia

Jump to: navigation, search

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.

[edit] List of templates

Type this: To produce this: Notes:
{{poke}}
This article is related to Pokémon.
Categorized at Category:Pokemon
{{pokedex}}
This article is a Pokédex entry.
Categorized at Category:Pokedex entries
{{wiki}}
This article is related to the Pokémon Encyclopedia.
Categorized at Category:The Pokemon Encyclopedia
{{misc}}
This article is categorized as being miscellaneous.
Categorized at Category:Misc
{{policy}}
This article is related to the Pokémon Encyclopedia's policies.
Categorized at Category:Policy
{{help}}
This article is part of the Pokémon Encyclopedia's help series.
Categorized at Category:Help
{{cleanup}}

This article needs cleanup. Please edit this article to conform to a higher standard of quality.

Categorized at Category:Cleanup. See cleanup.
{{stub}}
Categorized at Category:Stubs. See stubs.
{{delete}}
This article has been marked for speedy deletion.
Categorized at Category:Articles marked for speedy deletion.
{{ProposedDeletion}}
This page has been proposed for deletion.
The editor who proposed deletion has the following to say:
No reason given
Categotized at Category:Articles proposed for deletion.
{{other}}
This page is a navigational aid — it is implemented if there could be several articles residing at the same name.
Categorized at Category:Other uses.
{{copyvio|http://example.com}}
THE CONTENT OF THIS PAGE HAS BEEN REMOVED DUE TO
COPYRIGHT INFRINGEMENT

Content that previously appeared here has been removed due to suspected copyright infringement. The infringeing text seems to have been copied from this location:

http://example.com

Please do not copy and paste text from other websites to here. Please write your own content, as all text on this website must be released under the GFDL.

Categorized at Category:Copyright violations.



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