Template:PkmnInfo: Difference between revisions
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
--><div style="display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; -ms-flex-pack: distribute; justify-content: space-around; max-width: 390px; vertical-align: top;"><!-- | --><div style="display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; -ms-flex-pack: distribute; justify-content: space-around; max-width: 390px; vertical-align: top;"><!-- | ||
--><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | --><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;">EXP to Hatch</div><!-- | ||
--><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{#ifeq: {{{expHatch|}}} | 0 | <span style="opacity:0.37;font-style:italic">Cannot be hatched.</span> | {{{expHatch|{{Missing|The amount of EXP required to hatch a(n) {{{pkmnName}}} Egg}}}}}}}</div><!-- | --><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{#ifeq: {{{expHatch|}}} | 0 | <span style="opacity:0.37;font-style:italic">Cannot be hatched.</span> | {{{expHatch|{{Missing|The amount of EXP required to hatch a(n) {{{pkmnName}}} Egg}}}}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | --><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;">EXP Group</div><!-- | ||
--><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{{expGroup|{{Missing|{{{pkmnName}}}'s EXP group.}}}}}</div><!-- | --><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{{expGroup|{{Missing|{{{pkmnName}}}'s EXP group.}}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | --><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;">Gender Ratio</div><!-- | ||
--><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{{gender|{{Missing|{{{pkmnName}}}'s gender ratio.}}}}}</div><!-- | --><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{{gender|{{Missing|{{{pkmnName}}}'s gender ratio.}}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"> | --><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"> | ||
<div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | <div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;">Egg Group{{#if:{{{eggGroup2|}}}|s|}}</div> | ||
<div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{#if:{{{eggGroup1|}}}|{{{eggGroup1}}}{{#if:{{{eggGroup2|}}}|<br />{{{eggGroup2}}}|}}|{{Missing|{{{pkmnName}}}'s Egg Group.}}}}</div><!-- | <div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{#if:{{{eggGroup1|}}}|{{{eggGroup1}}}{{#if:{{{eggGroup2|}}}|<br />{{{eggGroup2}}}|}}|{{Missing|{{{pkmnName}}}'s Egg Group.}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | --><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;">Colour</div><!-- | ||
--><div style="border-radius: 0 0 5px 5px; background-color: #ffffff;"><table style="display: inline-block; text-align: left;"><tr><td><span style="display: inline-block; width: 1em; height: 1em; vertical-align: text-top; border: 1px solid #9ec690; border-radius: 4px;{{#if: {{{colour1|}}} | background-color: {{{colour1}}} |}}"></span> {{#if:{{{colour1|}}}|{{{colour1}}}|{{Missing|{{{pkmnName}}}'s normal Pokédex Colour.}}}}</td></tr><tr><td><span style="display: inline-block; width: 1em; height: 1em; vertical-align: text-top; border: 1px solid #9ec690; border-radius: 4px;{{#if: {{{colour2|}}} | background-color: {{{colour2}}} |}}"></span> {{#if:{{{colour2|}}}|{{{colour2}}}|{{Missing|{{{pkmnName}}}'s Shiny Pokédex Colour.}}}}</td></tr></table></div><!-- | --><div style="border-radius: 0 0 5px 5px; background-color: #ffffff;"><table style="display: inline-block; text-align: left;"><tr><td><span style="display: inline-block; width: 1em; height: 1em; vertical-align: text-top; border: 1px solid #9ec690; border-radius: 4px;{{#if: {{{colour1|}}} | background-color: {{{colour1}}} |}}"></span> {{#if:{{{colour1|}}}|{{{colour1}}}|{{Missing|{{{pkmnName}}}'s normal Pokédex Colour.}}}}</td></tr><tr><td><span style="display: inline-block; width: 1em; height: 1em; vertical-align: text-top; border: 1px solid #9ec690; border-radius: 4px;{{#if: {{{colour2|}}} | background-color: {{{colour2}}} |}}"></span> {{#if:{{{colour2|}}}|{{{colour2}}}|{{Missing|{{{pkmnName}}}'s Shiny Pokédex Colour.}}}}</td></tr></table></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | --><div style="border: 1px solid #9EC690; background-color: #ffffff; margin: 3px; width: 122px;"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;">Body Style</div><!-- | ||
--><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{#if:{{{body|}}}|[[File:Body_Style_{{{body}}}.png|{{{body}}}]]|{{Missing|{{{pkmnName}}}'s Body Style.}}}}</div><!-- | --><div style="border-radius: 0 0 5px 5px; background-color: #ffffff; padding: 4px;">{{#if:{{{body|}}}|[[File:Body_Style_{{{body}}}.png|{{{body}}}]]|{{Missing|{{{pkmnName}}}'s Body Style.}}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 60: | Line 60: | ||
-------- EGG DESCRIPTION ----- | -------- EGG DESCRIPTION ----- | ||
--><div style="margin: 3px; border: 1px solid #9EC690; background-color: #ffffff; border-radius: 6px;"><!-- | --><div style="margin: 3px; border: 1px solid #9EC690; background-color: #ffffff; border-radius: 6px;"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;"><!-- | ||
-->Egg Description<!-- | -->Egg Description<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 69: | Line 69: | ||
-------- POKÉDEX ENTRY ----- | -------- POKÉDEX ENTRY ----- | ||
--><div style="margin: 3px; border: 1px solid #9EC690; background-color: #ffffff; border-radius: 6px;"><!-- | --><div style="margin: 3px; border: 1px solid #9EC690; background-color: #ffffff; border-radius: 6px;"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;"><!-- | ||
-->Pokédex Entry<!-- | -->Pokédex Entry<!-- | ||
--></div><!-- | --></div><!-- | ||
Line 79: | Line 79: | ||
+ ETYMOLOGY + | + ETYMOLOGY + | ||
--><div style="margin: 3px; border: 1px solid #9EC690; background-color: #ffffff; {{#if: {{{etymology|}}} | | display: none; }}"><!-- | --><div style="margin: 3px; border: 1px solid #9EC690; background-color: #ffffff; {{#if: {{{etymology|}}} | | display: none; }}"><!-- | ||
--><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000 | --><div style="border-bottom: 1px solid #9EC690; background-color: #cf8b54; color: #004000; font-size: 11pt; font-weight: bold; padding: 2px 0 0;"><!-- | ||
-->Etymology<!-- | -->Etymology<!-- | ||
--></div><!-- | --></div><!-- |
Revision as of 12:36, 17 November 2017
Oh, hey, so this is heavily under construction again.
Template Documentation This documentation contains information on the template, including but not limited to, the usage, examples, and restrictions. UsageThe 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. Additionally, if the Wiki page in question includes a basic form that hatches from an Egg, an appropriately-filled EggInfo template should precede the first PkmnInfo template. An understanding of the following template(s) are required to use the PkmnInfo template: Example
Lunupine ParametersRequiredThe following parameters must be defined at all times. Failure to do so will result in the template displaying improperly.
ExpectedThe 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.
OptionalThe following parameters needn't necessarily be defined in all cases.
Edit: Template:PkmnInfo/doc |