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;"
|- align="center"
|-
| width="50%" |  
| width="50%" |  
{| class="roundy" align="center" style="background: #FFFFFF;"
<center>
|- align="center"
{| class="roundy" style="margin:auto; background: #FFF;"
| {{#ifeq: {{{game|Current}}}|Current|[[File:{{{ndex|000}}}{{#switch: {{{spritegender|}}}|male=_m|female=_f|shiny=_s|male shiny=_m_s|female shiny=_f_s}}.png]]|{{Spr|{{{ndex|000}}}|{{{game|Current}}}|{{{spritegender|}}}}}}}
|-
| [[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" align="center" style="{{#ifeq: {{{type2|Unknown}}}|Unknown||display:none;}} background: transparent; border-collapse:collapse;"
<center>
|- align="center"
{| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse;"
| style="line-height:12px;" | <small>Type:</small>
|-  
|- align="center"
| style="text-align: center; line-height:12px;" {{#if: {{{type2|}}}|colspan="2"|}} | <small>Type{{#if: {{{type2|}}}|s|}}:</small>
| class="roundy" style="background: #{{{{{type1|Unknown}}} color}};" | &nbsp;&nbsp;[[{{{type1|Unknown}}} (type)|<span style="color:#FFFFFF;">{{{type1|Unknown}}}</span>]]&nbsp;&nbsp;
|-  
| 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" align="center" style="{{#ifeq: {{{type2|Unknown}}}|Unknown|display:none;}} background: transparent; border-collapse:collapse;"
{| class="roundy" style="margin:auto; background: transparent;"
|- align="center"
|-  
| colspan="2" style="line-height:12px;" | <small>Types:</small>
| style="text-align: center; line-height:12px;" | <small>Held item:</small>
|- align="center"
|-  
| class="roundyleft" style="background: #{{{{{type1|Unknown}}} color}};" | &nbsp;&nbsp;[[{{{type1|Unknown}}} (type)|<span style="color:#FFFFFF;">{{{type1|Unknown}}}</span>]]&nbsp;&nbsp;
| style="text-align: center;" | {{#if: {{{held|}}}|[[{{{held}}}|<span style="color:#000;">{{{held}}}</span>]]|None}}
| class="roundyright" style="background: #{{{{{type2|Unknown}}} color}};" | &nbsp;&nbsp;[[{{{type2|Unknown}}} (type)|<span style="color:#FFFFFF;">{{{type2|Unknown}}}</span>]]&nbsp;&nbsp;
|}
|}
{| class="roundy" align="center" style="background: transparent;"
</center>
|- align="center"
|-
| style="line-height:12px;" | <small>Held item:</small>
| 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>}}}}&nbsp;<small>Lv.</small>{{{level|0}}}{{#switch: {{{spritegender|}}}|shiny|male shiny|female shiny=[[File:ShinyIIStars.png]]}}
|- align="center"
|-
| {{#if: {{{held|}}}|[[{{{held}}}|{{color|000|{{{held}}}}}]]|None}}
| class="roundy" colspan="2" style="background: #FFF;" |  
|}
{| class="roundy" width="100%" style="margin:auto; background: #FFF; border-collapse: separate;"
|- align="center"
| class="roundy" style="background: #FFFFFF;" | [[{{{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>}}}}&nbsp;<small>Lv.</small>{{{level|0}}}{{#switch: {{{spritegender|}}}|shiny|male shiny|female shiny=[[File:ShinyGSStars.png]]}}
|- align="center"
| class="roundy" colspan="2" style="background: #FFFFFF;" |  
{| class="roundy" width="100%" style="background: #FFFFFF;"
|-
|-
| 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: #FFFFFF; border-collapse:collapse;" 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"
|- align="center"
|-
| [[{{{move1|Struggle}}} (move)|<span style="color:#000;">{{{move1|Struggle}}}</span>]]
| [[{{{move1|Struggle}}} (move)|<span style="color:#000;">{{{move1|Struggle}}}</span>]]
|- align="center"
|-
| class="roundybottom" style="background:#{{{{{move1type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move1type|Normal}}} (type)|<span style="color:#FFFFFF;">{{{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;" 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"
|- align="center"
|-  
| &nbsp;
| &nbsp;
| rowspan="2" | --
| rowspan="2" | --
| &nbsp;
| &nbsp;
|- align="center"
|-  
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</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: #FFFFFF; border-collapse:collapse;" 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"
|- align="center"
|-
| [[{{{move2|Struggle}}} (move)|<span style="color:#000;">{{{move2|Struggle}}}</span>]]
| [[{{{move2|Struggle}}} (move)|<span style="color:#000;">{{{move2|Struggle}}}</span>]]
|- align="center"
|-
| class="roundybottom" style="background:#{{{{{move2type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move2type|Normal}}} (type)|<span style="color:#FFFFFF;">{{{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;" 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"
|- align="center"
|-  
| &nbsp;
| &nbsp;
| rowspan="2" | --
| rowspan="2" | --
| &nbsp;
| &nbsp;
|- align="center"
|-  
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</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: #FFFFFF; border-collapse:collapse;" 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"
|- align="center"
|-
| [[{{{move3|Struggle}}} (move)|<span style="color:#000;">{{{move3|Struggle}}}</span>]]
| [[{{{move3|Struggle}}} (move)|<span style="color:#000;">{{{move3|Struggle}}}</span>]]
|- align="center"
|-
| class="roundybottom" style="background:#{{{{{move3type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move3type|Normal}}} (type)|<span style="color:#FFFFFF;">{{{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;" 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"
|- align="center"
|-  
| &nbsp;
| &nbsp;
| rowspan="2" | --
| rowspan="2" | --
| &nbsp;
| &nbsp;
|- align="center"
|-  
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</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: #FFFFFF; border-collapse:collapse;" 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"
|- align="center"
|-
| [[{{{move4|Struggle}}} (move)|<span style="color:#000;">{{{move4|Struggle}}}</span>]]
| [[{{{move4|Struggle}}} (move)|<span style="color:#000;">{{{move4|Struggle}}}</span>]]
|- align="center"
|-
| class="roundybottom" style="background:#{{{{{move4type|Normal}}} color}}; line-height:12px;" | <small>[[{{{move4type|Normal}}} (type)|<span style="color:#FFFFFF;">{{{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;" 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"
|- align="center"
|-  
| &nbsp;
| &nbsp;
| rowspan="2" | --
| rowspan="2" | --
| &nbsp;
| &nbsp;
|- align="center"
|-  
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
| width="25%" style="background:transparent; line-height:12px;" | <small>&nbsp;</small>
|}
|}
|}
|}
|}<noinclude>[[Category:Party templates]]</noinclude>
|}<noinclude>{{documentation}}
 
[[Category:Party templates]][[Category:Subtemplates]]</noinclude>

Latest revision as of 08:47, 17 June 2024

000.png
Type:
Unknown Unknown
Held item:
None
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:

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 SilverGoldSilverCrystal The game the sprite should be pulled from.
back yesno 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 malefemalebothnone Optional. The Pokémon's gender. Defaults to none.
spritegender shiny Optional. Set to shiny to display shiny sprite.
type1 NormalFireFightingWaterFlyingGrassPoisonElectricGroundPsychicRockIceBugDragonGhostDarkSteel 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 NormalFireFightingWaterFlyingGrassPoisonElectricGroundPsychicRockIceBugDragonGhostDarkSteel 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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Gamegame

Game the sprite should be pulled from

Suggested values
Gold and Silver Gold Silver Crystal
Linerequired
Back Spriteback

Set to "yes" to show back sprite

Suggested values
yes no
Default
no
Lineoptional
NDexndex

3-digit National Pokédex number

Linerequired
Pokémonpokemon

Pokémon name

Linerequired
Nicknamenickname

Pokémon's nickname

Linesuggested
Levellevel

Pokémon's level

Linerequired
Gendergender

Gender

Suggested values
male female both none
Default
none
Linesuggested
Sprite Genderspritegender

Set to "Shiny" to display Shiny Sprite

Suggested values
shiny
Lineoptional
Type1type1

Pokémon's primary type

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost Dark Steel
Default
Unknown
Linerequired
Type2type2

Pokémon's Secondary type

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost
Default
Unknown
Linesuggested
Heldheld

Held Item

Linesuggested
Move1move1

Move 1 name

Linesuggested
Move1 Typemove1type

Move1's type

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost Dark Steel
Default
Unknown
Linesuggested
Move2move2

Move 2 name

Linesuggested
Move2 Typemove2type

Move 2 type

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost Dark Steel
Default
Unknown
Linesuggested
Move3move3

Move 3 name

Linesuggested
Move3 Typemove3type

Move 3 type

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost Dark Steel
Default
Unknown
Linesuggested
Move4move4

Move 4 name

Linesuggested
Move4 Typemove4type

Move 4 type

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost Dark Steel
Default
Unknown
Linesuggested

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
}}
Spr 2g 152.png
Type:
Grass Unknown
Held item:
None
Chikorita Lv.5
Tackle
Normal
Razor Leaf
Grass
  --  
   
  --  
   
{{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
}}
Spr 2c 154 s.png
Type:
Grass Unknown
Held item:
Miracle Seed
Meganiumu Lv.38ShinyIIStars.png
PoisonPowder
Poison
Razor Leaf
Grass
Body Slam
Normal
Reflect
Psychic