Template:PkmnInfo: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<div style="margin: 26px auto; display: block; width: 300px; border: 1px solid #400000; color: #400000; padding: 6px; background-color: #FFCDE2;"><div style="font-size: 22pt; font-weight: bold; border-bottom: 2px solid; padding-bottom: 2px;">WARNING</div>This template is under ''serious construction'' and is kind of a train wreck at the moment. Don't worry, it won't stay like this, of course. In the meantime, please refrain from extensively tampering with it.</div> | <div style="margin: 26px auto; display: block; width: 300px; border: 1px solid #400000; color: #400000; padding: 6px; background-color: #FFCDE2;"><div style="font-size: 22pt; font-weight: bold; border-bottom: 2px solid; padding-bottom: 2px;">WARNING</div>This template is under ''serious construction'' and is kind of a train wreck at the moment. Don't worry, it won't stay like this, of course. In the meantime, please refrain from extensively tampering with it.</div> | ||
</noinclude> | </noinclude><!-- | ||
<h6 style="width: 100%; font-size: 16pt; border: 2px solid #9EC690; border-bottom-width: 0; background-color: #D2E8AF; color: #004000; padding: 4px; border-radius: 10px 10px 0 0;">{{{pkmnName}}}</h6> | |||
<div style="image-rendering: pixelated; image-rendering: -moz-crisp-images; width: 100%; border: 2px solid #9EC690; border-radius: 0px 0px 8px 8px; background-color: #C1D091; color: #004000; padding: 6px;"> | Do not remove any comment tags. They are there to stop | ||
<div style="display: inline-block; width: 100px; background-color: #E2FFCD; height: 100px; border: 1px solid #9EC690; border-radius: 6px; padding: 4px; position: relative; box-sizing: content-box; overflow: hidden;"><!-- | whitespace affecting the positioning of elements. | ||
--><h6 style="width: 100%; font-size: 16pt; border: 2px solid #9EC690; border-bottom-width: 0; background-color: #D2E8AF; color: #004000; padding: 4px; border-radius: 10px 10px 0 0; box-sizing: border-box;">{{{pkmnName}}}</h6><!-- | |||
--><div style="image-rendering: pixelated; image-rendering: -moz-crisp-images; width: 100%; border: 2px solid #9EC690; border-radius: 0px 0px 8px 8px; background-color: #C1D091; color: #004000; padding: 6px; box-sizing: border-box;"><!-- | |||
--><div style="display: inline-block; width: 100px; background-color: #E2FFCD; height: 100px; border: 1px solid #9EC690; border-radius: 6px; padding: 4px; position: relative; box-sizing: content-box; overflow: hidden; margin: 0 8px 8px 0;"><!-- | |||
--><div style="display: block; width: 100px; height: 40px; border-radius: 50%; box-sizing: border-box; border: solid #9EC690; border-width: 1px 3px 5px; background-color: #C1D091; position: absolute; bottom: 4px;"></div><!-- | --><div style="display: block; width: 100px; height: 40px; border-radius: 50%; box-sizing: border-box; border: solid #9EC690; border-width: 1px 3px 5px; background-color: #C1D091; position: absolute; bottom: 4px;"></div><!-- | ||
--><div style="z-index: 1; position: relative; width: 0px; height: 0px; overflow: visible; padding: 75px 50px 25px 50px;"><!-- | --><div style="z-index: 1; position: relative; width: 0px; height: 0px; overflow: visible; padding: 75px 50px 25px 50px;"><!-- | ||
--><div style="position: absolute; transform: translateX(-50%) translateY(-75%);">[[File:Pokémon_{{{pkmnName}}}.png|alt={{{pkmnName}}}]]</div><!-- | --><div style="position: absolute; transform: translateX(-50%) translateY(-75%);"><!-- | ||
-->[[File:Pokémon_{{{pkmnName}}}.png|alt={{{pkmnName}}}]]<!-- | |||
--></div><!-- | |||
--></div><!-- | --></div><!-- | ||
--></div> | --></div><!-- | ||
+++++ Dex Info +++++ | |||
--><div style="display: inline-block; vertical-align: top; margin-bottom: 10px;"><!-- | |||
+++++ Egg Description +++++ | |||
--><div style="display: {{#if:{{{eggDesc|}}}|block|none}};"> | |||
<div style="border: 1px solid #9EC690; background-color: #D2E8AF; color: #004000; border-radius: 6px 6px 0 0; font-size: 11pt; font-weight: bold; padding: 4px;">Egg Description</div> | <div style="border: 1px solid #9EC690; background-color: #D2E8AF; color: #004000; border-radius: 6px 6px 0 0; font-size: 11pt; font-weight: bold; padding: 4px;">Egg Description</div> | ||
<div style="border: 1px solid #9EC690; border-width: 0 1px 0 1px; background-color: #E2FFCD; padding: 2px 4px;">"{{{eggDesc|}}}"</div> | <div style="border: 1px solid #9EC690; border-width: 0 1px 0 1px; background-color: #E2FFCD; padding: 2px 4px;">"{{{eggDesc|}}}"</div> | ||
</div> | </div><!-- | ||
+++++ Pokédex Entry +++++ | |||
--><div style="display: block;"><!-- | |||
<div style="border: 1px solid #9EC690; background-color: #D2E8AF; color: #004000; font-size: 11pt; font-weight: bold; padding: 4px; border-radius: {{#if:{{{eggDesc|}}}|0|6px 6px 0 0}};">Pokédex Entry</div> | --><div style="border: 1px solid #9EC690; background-color: #D2E8AF; color: #004000; font-size: 11pt; font-weight: bold; padding: 4px; border-radius: {{#if:{{{eggDesc|}}}|0|6px 6px 0 0}};">Pokédex Entry</div><!-- | ||
<div style="border: 1px solid #9EC690; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #E2FFCD; padding: 2px 4px;">"{{{dexEntry|{{Missing|{{{pkmnName}}}'s Pokédex Entry}}}}}"</div> | --><div style="border: 1px solid #9EC690; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #E2FFCD; padding: 2px 4px;">"{{{dexEntry|{{Missing|{{{pkmnName}}}'s Pokédex Entry}}}}}"</div><!-- | ||
</div> | --></div><!-- | ||
</div> | --></div><!-- | ||
</div> | --></div><!---- | ||
END OF TEMPLATE | |||
--------------> | |||
<noinclude> | <noinclude> | ||
Revision as of 02:20, 19 December 2016
{{{pkmnName}}}
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
LunupinePokédex Entry "Lunupine let out melodic howls during the nights of a full moon. It is rarely seen out in the wild."
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 |