Template:Pokémon/2: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(documentation template) |
(adding margin auto to move boxes) Tags: Mobile edit Mobile web edit |
||
Line 24: | Line 24: | ||
|- | |- | ||
| class="roundy" colspan="2" style="background: #FFF;" | | | class="roundy" colspan="2" style="background: #FFF;" | | ||
{| class="roundy" width="100%" style="background: #FFF;" | {| class="roundy" width="100%" style="margin:auto; background: #FFF;" | ||
|- | |- | ||
| class="roundy" width="50%" style="background: #{{{{{move1type|Unknown}}} color dark}}; border: 2px solid #{{{{{move1type|Unknown}}} color dark}}" | | | class="roundy" width="50%" style="background: #{{{{{move1type|Unknown}}} color dark}}; border: 2px solid #{{{{{move1type|Unknown}}} color dark}}" | | ||
{| class="roundy" width="100%" style="{{#if: {{{move1|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move1|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| [[{{{move1|Struggle}}} (move)|<span style="color:#000;">{{{move1|Struggle}}}</span>]] | | [[{{{move1|Struggle}}} (move)|<span style="color:#000;">{{{move1|Struggle}}}</span>]] | ||
Line 33: | Line 33: | ||
| class="roundybottom" style="background:#{{{{{move1type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move1type|Normal}}} (type)|<span style="color:#FFF;">{{{move1type|Normal}}}</span>]]</small> | | class="roundybottom" style="background:#{{{{{move1type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move1type|Normal}}} (type)|<span style="color:#FFF;">{{{move1type|Normal}}}</span>]]</small> | ||
|} | |} | ||
{| class="roundy" width="100%" style="{{#if: {{{move1|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move1|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| | | | ||
Line 43: | Line 43: | ||
|} | |} | ||
| class="roundy" width="50%" style="background: #{{{{{move2type|Unknown}}} color dark}}; border: 2px solid #{{{{{move2type|Unknown}}} color dark}}" | | | class="roundy" width="50%" style="background: #{{{{{move2type|Unknown}}} color dark}}; border: 2px solid #{{{{{move2type|Unknown}}} color dark}}" | | ||
{| class="roundy" width="100%" style="{{#if: {{{move2|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move2|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| [[{{{move2|Struggle}}} (move)|<span style="color:#000;">{{{move2|Struggle}}}</span>]] | | [[{{{move2|Struggle}}} (move)|<span style="color:#000;">{{{move2|Struggle}}}</span>]] | ||
Line 49: | Line 49: | ||
| class="roundybottom" style="background:#{{{{{move2type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move2type|Normal}}} (type)|<span style="color:#FFF;">{{{move2type|Normal}}}</span>]]</small> | | class="roundybottom" style="background:#{{{{{move2type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move2type|Normal}}} (type)|<span style="color:#FFF;">{{{move2type|Normal}}}</span>]]</small> | ||
|} | |} | ||
{| class="roundy" width="100%" style="{{#if: {{{move2|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move2|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| | | | ||
Line 60: | Line 60: | ||
|- | |- | ||
| class="roundy" style="background: #{{{{{move3type|Unknown}}} color dark}}; border: 2px solid #{{{{{move3type|Unknown}}} color dark}}" | | | class="roundy" style="background: #{{{{{move3type|Unknown}}} color dark}}; border: 2px solid #{{{{{move3type|Unknown}}} color dark}}" | | ||
{| class="roundy" width="100%" style="{{#if: {{{move3|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move3|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| [[{{{move3|Struggle}}} (move)|<span style="color:#000;">{{{move3|Struggle}}}</span>]] | | [[{{{move3|Struggle}}} (move)|<span style="color:#000;">{{{move3|Struggle}}}</span>]] | ||
Line 66: | Line 66: | ||
| class="roundybottom" style="background:#{{{{{move3type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move3type|Normal}}} (type)|<span style="color:#FFF;">{{{move3type|Normal}}}</span>]]</small> | | class="roundybottom" style="background:#{{{{{move3type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move3type|Normal}}} (type)|<span style="color:#FFF;">{{{move3type|Normal}}}</span>]]</small> | ||
|} | |} | ||
{| class="roundy" width="100%" style="{{#if: {{{move3|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move3|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| | | | ||
Line 76: | Line 76: | ||
|} | |} | ||
| class="roundy" style="background: #{{{{{move4type|Unknown}}} color dark}}; border: 2px solid #{{{{{move4type|Unknown}}} color dark}}" | | | class="roundy" style="background: #{{{{{move4type|Unknown}}} color dark}}; border: 2px solid #{{{{{move4type|Unknown}}} color dark}}" | | ||
{| class="roundy" width="100%" style="{{#if: {{{move4|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move4|}}}||display:none;}} background: #FFF; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| [[{{{move4|Struggle}}} (move)|<span style="color:#000;">{{{move4|Struggle}}}</span>]] | | [[{{{move4|Struggle}}} (move)|<span style="color:#000;">{{{move4|Struggle}}}</span>]] | ||
Line 82: | Line 82: | ||
| class="roundybottom" style="background:#{{{{{move4type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move4type|Normal}}} (type)|<span style="color:#FFF;">{{{move4type|Normal}}}</span>]]</small> | | class="roundybottom" style="background:#{{{{{move4type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move4type|Normal}}} (type)|<span style="color:#FFF;">{{{move4type|Normal}}}</span>]]</small> | ||
|} | |} | ||
{| class="roundy" width="100%" style="{{#if: {{{move4|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | {| class="roundy" width="100%" style="margin:auto; {{#if: {{{move4|}}}|display:none;}} background: #{{unknown color}}; border-collapse:collapse; text-align: center;" cellspacing="1" cellpadding="3" | ||
|- | |- | ||
| | | |
Revision as of 22:25, 16 June 2024
|
| ||||||||||||||||||||||||
Missingno. Lv.0 | |||||||||||||||||||||||||
|
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
{{Pokémon/2}}
is used to display a Pokémon from Generation II.
See the appropriate generation subtemplate:
{{Pokémon/1}}
{{Pokémon/1/Walkthrough}}
{{Pokémon/2}}
{{Pokémon/3}}
{{Pokémon/3/Contest}}
{{Pokémon/3/Shadow}}
{{Pokémon/4}}
{{Pokémon/4/Contest}}
{{Pokémon/5}}
{{Pokémon/5/Pokéstar}}
{{Pokémon/6}}
{{Pokémon/6/Contest}}
{{Pokémon/7}}
{{Pokémon/7/LG}}
{{Pokémon/8}}
{{Pokémon/8/Dynamax}}
{{Pokémon/8/Contest}}
{{Pokémon/9}}
Usage
{{Pokémon/2 |game= |ndex= |pokemon= |nickname= |level= |type1= |type2= |move1= |move1type= |move2= |move2type= |move3= |move3type= |move4= |move4type= }}
Parameters
All parameters are case sensitive.
Parameter | Allowed values | Notes |
---|---|---|
game | Gold and Silver • Gold • Silver • Crystal
|
The game the sprite should be pulled from. |
back | yes • no
|
Optional. Set to yes to show back sprite. Defaults to no .
|
ndex | National Pokédex Number | The Pokémon's National Pokédex number. |
pokemon | String | The Pokémon's name. |
nickname | String | Optional. The Pokémon's nickname. Defaults to <pokemon> .
|
level | Number | The Pokémon's level. |
gender | male • female • both • none
|
Optional. The Pokémon's gender. Defaults to none .
|
spritegender | shiny
|
Optional. Set to shiny to display shiny sprite.
|
type1 | Normal • Fire • Fighting • Water • Flying • Grass • Poison • Electric • Ground • Psychic • Rock • Ice • Bug • Dragon • Ghost • Dark • Steel
|
The Pokémon's primary type. |
type2 | Optional. The Pokémon's secondary type. | |
held | String | Optional. The Pokémon's held item. |
move1 | String | Optional. The Pokémon's move name. |
move2 | ||
move3 | ||
move4 | ||
move1type | Normal • Fire • Fighting • Water • Flying • Grass • Poison • Electric • Ground • Psychic • Rock • Ice • Bug • Dragon • Ghost • Dark • Steel
|
Optional. The type of the Pokémon's move. |
move2type | ||
move3type | ||
move4type |
TemplateData
{{Pokémon/2}} is used to display a Pokémon from Generation II
Parameter | Description | Type | Status | |
---|---|---|---|---|
Game | game | Game the sprite should be pulled from
| Line | required |
Back Sprite | back | Set to "yes" to show back sprite
| Line | optional |
NDex | ndex | 3-digit National Pokédex number | Line | required |
Pokémon | pokemon | Pokémon name | Line | required |
Nickname | nickname | Pokémon's nickname | Line | suggested |
Level | level | Pokémon's level | Line | required |
Gender | gender | Gender
| Line | suggested |
Sprite Gender | spritegender | Set to "Shiny" to display Shiny Sprite
| Line | optional |
Type1 | type1 | Pokémon's primary type
| Line | required |
Type2 | type2 | Pokémon's Secondary type
| Line | suggested |
Held | held | Held Item | Line | suggested |
Move1 | move1 | Move 1 name | Line | suggested |
Move1 Type | move1type | Move1's type
| Line | suggested |
Move2 | move2 | Move 2 name | Line | suggested |
Move2 Type | move2type | Move 2 type
| Line | suggested |
Move3 | move3 | Move 3 name | Line | suggested |
Move3 Type | move3type | Move 3 type
| Line | suggested |
Move4 | move4 | Move 4 name | Line | suggested |
Move4 Type | move4type | Move 4 type
| Line | suggested |
Examples
{{Pokémon/2 |game=Gold and Silver |ndex=152 |pokemon=Chikorita |type1=Grass |level=5 |gender=male |move1=Tackle|move1type=Normal |move2=Razor Leaf|move2type=Grass }}
|
| ||||||||||||||||||
Chikorita♂ Lv.5 | |||||||||||||||||||
|
{{Pokémon/2 |game=Crystal |ndex=154 |pokemon=Meganium |nickname=Meganiumu |type1=Grass |level=38 |gender=female |spritegender=shiny |held=Miracle Seed |move1=PoisonPowder|move1type=Poison |move2=Razor Leaf|move2type=Grass |move3=Body Slam|move3type=Normal |move4=Reflect|move4type=Psychic }}
|
| ||||||||||||
Meganiumu♀ Lv.38 | |||||||||||||
|