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" | ||
| | | | ||
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" | ||
| | | | ||
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" | ||
| | | | ||
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" | ||
| | | | ||
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
|
| ||||||||||||||||||||||||
Missingno. Lv.0 | |||||||||||||||||||||||||
|
{{Pokémon/5}}
is used to display a Pokémon from Generation V.
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/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 White • Black • White • Black 2 and White 2 • Black 2 • White 2
|
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> .
|
character | String | Optional. Complete override for the Pokémon name/nickname display. |
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. | |
level | Number | The Pokémon's level. |
gender | male • female • both • none
|
Optional. The Pokémon's gender. Defaults to none .
|
spritegender | shiny • male • male shiny • female • female 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 | 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 | ||
move1cat | Physical • Special • Status
|
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
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 |
Character | character | Complete override for the Pokémon name/nickname display | Line | optional |
Type1 | type1 | Pokémon's primary type
| Line | required |
Type2 | type2 | Pokémon's Secondary type
| 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 |
Ability | ability | Pokémon's Ability | Line | required |
Ability2 | ability2 | Second Ability | Line | suggested |
AbilityMD | abilitymd | Second ability in the Mystery Dungeon games | Line | optional |
Held | held | Held Item | Line | suggested |
Move1 | move1 | Move 1 name | Line | suggested |
Move1 Type | move1type | Move1's type
| Line | suggested |
Move1 Category | move1cat | Damage category of the move
| Line | suggested |
Move2 | move2 | Move 2 name | Line | suggested |
Move2 Type | move2type | Move 2 type
| Line | suggested |
Move2 Category | move2cat | Damage category of the move
| Line | suggested |
Move3 | move3 | Move 3 name | Line | suggested |
Move3 Type | move3type | Move 3 type
| Line | suggested |
Move3 Category | move3cat | Damage category of the move
| Line | suggested |
Move4 | move4 | Move 4 name | Line | suggested |
Move4 Type | move4type | Move 4 type
| Line | suggested |
Move4 Category | move4cat | Damage category of the move
| Line | suggested |
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 }}
|
| ||||||||||||||||||||||
Snivy♂ Lv.5 | |||||||||||||||||||||||
|
{{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 }}
|
| ||||||||||||||||||||
Jalorda♀ Lv.57 | |||||||||||||||||||||
|