Template:Pokémon/2: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Protected "Template:Pokémon/2" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m (more mobile adjustments) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| class="roundy" width="250px" style="background: #{{{{{type1|Unknown}}} color light}}; border: 3px solid #{{ {{#ifeq: {{{type2|Unknown}}}|Unknown|{{{type1|Unknown}}} color dark|{{{type2|Unknown}}} color dark}} }};" | {| class="roundy" width="250px" style="margin:inherit; background: #{{{{{type1|Unknown}}} color light}}; border: 3px solid #{{ {{#ifeq: {{{type2|Unknown}}}|Unknown|{{{type1|Unknown}}} color dark|{{{type2|Unknown}}} color dark}} }}; border-collapse: separate;" | ||
|- | |- | ||
| width="50%" | | | width="50%" | | ||
{| class="roundy | <center> | ||
|- | {| class="roundy" style="margin:auto; background: #FFF;" | ||
| {{#ifeq: {{{game|Current}}}|Current| | |- | ||
| [[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq:{{{back|no}}}|yes|b_2{{#switch: {{{game|Gold and Silver}}}|Gold and Silver|Gold|Silver=g|Crystal=c}}|2{{#switch: {{{game|Gold and Silver}}}|Gold and Silver={{#switch: {{#expr: {{#time:z}} mod 2}}|0=g|1=s}}|Gold=g|Silver=s|Crystal=c}}}}}}_{{{ndex|000}}}{{#ifeq: {{{spritegender|none}}}|shiny|_s}}.png]] | |||
|} | |} | ||
</center> | |||
| rowspan="2" width="50%" | | | rowspan="2" width="50%" | | ||
{| class="roundy | <center> | ||
|- | {| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse;" | ||
| style="line-height:12px;" | <small>Type:</small> | |- | ||
|- | | style="text-align: center; line-height:12px;" {{#if: {{{type2|}}}|colspan="2"|}} | <small>Type{{#if: {{{type2|}}}|s|}}:</small> | ||
| | |- | ||
| width="45px" style="text-align: center; font-size: 85%; line-height:12px; background: #{{{{{type1|Unknown}}} color}}; {{roundy|2px}}" | [[{{{type1|Unknown}}} (type)|{{color|FFF|'''{{{type1|Unknown}}}'''}}]] | |||
| width="45px" style="{{#if: {{{type2|}}}||display: none;}}text-align: center; font-size: 85%; line-height:12px; background: #{{{{{type2|Unknown}}} color}}; {{roundy|2px}}" | [[{{{type2|Unknown}}} (type)|{{color|FFF|'''{{{type2|Unknown}}}'''}}]] | |||
|} | |} | ||
{| class="roundy | {| class="roundy" style="margin:auto; background: transparent;" | ||
|- | |- | ||
| | | style="text-align: center; line-height:12px;" | <small>Held item:</small> | ||
|- | |- | ||
| | | style="text-align: center;" | {{#if: {{{held|}}}|[[{{{held}}}|<span style="color:#000;">{{{held}}}</span>]]|None}} | ||
|} | |} | ||
</center> | |||
|- | |- | ||
| class="roundy" style="margin:auto; text-align: center; background: #FFF;" | [[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]]{{#switch: {{{pokemon|Missingno.}}}|Nidoran♀|Nidoran♂=|{{#switch: {{{gender|none}}}|male|♂=<span style="color:#0000FF;">♂</span>|female|♀=<span style="color:#FF6060;">♀</span>|both=<span style="color:#0000FF;">♂</span>/<span style="color:#FF6060;">♀</span>}}}} <small>Lv.</small>{{{level|0}}}{{#switch: {{{spritegender|}}}|shiny|male shiny|female shiny=[[File:ShinyIIStars.png]]}} | |||
|- | |||
| class="roundy" colspan="2" style="background: #FFF;" | | |||
{| class="roundy" width="100%" style="margin:auto; background: #FFF; border-collapse: separate;" | |||
|- | |||
| class="roundy" colspan="2" style="background: # | |||
{| class="roundy" width="100%" style="background: # | |||
|- | |- | ||
| 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: # | {| 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>]] | ||
|- | |- | ||
| class="roundybottom" style="background:#{{{{{move1type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move1type|Normal}}} (type)|<span style="color:# | | 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;" 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" | ||
|- | |- | ||
| | | | ||
| rowspan="2" | -- | | rowspan="2" | -- | ||
| | | | ||
|- | |- | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
|} | |} | ||
| 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: # | {| 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>]] | ||
|- | |- | ||
| class="roundybottom" style="background:#{{{{{move2type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move2type|Normal}}} (type)|<span style="color:# | | 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;" 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" | ||
|- | |- | ||
| | | | ||
| rowspan="2" | -- | | rowspan="2" | -- | ||
| | | | ||
|- | |- | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
Line 66: | Line 64: | ||
|- | |- | ||
| 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: # | {| 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>]] | ||
|- | |- | ||
| class="roundybottom" style="background:#{{{{{move3type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move3type|Normal}}} (type)|<span style="color:# | | 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;" 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" | ||
|- | |- | ||
| | | | ||
| rowspan="2" | -- | | rowspan="2" | -- | ||
| | | | ||
|- | |- | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
|} | |} | ||
| 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: # | {| 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>]] | ||
|- | |- | ||
| class="roundybottom" style="background:#{{{{{move4type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move4type|Normal}}} (type)|<span style="color:# | | 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;" 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" | ||
|- | |- | ||
| | | | ||
| rowspan="2" | -- | | rowspan="2" | -- | ||
| | | | ||
|- | |- | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
| width="25%" style="background:transparent; line-height:12px;" | <small> </small> | | width="25%" style="background:transparent; line-height:12px;" | <small> </small> | ||
|} | |} | ||
|} | |} | ||
|}<noinclude>[[Category:Party templates]]</noinclude> | |}<noinclude>{{documentation}} | ||
[[Category:Party templates]][[Category:Subtemplates]]</noinclude> |
Latest revision as of 08:47, 17 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 | |||||||||||||
|