From Bulbapedia, the community-driven Pokémon encyclopedia.
Usage
This usertag template identifies the user as an owner of a specified Pokémon, allowing the user to also specify image, form, and type color(s).
This template takes a maximum of five unnamed parameters and up to two named parameters, all optional with default (fallback) values.
{{User Has Pokémon|image filename|Pokémon|Type 1|Type 2|image size|article=|form=}}
Parameters
Unnamed parameters
These parameters, if supplied, must be provided in the following order:
- image filename: name of PNG-format image file (without the
.png
file extension) portraying the desired Pokémon. Default: 001 (Gen-V Bulbasaur front sprite)
- Pokémon: name of Pokémon species. Default: Bulbasaur (with a disguised link to Mew)
- Type 1: Pokémon's primary Type; its color will be displayed on usertag's border (dark), text background (light), and text (dark), as well as image background if Type 2 is not specified. Default: ???
- Type 2: Pokémon's secondary Type; its color will be displayed on usertag's image background. Default: same as Type 1 (if supplied; otherwise ???)
- image size: desired size of Pokémon's image in pixels, expressed in any of the following formats (where mm and nn are 1- to 3-digit integer values):
- mmpx: desired image width in pixels. (Recommended value is 60px, which is the default value when not specified.)
- xnnpx: desired image height in pixels.
- mmxnnpx: desired image width and height in pixels.
Named parameters
These parameters may be supplied in any order, but not before unnamed parameters (due to coding issues, any named parameter must be provided after any unnamed parameters have been supplied):
- article= desired grammatical article (a, an, the) preceding the Pokémon species' name; to omit article in text, supply blank (null) value
article=
. Default: a
- form= desired Pokémon form (gender, Shiny, Mega, etc.). Default: (none)
Examples
Template output
|
Stand alone code
|
Description
|
|
This user has a Mew.
|
|
{{User Has Pokémon|151|Mew|Psychic}}
|
Mew tag with Gen-V front sprite and one Type color (Psychic)
|
|
{{User Has Pokémon|251Celebi|Celebi|Psychic|Grass}}
|
Celebi tag with official Ken Sugimori artwork and two Type colors (Psychic and Grass)
|
|
{{User Has Pokémon|251Celebi Dream|Celebi|Grass|Psychic}}
|
Same as above, but with Pokémon Global Link artwork and Type colors swapped (for better contrast)
|
|
{{User Has Pokémon|Shuffle385|Jirachi|Psychic|Steel|52px}}
|
Jirachi tag with Pokémon Shuffle icon (whose width has been reduced to 52 pixels)
|
|
{{User Has Pokémon|490Manaphy|Manaphy|Water|Water|54px}}
|
Manaphy tag with artwork's width reduced to 54 pixels; note that here Type 1 (Water) must be either supplied twice or...
|
|
{{User Has Pokémon|490Manaphy|Manaphy|Water||54px}}
|
...followed by a blank Type 2 before specifying image size (blank Type 2 becomes same as Type 1)
|
|
{{User Has Pokémon|491|Darkrai|Dark|article=}}
|
Darkrai tag with Gen-V front sprite and article omitted
|
|
{{User Has Pokémon|492_s|Shaymin|Grass|form={{color2|{{grass color dark}}|Shiny Pokémon|Shiny}}}}
|
Shaymin tag with Shiny Gen-V front sprite
|
|
{{User Has Pokémon|494Victini|Victini|Fire|Psychic|x50px|article=an|form=event}}
|
Victini tag with 50-pixel-height Sugimori artwork, article "an", and word "event" supplied as a "form"
|
|
{{User Has Pokémon|719Diancie Mega Dream|Diancie|Fairy|Rock|form='''{{color2|{{fairy color dark}}|Mega Evolution|Mega}}'''|article=the}}
|
Diancie tag with Global Link Mega Evolution image and article "the"; form and article can be given in any order, yielding same result
|
SilSinn9801 currently writing documentation for this usertag
Please do not yet protect this template page until I am done writing usage documentation for it. Once I am done writing the usage guide (using the same guidelines traced by ForceFire and Tiddlywinks (talk) regarding unprotected templates), I will formally request this be protected to prevent anybody (other than its creator SnorlaxMonster) from recklessly editing the template itself and cause the server to stress out. --SilSinn (Pokémon Sun TID: 768426; Pokémon Ultra Moon TID: 123446) (talk) 02:30, 21 December 2018 (UTC)
UPDATE: usage guide done (without touching the rest of the template source), feel free to protect it as needed. --SilSinn (Pokémon Sun TID: 768426; Pokémon Ultra Moon TID: 123446) (talk) 05:39, 21 December 2018 (UTC)