Template:Pokémon/5: Difference between revisions

m (fixing the container-stretching issue (e.g. Swanna))
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| 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}} }};"
{| 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"
|- align="center"
| width="50%" |  
| width="50%" |  
{| class="roundy" align="center" style="background: #FFFFFF;"
<center>
{| class="roundy" align="center" style="margin:auto; background: #FFFFFF;"
|- align="center"
|- align="center"
| style="width:100px; height:100px; position:relative;" |<div style="position:absolute; top:50%; left:50%; transform: translate(-50%, -50%);">[[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq: {{{back|no}}}|yes|b_}}5{{#switch: {{{game|Black and White}}}|Black and White|Black|White=b|Black 2 and White 2|Black 2|White 2=b2}}}}_{{{ndex|000}}}{{#switch: {{{spritegender|none}}}|male=_m|female=_f|shiny=_s|male shiny=_m_s|female shiny=_f_s}}.png]]</div>
| style="width:100px; height:100px; position:relative;" |<div style="position:absolute; top:50%; left:50%; transform: translate(-50%, -50%);"> [[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq: {{{back|no}}}|yes|b_}}5{{#switch: {{{game|Black and White}}}|Black and White|Black|White=b|Black 2 and White 2|Black 2|White 2=b2}}}}_{{{ndex|000}}}{{#switch: {{{spritegender|none}}}|male=_m|female=_f|shiny=_s|male shiny=_m_s|female shiny=_f_s}}.png]]</div>
|}
|}
</center>
| rowspan="2" width="50%" |  
| rowspan="2" width="50%" |  
<center>
{| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse;"
{| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse;"
|-  
|-  
Line 14: Line 17:
| 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}}}'''}}]]
| 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="background: transparent;"
{| class="roundy" align="center" style="margin: auto; background: transparent;"
|- align="center"
|- align="center"
| style="line-height:12px;" | <small>{{#if: {{{abilitymd|}}}|Abilities|Ability}}:</small>
| style="line-height:12px;" | <small>{{#if: {{{abilitymd|}}}|Abilities|Ability}}:</small>
Line 20: Line 23:
| [[{{{ability|No ability}}} (Ability)|<span style="color:#000;">{{{ability|No ability}}}</span>]] {{#if: {{{ability2|}}}|or [[{{{ability2}}} (Ability)|<span style="color:#000;">{{{ability2}}}</span>]]|{{#if: {{{abilitymd|}}}|and [[{{{abilitymd}}} (Ability)|<span style="color:#000;">{{{abilitymd}}}</span>]]|}}}}
| [[{{{ability|No ability}}} (Ability)|<span style="color:#000;">{{{ability|No ability}}}</span>]] {{#if: {{{ability2|}}}|or [[{{{ability2}}} (Ability)|<span style="color:#000;">{{{ability2}}}</span>]]|{{#if: {{{abilitymd|}}}|and [[{{{abilitymd}}} (Ability)|<span style="color:#000;">{{{abilitymd}}}</span>]]|}}}}
|}
|}
{| class="roundy" align="center" style="background: transparent;"
{| class="roundy" align="center" style="margin: auto; background: transparent;"
|- align="center"
|- align="center"
| style="line-height:12px;" | <small>Held item:</small>
| style="line-height:12px;" | <small>Held item:</small>
Line 26: Line 29:
| {{#if: {{{held|}}}|[[File:Bag {{{held}}} Sprite.png]] [[{{{held}}}|<span style="color:#000;">{{{held}}}</span>]]|[[File:Noimage.png|24px]] None [[File:Noimage.png|24px]]}}
| {{#if: {{{held|}}}|[[File:Bag {{{held}}} Sprite.png]] [[{{{held}}}|<span style="color:#000;">{{{held}}}</span>]]|[[File:Noimage.png|24px]] None [[File:Noimage.png|24px]]}}
|}
|}
</center>
|- align="center"
|- align="center"
| class="roundy" style="background: #FFFFFF;" | {{{character|[[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]]}}}{{#switch: {{{pokemon|Missingno.}}}|Nidoran♀|Nidoran♂=|{{#switch: {{{gender|none}}}|male|♂={{male}}|female|♀={{female}}|both={{male}}/{{female}}}}}} <small>Lv.</small>{{{level|0}}}{{#switch: {{{spritegender|}}}|shiny|male shiny|female shiny=[[File:ShinyVStar.png]]}}
| class="roundy" style="margin: auto; background: #FFFFFF;" | {{{character|[[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]]}}}{{#switch: {{{pokemon|Missingno.}}}|Nidoran♀|Nidoran♂=|{{#switch: {{{gender|none}}}|male|♂={{male}}|female|♀={{female}}|both={{male}}/{{female}}}}}} <small>Lv.</small>{{{level|0}}}{{#switch: {{{spritegender|}}}|shiny|male shiny|female shiny=[[File:ShinyVStar.png]]}}
|- align="center"
|- align="center"
| class="roundy" colspan="2" style="background: #FFFFFF;" |  
| class="roundy" colspan="2" style="background: #FFFFFF;" |  
{| class="roundy" width="100%" style="background: #FFFFFF;"
{| class="roundy" width="100%" style="margin:auto; background: #FFFFFF; border-collapse: separate;"
|-
|-
| 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: #FFFFFF; border-collapse:collapse;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| colspan="2" | [[{{{move1|Curse}}} (move)|<span style="color:#000;">{{{move1|Curse}}}</span>]]
| colspan="2" | [[{{{move1|Curse}}} (move)|<span style="color:#000;">{{{move1|Curse}}}</span>]]
Line 40: Line 44:
| class="roundybr" width="50%" style="background:#{{{{{move1cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move1cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move1cat|Status}}} textcolor}}}};">{{{move1cat|Status}}}</span>]]</small>
| class="roundybr" width="50%" style="background:#{{{{{move1cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move1cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move1cat|Status}}} textcolor}}}};">{{{move1cat|Status}}}</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;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| &nbsp;
| &nbsp;
Line 50: Line 54:
|}
|}
| 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: #FFFFFF; border-collapse:collapse;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| colspan="2" | [[{{{move2|Curse}}} (move)|<span style="color:#000;">{{{move2|Curse}}}</span>]]
| colspan="2" | [[{{{move2|Curse}}} (move)|<span style="color:#000;">{{{move2|Curse}}}</span>]]
Line 57: Line 61:
| class="roundybr" width="50%" style="background:#{{{{{move2cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move2cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move2cat|Status}}} textcolor}}}};">{{{move2cat|Status}}}</span>]]</small>
| class="roundybr" width="50%" style="background:#{{{{{move2cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move2cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move2cat|Status}}} textcolor}}}};">{{{move2cat|Status}}}</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;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| &nbsp;
| &nbsp;
Line 68: Line 72:
|-
|-
| 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: #FFFFFF; border-collapse:collapse;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| colspan="2" | [[{{{move3|Curse}}} (move)|<span style="color:#000;">{{{move3|Curse}}}</span>]]
| colspan="2" | [[{{{move3|Curse}}} (move)|<span style="color:#000;">{{{move3|Curse}}}</span>]]
Line 75: Line 79:
| class="roundybr" width="50%" style="background:#{{{{{move3cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move3cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move3cat|Status}}} textcolor}}}};">{{{move3cat|Status}}}</span>]]</small>
| class="roundybr" width="50%" style="background:#{{{{{move3cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move3cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move3cat|Status}}} textcolor}}}};">{{{move3cat|Status}}}</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;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| &nbsp;
| &nbsp;
Line 85: Line 89:
|}
|}
| 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: #FFFFFF; border-collapse:collapse;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| colspan="2" | [[{{{move4|Curse}}} (move)|<span style="color:#000;">{{{move4|Curse}}}</span>]]
| colspan="2" | [[{{{move4|Curse}}} (move)|<span style="color:#000;">{{{move4|Curse}}}</span>]]
Line 92: Line 96:
| class="roundybr" width="50%" style="background:#{{{{{move4cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move4cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move4cat|Status}}} textcolor}}}};">{{{move4cat|Status}}}</span>]]</small>
| class="roundybr" width="50%" style="background:#{{{{{move4cat|Status}}} color}}; line-height:12px;" | <small>[[{{{move4cat|Status}}} move|<span {{#if:{{{move1cat|}}}|style="color:#{{{{{move4cat|Status}}} textcolor}}}};">{{{move4cat|Status}}}</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;" cellspacing="1" cellpadding="3"
|- align="center"
|- align="center"
| &nbsp;
| &nbsp;
Line 102: Line 106:
|}
|}
|}
|}
|}<noinclude>[[Category:Party templates]][[Category:Subtemplates]]</noinclude>
|}<noinclude>{{documentation}}
 
[[Category:Party templates]][[Category:Subtemplates]]</noinclude>

Latest revision as of 11:07, 17 June 2024

000.png
Type:
Unknown Unknown
Ability:
No ability
Held item:
Noimage.png None Noimage.png
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/5}} is used to display a Pokémon from Generation V.

See the appropriate generation subtemplate:

Usage

{{Pokémon/5
|game=
|ndex=
|pokemon=
|nickname
|type1=
|type2=
|level
|gender=
|ability=
|held=
|move1=
|move1type=
|move1cat=
|move2=
|move2type=
|move2cat=
|move3=
|move3type=
|move3cat=
|move4=
|move4type=
|move4cat=
}}

Parameters

All parameters are case sensitive.

Parameter Allowed values Notes
game Black and WhiteBlackWhiteBlack 2 and White 2Black 2White 2 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>.
character String Optional. Complete override for the Pokémon name/nickname display.
type1 NormalFireFightingWaterFlyingGrassPoisonElectricGroundPsychicRockIceBugDragonGhostDarkSteel The Pokémon's primary type.
type2 Optional. The Pokémon's secondary type.
level Number The Pokémon's level.
gender malefemalebothnone Optional. The Pokémon's gender. Defaults to none.
spritegender shinymalemale shinyfemalefemale shiny Optional. The Pokémon's artwork gender. Set to shiny to display shiny sprite.
ability String The Pokémon's ability.
ability2 String Optional. The Pokémon's second ability.
abilitymd String Optional. The Pokémon's second ability in Mystery Dungeon games.
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
move1cat PhysicalSpecialStatus Optional. The damage category of the Pokémon's move. Defaults to Status.
move2cat
move3cat
move4cat

TemplateData

{{Pokémon/5}} is used to display a Pokémon from Generation V

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Gamegame

Game the sprite should be pulled from

Suggested values
Black and White Black White Black 2 and White 2 Black 2 White 2
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
Charactercharacter

Complete override for the Pokémon name/nickname display

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 Dark Steel
Default
Unknown
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 male male shiny female female shiny
Lineoptional
Abilityability

Pokémon's Ability

Linerequired
Ability2ability2

Second Ability

Linesuggested
AbilityMDabilitymd

Second ability in the Mystery Dungeon games

Lineoptional
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
Move1 Categorymove1cat

Damage category of the move

Suggested values
Physical Special Status
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
Move2 Categorymove2cat

Damage category of the move

Suggested values
Physical Special Status
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
Move3 Categorymove3cat

Damage category of the move

Suggested values
Physical Special Status
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
Move4 Categorymove4cat

Damage category of the move

Suggested values
Physical Special Status
Linesuggested

Examples

{{Pokémon/5
|game=Black and White
|ndex=495
|pokemon=Snivy
|level=5
|gender=male
|type1=Grass
|ability=Overgrow
|move1=Tackle|move1type=Normal|move1cat=Physical
|move2=Vine Whip|move2type=Grass|move2cat=Physical
}}
Spr 5b 495.png
Type:
Grass Unknown
Ability:
Overgrow
Held item:
Noimage.png None Noimage.png
Snivy Lv.5
Tackle
Normal Physical
Vine Whip
Grass Physical
  --  
   
  --  
   
{{Pokémon/5
|game=Black 2 and White 2
|ndex=497
|pokemon=Serperior
|nickname=Jalorda
|type1=Grass|type2=Ground
|gender=female
|spritegender=shiny
|ability=Overgrow|ability2=Contrary
|level=57
|held=Grass Gem
|move1=Giga Drain|move1type=Grass|move1cat=Special
|move2=Leaf Blade|move2type=Grass|move2cat=Physical
|move3=Dragon Tail|move3type=Dragon|move3cat=Physical
|move4=Coil|move4type=Poison|move4cat=Status
}}
Spr 5b2 497 s.png
Type:
Grass Unknown
Ability:
Overgrow or Contrary
Held item:
Bag Grass Gem Sprite.png Grass Gem
Jalorda Lv.57ShinyVStar.png
Giga Drain
Grass Special
Leaf Blade
Grass Physical
Dragon Tail
Dragon Physical
Coil
Poison Status