Template:Pokémon/1: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(adding margin auto to move boxes) Tags: Mobile edit Mobile web edit |
m (more mobile adjustments) |
||
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;" | ||
|- | |- | ||
| width="50%" | | | width="50%" | | ||
<center> | |||
{| class="roundy" style="margin:auto; background: #FFF;" | {| class="roundy" style="margin:auto; background: #FFF;" | ||
|- | |- | ||
| [[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq:{{{back|no}}}|yes|b_g1|1{{#switch: {{{game|Red and Green}}}|Red and Green|Green=g|Red and Blue|Red={{#switch: {{#ifexpr: {{#time:z}} = {{#time:z|April 1}}}}|g|b}}|Blue=b|Yellow=y}}}}_}}{{{ndex|000}}}.png]] | | [[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq:{{{back|no}}}|yes|b_g1|1{{#switch: {{{game|Red and Green}}}|Red and Green|Green=g|Red and Blue|Red={{#switch: {{#ifexpr: {{#time:z}} = {{#time:z|April 1}}}}|g|b}}|Blue=b|Yellow=y}}}}_}}{{{ndex|000}}}.png]] | ||
|} | |} | ||
</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}}}'''}}]] | ||
|} | |} | ||
</center> | |||
|- | |- | ||
| class="roundy" style="margin:auto; text-align: center; background: #FFF;" | [[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]] <small>Lv.</small>{{{level|0}}} | | class="roundy" style="margin:auto; text-align: center; background: #FFF;" | [[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]] <small>Lv.</small>{{{level|0}}} | ||
|- | |- | ||
| class="roundy" colspan="2" style="background: #FFF;" | | | class="roundy" colspan="2" style="background: #FFF;" | | ||
{| class="roundy" width="100%" style="margin:auto; background: #FFF;" | {| class="roundy" width="100%" style="margin:auto; background: #FFF; 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}}" | |
Latest revision as of 08:44, 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/1}}
is used to display a Pokémon from Generation I.
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/1 |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 | Red and Green • Green • Red and Blue • Red • Blue • Yellow
|
The game the sprite should be pulled from. |
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> .
|
back | yes • no
|
Optional. Set to yes to show back sprite. Defaults to no .
|
level | Number | The Pokémon's level. |
type1 | Normal • Fire • Fighting • Water • Flying • Grass • Poison • Electric • Ground • Psychic • Rock • Ice • Bug • Dragon • Ghost
|
The Pokémon's primary type. |
type2 | Optional. The Pokémon's secondary type. | |
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
|
Optional. The type of the Pokémon's move. |
move2type | ||
move3type | ||
move4type |
TemplateData
{{Pokémon/1}} is used to display a Pokémon from Generation I
Parameter | Description | Type | Status | |
---|---|---|---|---|
Game | game | Game the sprite should be pulled from
| Line | required |
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 |
Back Sprite | back | Set to "yes" to show back sprite
| Line | optional |
Level | level | Pokémon's level | Line | required |
Type1 | type1 | Pokémon's primary type
| Line | required |
Type2 | type2 | Pokémon's Secondary type
| 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/1 |game=Red and Green |ndex=001 |pokemon=Bulbasaur |level=5 |type1=Grass |move1=Tackle|move1type=Normal |move2=Leech Seed|move2type=Grass }}
|
| ||||||||||||||||||
Bulbasaur Lv.5 | |||||||||||||||||||
|
{{Pokémon/1 |game=Red and Blue |ndex=003 |pokemon=Venusaur |nickname=Fushigibana |level=65 |type1=Grass|type2=Poison |move1=Growth|move1type=Normal |move2=Mega Drain|move2type=Grass |move3=Razor Leaf|move3type=Grass |move4=SolarBeam|move4type=Grass }}
|
| ||||||||||||
Fushigibana Lv.65 | |||||||||||||
|