Template:Pokémon/1/Walkthrough: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with "<div class="roundy" style="width: 270px; background: linear-gradient(45deg, #{{{{{type1|Unknown}}} color light}} 50%, #{{{{{type2|{{{type1|Unknown}}}}}} color light}} 50%); pa...")
 
(Changing from shared documentation to its own documentation; since many fields and examples are different; also it won't cause issues with TemplateData)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<div class="roundy" style="width: 270px; background: linear-gradient(45deg, #{{{{{type1|Unknown}}} color light}} 50%, #{{{{{type2|{{{type1|Unknown}}}}}} color light}} 50%); padding: 1px 1px 4px 4px;"><!--Pokemon box OPEN-->
<div class="roundy" style="width: 270px; box-shadow: 0 0 0.2em #999999; background: linear-gradient(45deg, #{{{{{type1|Unknown}}} color light}} 50%, #{{{{{type2|{{{type1|Unknown}}}}}} color light}} 50%); padding: 1px 1px 4px 4px;"><!--Pokemon box OPEN-->
<div style="float: left; width: 130px;"><!--Sprite box OPEN-->
<div style="float: left; width: 130px;"><!--Sprite box OPEN-->
<div class="roundy" style="margin: 5px auto; background: #FFF; padding: 2px; width: fit-content;">[[File:{{{img|{{{ndex|0001}}}{{#switch: {{{pokemon|Bulbasaur}}}|Nidoran♀|Nidoran♂=Nidoran|Mime Jr.=Mime Jr|{{{pokemon|Bulbasaur}}}}}{{{form|}}}}}}.png|{{{size|100px}}}]]</div>
<div class="roundy" style="margin: 5px auto; background: #FFF; padding: 2px; width: fit-content;">[[File:{{{img|{{{ndex|0001}}}{{#switch: {{{pokemon|Bulbasaur}}}|Nidoran♀|Nidoran♂=Nidoran|Mime Jr.=Mime Jr|{{{pokemon|Bulbasaur}}}}}{{{form|}}}}}}.png|{{{size|100px}}}]]</div>
Line 44: Line 44:
</div><!--Move list CLOSE-->
</div><!--Move list CLOSE-->
</div><!--Pokemon box CLOSE--><noinclude>
</div><!--Pokemon box CLOSE--><noinclude>
{{Documentation|Template:Pokémon/1/doc}}
{{Documentation|Template:Pokémon/1/Walkthrough/doc}}


[[Category:Party templates]]
[[Category:Party templates]]
</noinclude>
</noinclude>

Latest revision as of 01:13, 22 March 2024

0001Bulbasaur.png
Type:



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/Walkthrough}} is used to display a Pokémon from Generation I.

See the appropriate generation subtemplate:

Usage

{{Pokémon/1/Walkthrough
|ndex=
|pokemon=
|level=
|type1=
|type2=
|move1=
|move1type=
|move2=
|move2type=
|move3=
|move3type=
|move4=
|move4type=
}}

Parameters

All parameters are case sensitive.

Parameter Allowed values Notes
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>.
form String Optional. The Pokémon's form identifier. Needs a - at the start. Example: -Starter.
img Filename Optional. Override for the image. Image needs to be png.
size File size Optional. The image size. Defaults to 100px.
level Number The Pokémon's level.
type1 NormalFireFightingWaterFlyingGrassPoisonElectricGroundPsychicRockIceBugDragonGhost 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 NormalFireFightingWaterFlyingGrassPoisonElectricGroundPsychicRockIceBugDragonGhost Optional. The type of the Pokémon's move.
move2type
move3type
move4type

TemplateData

{{Pokémon/1/Walkthrough}} is used to display a Pokémon from Generation I

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
NDexndex

4-digit National Pokédex number

Linerequired
Pokémonpokemon

Pokémon name

Linerequired
Nicknamenickname

Pokémon's nickname

Linesuggested
Formform

Form Identified in the filename

Linesuggested
Imageimg

Override for the entire image filename, without extension.

Lineoptional
Sizesize

Image Size

Default
100px
Lineoptional
Levellevel

Pokémon's level

Linerequired
Type1type1

Pokémon's primary type

Suggested values
Normal Fire Fighting Water Flying Grass Poison Electric Ground Psychic Rock Ice Bug Dragon Ghost
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
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
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
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
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
Default
Unknown
Linesuggested

Examples

{{Pokémon/1/Walkthrough
|ndex=0001
|pokemon=Bulbasaur
|level=5
|type1=Grass
|move1=Tackle|move1type=Normal
|move2=Leech Seed|move2type=Grass
}}
{{Pokémon/1/Walkthrough
|ndex=0003
|pokemon=Venusaur
|img=003Venusaur OS anime 2
|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
}}