Template:EggInfo/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{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.}} | ||
<div class="EggInfo" style="border: 1px solid #c0c0c0; max-width: 900px; margin: 0.5em auto;"><div style="font-size: 1.2em; margin: 0; font-weight: bold; color: #ffffff; padding: 4px; background-color: #cf8b54; margin-top: 0;">Egg</div><div style="padding: 4px; background: #ffffff;"><div style="float: left; margin: 0.5em 4px 4px 0;">[[File:Lunupine_Egg.png|alt=Lunupine Egg|Lunupine Egg]]</div><p><i>A black Egg with yellow marks that resemble a crescent moon. There's a strange vibe about it.</i></p><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;"> | <div class="EggInfo" style="border: 1px solid #c0c0c0; max-width: 900px; margin: 0.5em auto;"><div style="font-size: 1.2em; margin: 0; font-weight: bold; color: #ffffff; padding: 4px; background-color: #cf8b54; margin-top: 0;">Egg</div><div style="padding: 4px; background: #ffffff;"><div style="float: left; margin: 0.5em 4px 4px 0;">[[File:Lunupine_Egg.png|alt=Lunupine Egg|Lunupine Egg]]</div><p><i>A black Egg with yellow marks that resemble a crescent moon. There's a strange vibe about it.</i></p><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> 5,120</div></div></div> | ||
== Parameters == | == Parameters == | ||
Line 28: | Line 28: | ||
{| style="margin-left: 36px" | | {| style="margin-left: 36px" | | ||
|- | |- | ||
! 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>Exp to Hatch</code></h4> | ||
| The amount of EXP required to hatch the Pokémon's Egg. | | The amount of EXP required to hatch the Pokémon's Egg. | ||
|- | |- |
Latest revision as of 13:50, 29 March 2024
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
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.
|
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.
|
The amount of EXP required to hatch the Pokémon's Egg. |
---|---|
|
The Egg Description of the Pokémon. This should be the exact same text that appears in the Pokédex on PFQ. |