Template:PkmnInfo/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{Note|The template does not display properly with undefined variables. As such, the example displayed has been filled with [[Lunupine]]'s information.}} | {{Note|The template does not display properly with undefined variables. As such, the example displayed has been filled with [[Lunupine]]'s information.}} | ||
{{PkmnInfo | {{PkmnInfo | ||
|head-element=div | | head-element = div | ||
|pkmnName=Lunupine | | pkmnName = Lunupine | ||
| | | type1 = Dark | ||
| expHatch = 5,120 | |||
|expHatch=5, | | expGroup = Medium-Fast (1,000,000) | ||
|expGroup=Medium-Fast (1,000,000) | | gender = 1 Male to 1 Female | ||
| eggGroup1 = Field | |||
|gender=1 Male to 1 Female | | colour1 = Black | ||
|eggGroup1=Field | | colour2 = Blue | ||
|colour1=Black | | body = Quadruped | ||
|colour2=Blue | | eggDesc = A black Egg with yellow marks that resemble a crescent moon. There's a strange vibe about it. | ||
|body=Quadruped | | dexEntry = Lunupine let out melodic howls during the nights of a full moon. It is rarely seen out in the wild. | ||
|etymology=A combination of the Latin ''luna'', meaning moon, and "lupine", derived from the Latin ''lupinus'', meaning wolf. | | etymology = A combination of the Latin ''luna'', meaning moon, and "lupine", derived from the Latin ''lupinus'', meaning wolf. | ||
}} | }} | ||
Line 27: | Line 27: | ||
|- | |- | ||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>pkmnName</code></h4> | ! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>pkmnName</code></h4> | ||
| This value is the bare minimum required for '''<nowiki>{{PkmnInfo}}</nowiki>''' to function properly. This should be the name of the Pokémon in question and should include the forme if applicable. | | This value is the bare minimum required for '''<nowiki>{{PkmnInfo}}</nowiki>''' to function properly. This should be the name of the Pokémon in question and should include the forme if applicable. In some cases defining [[#fileName|<span style="font-family:monospace">fileName</span>]] may be necessary for the Pokémon's image to display. | ||
:*Example: <code>pkmnName = Oricorio (Pointe Style)</code> | :*Example: <code>pkmnName = Oricorio (Pointe Style)</code> | ||
|} | |} | ||
Line 39: | Line 36: | ||
{| style="margin-left: 36px" | | {| style="margin-left: 36px" | | ||
|- | |||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>type1</code></h4> | |||
| The primary type of the Pokémon. Sometimes used in combination with [[#type2|<span style="font-family:monospace">type2</span>]]. | |||
|- | |||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>expHatch</code></h4> | |||
| The amount of EXP required to hatch the Pokémon's Egg. If the Pokémon is not known to hatch from an Egg, this value should be set to <code>0</code>. | |||
|- | |||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>expGroup</code></h4> | |||
| The EXP Group of the Pokémon. Should be the exact same string as in the Pokédex. | |||
:*Example: <code>expGroup = Medium-Fast (1,000,000)</code> | |||
|- | |- | ||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>gender</code></h4> | ! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>gender</code></h4> | ||
| The gender ratio for the Pokémon. | | The gender ratio for the Pokémon. Should be the exact same string as in the Pokédex. | ||
:*Example: <code>gender = 1 Male to 3 Females</code> | |||
|- | |||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>eggGroup1</code></h4> | |||
| The primary Egg group of the Pokémon. Sometimes used in combination with [[#eggGroup2|<span style="font-family:monospace">eggGroup2</span>]]. | |||
|- | |- | ||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>colour1</code></h4> | ! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>colour1</code></h4> | ||
Line 49: | Line 60: | ||
| The shiny Pokédex colour of the Pokémon. | | The shiny Pokédex colour of the Pokémon. | ||
|- | |- | ||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code> | ! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>body</code></h4> | ||
| The | | The body style of the Pokémon. | ||
|} | |} | ||
Line 65: | Line 73: | ||
| If the file name of the Pokémon's image does not match [[#pkmnName|<span style="font-family:monospace">pkmnName</span>]], set this parameter to the file name, excluding <code>[[File:Pokémon_</code> and <code>.png]]</code>. | | If the file name of the Pokémon's image does not match [[#pkmnName|<span style="font-family:monospace">pkmnName</span>]], set this parameter to the file name, excluding <code>[[File:Pokémon_</code> and <code>.png]]</code>. | ||
:*Example: <code>fileName = Oricorio Pointe</code> | :*Example: <code>fileName = Oricorio Pointe</code> | ||
|- | |||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>type2</code></h4> | |||
| The secondary type of the Pokémon. Should always be used in combination with [[#type1|<span style="font-family:monospace">type1</span>]]. | |||
|- | |- | ||
! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>eggGroup2</code></h4> | ! style="vertical-align: top; text-align: left" | <h4 style="display: inline; font-weight: normal;"><code>eggGroup2</code></h4> | ||
| The secondary Egg Group of the Pokémon. | | The secondary Egg Group of the Pokémon. Should always be used in combination with [[#eggGroup1|<span style="font-family:monospace">eggGroup1</span>]]. | ||
|} | |} |
Revision as of 23:02, 22 May 2017
- Note: This document as well as the template that it pertains to are currently works in progress. Please refrain from changing information for the time being.
Example
- Note: The template does not display properly with undefined variables. As such, the example displayed has been filled with Lunupine's information.
Lunupine let out melodic howls during the nights of a full moon. It is rarely seen out in the wild.
Help us by adding Lunupine's base stats.
Parameters
Required
The following parameters must be defined at all times. Failure to do so will result in the template displaying improperly.
|
This value is the bare minimum required for {{PkmnInfo}} to function properly. This should be the name of the Pokémon in question and should include the forme if applicable. In some cases defining fileName may be necessary for the Pokémon's image to display.
|
---|
Expected
The following parameters should always be defined, though they may be unavailable. If undefined, they will automatically be filled with a missing template. As such, if information is unavailable, do not fill these parameters with the {{Missing}} template, but instead leave them blank, as there is logic within the template based on whether or not a parameter is defined that has the potential to break the template if an unexpected value is used.
|
The primary type of the Pokémon. Sometimes used in combination with type2. |
---|---|
|
The amount of EXP required to hatch the Pokémon's Egg. If the Pokémon is not known to hatch from an Egg, this value should be set to 0 .
|
|
The EXP Group of the Pokémon. Should be the exact same string as in the Pokédex.
|
|
The gender ratio for the Pokémon. Should be the exact same string as in the Pokédex.
|
|
The primary Egg group of the Pokémon. Sometimes used in combination with eggGroup2. |
|
The normal Pokédex colour of the Pokémon. |
|
The shiny Pokédex colour of the Pokémon. |
|
The body style of the Pokémon. |
Optional
The following parameters needn't necessarily be defined in all cases. That being said, if any of the following are applicable to the Pokémon in question, the parameters should be defined using the {{Missing}} template.
|
If the file name of the Pokémon's image does not match pkmnName, set this parameter to the file name, excluding [[File:Pokémon_ and .png]] .
|
---|---|
|
The secondary type of the Pokémon. Should always be used in combination with type1. |
|
The secondary Egg Group of the Pokémon. Should always be used in combination with eggGroup1. |