Template:User First Partner: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
(doc)
 
Line 1: Line 1:
{| class="userboxitem" style="background: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color}}; border: 1px solid #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" cellspacing="0" cellpadding="0"
{| class="userboxitem" style="background: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color}}; border: 1px solid #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" cellspacing="0" cellpadding="0"
! style="background: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color light}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" | [[Image:{{{1|001}}}.{{{x|png}}}|60px]]
! style="background: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color light}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" | [[File:{{{1|001}}}.{{{x|png}}}|60px]]
| style="color: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}};" | This user's '''[[first partner Pokémon|<span style="color: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}};">first partner Pokémon</span>]]''' is '''[[{{{2|Bulbasaur}}} (Pokémon)|<span style="color: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}};">{{{2|Bulbasaur}}}</span>]]'''.
| style="color: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}};" | This user's '''[[first partner Pokémon|<span style="color: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}};">first partner Pokémon</span>]]''' is '''[[{{{2|Bulbasaur}}} (Pokémon)|<span style="color: #{{{{#switch: {{{2|Bulbasaur}}}|Bulbasaur|Chikorita|Treecko|Turtwig|Snivy|Chespin|Rowlet|Grookey=Grass|Charmander|Cyndaquil|Torchic|Chimchar|Tepig|Fennekin|Litten|Scorbunny=Fire|Squirtle|Totodile|Mudkip|Piplup|Oshawott|Froakie|Popplio|Sobble=Water|Pikachu=Electric|{{{3|Normal}}}}} color dark}};">{{{2|Bulbasaur}}}</span>]]'''.
|}<noinclude>[[Category:Pokémon tags]]
|}<noinclude>


===How to use===
{{documentation}}
To change the Pokémon, put the National Dex number and then the name of the Pokémon. Example:
<nowiki>{{User First Partner|158|Totodile}}</nowiki> ends up as {{User First Partner|158|Totodile}}
 
A third parameter can be used to override the color used in the template. Example:
<nowiki>{{User First Partner|196|Espeon|Psychic}}</nowiki> ends up as {{User First Partner|196|Espeon|Psychic}}
</noinclude>
</noinclude>

Latest revision as of 19:00, 9 March 2024

001.png This user's first partner Pokémon is Bulbasaur.



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

This template adds a usertag about the user's first partner Pokémon in the games.

Parameters

Unnamed
  • 1: usually the Pokémon's National Pokédex number, but broadly any filename (not including the extension)
  • 2: the Pokémon's name; if the template recognizes this as a first partner Pokémon, its first type is also used as the template's color
  • 3 (optional): a color from color templates (such as "grass") for the template's color scheme
Named
  • x (optional): a customized file extension for the file (default is "png")
  • moz (optional): "yes" (default) or "no": whether the template is rounded; intended for use for browsers that don't support that styling, but most modern browsers now do

Examples

For basic usage with first partner Pokémon, put the National Dex number and then the name of the Pokémon. (For Pokémon recognized by this template, the Pokémon's first type is automatically used for the color scheme.)

{{User First Partner|158|Totodile}}
158.png This user's first partner Pokémon is Totodile.

A third parameter can be used to supply a custom color if the Pokémon is not recognized.

{{User First Partner|196|Espeon|Psychic}}
196.png This user's first partner Pokémon is Espeon.

Updating

050Diglett.png This section is incomplete.
Please feel free to edit this section to add missing information and complete it.

TemplateData

This template adds a usertag about the user's first partner Pokémon in the games.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
filename1

Usually the National Pokédex number of the Pokémon; can be any filename from the Archives (excluding the extension)

Default
001
Example
001
Linerequired
extensionx

An override for the extension for the file

Default
png
Example
jpg
Lineoptional
Pokémon2

The name of the Pokémon. For any first partners this template recognizes, this also sets the color of the template.

Default
Bulbasaur
Example
Bulbasaur
Linerequired
color3

A fallback for the template color if the Pokémon's name is not recognized. Must be a color template identifier

Default
Normal
Linesuggested
roundymoz

Whether to make the template rounded. Most modern browsers should support roundy styles

Suggested values
yes no
Default
yes
Unknowndeprecated