Template:User First Partner: Difference between revisions
mNo edit summary |
Tiddlywinks (talk | contribs) (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=}}" | [[ | ! 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> | |}<noinclude> | ||
{{documentation}} | |||
</noinclude> | </noinclude> |
Latest revision as of 19:00, 9 March 2024
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}}
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}}
This user's first partner Pokémon is Espeon. |
Updating
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
filename | 1 | Usually the National Pokédex number of the Pokémon; can be any filename from the Archives (excluding the extension)
| Line | required |
extension | x | An override for the extension for the file
| Line | optional |
Pokémon | 2 | The name of the Pokémon. For any first partners this template recognizes, this also sets the color of the template.
| Line | required |
color | 3 | A fallback for the template color if the Pokémon's name is not recognized. Must be a color template identifier
| Line | suggested |
roundy | moz | Whether to make the template rounded. Most modern browsers should support roundy styles
| Unknown | deprecated |