User talk:Zappernapper/sandbox/wholePage

From Wikipedia, the free encyclopedia

This is a template composed of several other templates that was created to impose uniformity among the large number of pokemon species articles. This will solve the disparity found between articles like Torchic, Gloom, and Arbok. Additionally, by using templates for section headers, if it is ever decided that the header is inaccurate or inappropriate, the changes can be made to all pokemon species articles at once.

Contents

[edit] Usage

Using this template will recreate any similarly named headers in an article. As of right now, you have to first implement the template, save, then move the existing data into appropriate sections.

[edit] What you type

To use the template type:

{{subst:User:Zappernapper/sandbox/wholePage|
pokestart=|
smashinfo=|
otherMedia=|
tcg=|
manga=|
culture=|
}}

[edit] How to use the variables

If you would like to use {{pokestart}}, type something between the "=" and the pipe:

pokestart=show|

In fact, that's how all the variables work. If this pokemon is featured in the Super Smash Bros. series:

smashinfo=anything|

It doesn't really matter what you type, the template doesn't use the variable's value for anything.

The template is designed to work out the hierarchy automatically depending on if you use the "otherMedia" parameter.

otherMedia=y|
tcg=|
manga=y|
culture=|
}}

yields

==Other media header==
===Manga header===

and

otherMedia=|
tcg=y|
manga=y|
culture=y|
}}

yields

==TCG header==
==Manga header==
==Culture header==

Please refer to WP:PCP/S for details regarding which headers you should use.

[edit] After you save

After saving, the {{pokestart}} template will be editable to add japanese names. The wholePage template uses {{PAGENAME}} for the first parameter. This obviously would not be appropriate for articles who's names are something like Mew (Pokémon) so it will need to be changed accordingly. It is also preferable to change the template's usage to substitution so it can later be edited.

{{pokestart|{{PAGENAME}}}}

into

{{subst:pokestart|foo|foo1|foo2}}


Additionally, minimal info templates are included for the video games, anime, and TCG sections. These are not substituted in, so you only need to delete the one template line. If the section is lacking this information, please change the template to substitution (i.e. {{subst:foobar}} ) so that it can be edited in the future and reduce server load. {{tl:User:Zappernapper/sandbox/videogamesIntro}} uses {{PAGENAME}} in its code, this may need to be fixed after substituting it (e.g. Gloom (Pokémon)).

The template will also add a See also section. Which contains List of Pokémon items, Pokémon game mechanics, and Pokémon types. Other, relevant pages should be added to this (e.g. Video game controversy would be aprropriate attached to the Jynx (Pokémon) article.


Do not change the headers to {{subst:foo}}. Doing that will render the templates pointless. Only use substitution for article content.

[edit] Templates used

{{pokestart}}

{{User:Zappernapper/sandbox/attributes}}

{{User:Zappernapper/sandbox/videogames}}

{{User:Zappernapper/sandbox/videogamesIntro}}

{{User:Zappernapper/sandbox/smash}}

{{User:Zappernapper/sandbox/anime}}

{{User:Zappernapper/sandbox/animeIntro}}

{{User:Zappernapper/sandbox/otherMedia}}

{{User:Zappernapper/sandbox/culture}}

{{User:Zappernapper/sandbox/tcg}}

{{User:Zappernapper/sandbox/tcgIntro}}

{{User:Zappernapper/sandbox/manga}}

the links will work once this has been moved into the template namespace

[edit] Issues, comments, questions