Template:EggInfo: Difference between revisions

From PokéFarm Q Official Wiki
Jump to navigation Jump to search
(idea didn't work lol)
Tag: Manual revert
mNo edit summary
 
Line 17: Line 17:


         --><div style="display: inline-block; vertical-align: top; width: 50%; min-width: 312px; margin: 4px 0; clear: left;><!--
         --><div style="display: inline-block; vertical-align: top; width: 50%; min-width: 312px; margin: 4px 0; clear: left;><!--
             --><b style="display: inline-block; width: 100px;">Exp to Hatch:</b> {{#if:{{{Exp to Hatch|}}}|{{{Exp to Hatch}}}|{{Missing|{{{pkmnName}}}'s Exp to Hatch.}}}}<!--
             --><b style="display: inline-block; width: 100px;">EXP to hatch:</b> {{#if:{{{Exp to Hatch|}}}|{{{Exp to Hatch}}}|{{Missing|{{{pkmnName}}}'s Exp to Hatch.}}}}<!--
         --></div><!--
         --></div><!--



Latest revision as of 14:55, 29 March 2024

Template Documentation

This documentation contains information on the template, including but not limited to, the usage, examples, and restrictions.

Usage

The {{PkmnInfo}} template is used in the "Pokédex Info" section of a Pokémon/evolutionary family's Wiki page. A separate template must be filled out for each member of the evolutionary family.

Example

Note: The template does not display properly with undefined variables. As such, the example displayed has been filled with Lunupine's information.
Egg
Lunupine Egg

A black Egg with yellow marks that resemble a crescent moon. There's a strange vibe about it.

Exp to Hatch: 5,120

Parameters

Any parameters which are not required may be left blank. They will be filled using Template:Missing automatically.

Required

The following parameter(s) 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 {{EggInfo}} to function properly. This should be the name of the Pokémon in question.

Expected

The following parameters should always be defined, though they may be unavailable.

Exp to Hatch

The amount of EXP required to hatch the Pokémon's Egg.

description

The Egg Description of the Pokémon. This should be the exact same text that appears in the Pokédex on PFQ.

Edit: Template:EggInfo/doc