Template:PkmnInfo/doc

From PokéFarm Q Official Wiki
Jump to navigation Jump to search
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
Lunupine
Shiny Lunupine
Albino Lunupine
Melanistic Lunupine

Lunupine let out melodic howls during the nights of a full moon. It is rarely seen out in the wild.

Type:
Genders: 1 Male to 1 Female
EXP group: Medium-Fast (1,000,000)
Egg group: Field
Colour: Black / Blue
Size: ???
Body style: Quadruped
This information is currently missing.
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.

pkmnName

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.
  • Example: pkmnName = Oricorio (Pointe Style)

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.

type1

The primary type of the Pokémon. Sometimes used in combination with type2.

expHatch

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.

expGroup

The EXP Group of the Pokémon. Should be the exact same string as in the Pokédex.
  • Example: expGroup = Medium-Fast (1,000,000)

gender

The gender ratio for the Pokémon. Should be the exact same string as in the Pokédex.
  • Example: gender = 1 Male to 3 Females

eggGroup1

The primary Egg group of the Pokémon. Sometimes used in combination with eggGroup2.

colour1

The normal Pokédex colour of the Pokémon.

colour2

The shiny Pokédex colour of the Pokémon.

body

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.

fileName

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]].
  • Example: fileName = Oricorio Pointe

type2

The secondary type of the Pokémon. Should always be used in combination with type1.

eggGroup2

The secondary Egg Group of the Pokémon. Should always be used in combination with eggGroup1.