Template:Pokémon/1/Walkthrough/doc: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Documentation for {{Pokémon/1/Walkthrough}} |
→TemplateData: new section |
||
(One intermediate revision by one other user not shown) | |||
Line 18: | Line 18: | ||
* {{template|Pokémon/7/LG}} | * {{template|Pokémon/7/LG}} | ||
* {{template|Pokémon/8}} | * {{template|Pokémon/8}} | ||
* {{template|Pokémon/8/Dynamax}} | |||
* {{template|Pokémon/8/Contest}} | * {{template|Pokémon/8/Contest}} | ||
* {{template|Pokémon/9}} | * {{template|Pokémon/9}} | ||
Line 104: | Line 105: | ||
| move4type | | move4type | ||
|} | |} | ||
===TemplateData=== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"type1": { | |||
"label": "Type1", | |||
"description": "Pokémon's primary type", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Normal", | |||
"Fire", | |||
"Fighting", | |||
"Water", | |||
"Flying", | |||
"Grass", | |||
"Poison", | |||
"Electric", | |||
"Ground", | |||
"Psychic", | |||
"Rock", | |||
"Ice", | |||
"Bug", | |||
"Dragon", | |||
"Ghost" | |||
], | |||
"required": true, | |||
"default": "Unknown" | |||
}, | |||
"type2": { | |||
"label": "Type2", | |||
"description": "Pokémon's Secondary type", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Normal", | |||
"Fire", | |||
"Fighting", | |||
"Water", | |||
"Flying", | |||
"Grass", | |||
"Poison", | |||
"Electric", | |||
"Ground", | |||
"Psychic", | |||
"Rock", | |||
"Ice", | |||
"Bug", | |||
"Dragon", | |||
"Ghost" | |||
], | |||
"suggested": true, | |||
"default": "Unknown" | |||
}, | |||
"ndex": { | |||
"label": "NDex", | |||
"description": "4-digit National Pokédex number", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"pokemon": { | |||
"label": "Pokémon", | |||
"description": "Pokémon name", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"nickname": { | |||
"label": "Nickname", | |||
"description": "Pokémon's nickname", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"level": { | |||
"label": "Level", | |||
"description": "Pokémon's level", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"move1type": { | |||
"label": "Move1 Type", | |||
"description": "Move1's type", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Normal", | |||
"Fire", | |||
"Fighting", | |||
"Water", | |||
"Flying", | |||
"Grass", | |||
"Poison", | |||
"Electric", | |||
"Ground", | |||
"Psychic", | |||
"Rock", | |||
"Ice", | |||
"Bug", | |||
"Dragon", | |||
"Ghost" | |||
], | |||
"suggested": true, | |||
"default": "Unknown" | |||
}, | |||
"move1": { | |||
"label": "Move1", | |||
"description": "Move 1 name", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"move2type": { | |||
"label": "Move2 Type", | |||
"description": "Move 2 type", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Normal", | |||
"Fire", | |||
"Fighting", | |||
"Water", | |||
"Flying", | |||
"Grass", | |||
"Poison", | |||
"Electric", | |||
"Ground", | |||
"Psychic", | |||
"Rock", | |||
"Ice", | |||
"Bug", | |||
"Dragon", | |||
"Ghost" | |||
], | |||
"suggested": true, | |||
"default": "Unknown" | |||
}, | |||
"move2": { | |||
"label": "Move2", | |||
"description": "Move 2 name", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"move3type": { | |||
"label": "Move3 Type", | |||
"description": "Move 3 type", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Normal", | |||
"Fire", | |||
"Fighting", | |||
"Water", | |||
"Flying", | |||
"Grass", | |||
"Poison", | |||
"Electric", | |||
"Ground", | |||
"Psychic", | |||
"Rock", | |||
"Ice", | |||
"Bug", | |||
"Dragon", | |||
"Ghost" | |||
], | |||
"suggested": true, | |||
"default": "Unknown" | |||
}, | |||
"move3": { | |||
"label": "Move3", | |||
"description": "Move 3 name", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"move4type": { | |||
"label": "Move4 Type", | |||
"description": "Move 4 type", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Normal", | |||
"Fire", | |||
"Fighting", | |||
"Water", | |||
"Flying", | |||
"Grass", | |||
"Poison", | |||
"Electric", | |||
"Ground", | |||
"Psychic", | |||
"Rock", | |||
"Ice", | |||
"Bug", | |||
"Dragon", | |||
"Ghost" | |||
], | |||
"suggested": true, | |||
"default": "Unknown" | |||
}, | |||
"move4": { | |||
"label": "Move4", | |||
"description": "Move 4 name", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"img": { | |||
"label": "Image", | |||
"description": "Override for the entire image filename, without extension.", | |||
"type": "line" | |||
}, | |||
"form": { | |||
"label": "Form", | |||
"description": "Form Identified in the filename", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"size": { | |||
"label": "Size", | |||
"description": "Image Size", | |||
"type": "line", | |||
"default": "100px" | |||
} | |||
}, | |||
"description": "{{Pokémon/1/Walkthrough}} is used to display a Pokémon from Generation I", | |||
"paramOrder": [ | |||
"ndex", | |||
"pokemon", | |||
"nickname", | |||
"form", | |||
"img", | |||
"size", | |||
"level", | |||
"type1", | |||
"type2", | |||
"move1", | |||
"move1type", | |||
"move2", | |||
"move2type", | |||
"move3", | |||
"move3type", | |||
"move4", | |||
"move4type" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
==Examples== | ==Examples== |
Latest revision as of 21:39, 31 May 2024
{{Pokémon/1/Walkthrough}}
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/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 | 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/Walkthrough}} is used to display a Pokémon from Generation I
Parameter | Description | Type | Status | |
---|---|---|---|---|
NDex | ndex | 4-digit National Pokédex number | Line | required |
Pokémon | pokemon | Pokémon name | Line | required |
Nickname | nickname | Pokémon's nickname | Line | suggested |
Form | form | Form Identified in the filename | Line | suggested |
Image | img | Override for the entire image filename, without extension. | Line | optional |
Size | size | Image Size
| 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/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 }}
Fushigibana Lv.65