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"
|-  
|-  
| &nbsp;
| &nbsp;
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"
|-  
|-  
| &nbsp;
| &nbsp;
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"
|-  
|-  
| &nbsp;
| &nbsp;
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"
|-  
|-  
| &nbsp;
| &nbsp;

Revision as of 22:25, 16 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 2s 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