Template:PkmnInfo: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
whitespace affecting the positioning of elements. | whitespace affecting the positioning of elements. | ||
--><div class="PkmnInfo"><{{{head-element|h6}}} style=" | --><div class="PkmnInfo" style="border: 2px solid #9EC690; width: 100%; "><{{{head-element|h6}}} style="font-size: 16pt; border-bottom: 2px solid #9EC690; background-color: #D2E8AF; color: #004000; padding: 0 4px; border-radius: 10px 10px 0 0; box-sizing: border-box; margin-top: 8px; font-weight: bold;">{{{pkmnName}}}</{{{head-element|h6}}}><!-- | ||
----- MAIN CONTENT STYLING ----- | ----- MAIN CONTENT STYLING ----- | ||
--><div style="image-rendering: pixelated; image-rendering: -moz-crisp-images | --><div style="image-rendering: pixelated; image-rendering: -moz-crisp-images; border-radius: 6px; background-color: #C1D091; color: #004000; padding: 5px; box-sizing: border-box; text-align: center; margin-bottom: 8px;"><!-- | ||
----- /MAIN CONTENT STYLING ----- | ----- /MAIN CONTENT STYLING ----- | ||
--><div style="display: inline-block;"><!-- | --><div style="display: inline-block;"><!-- | ||
Line 87: | Line 87: | ||
--><div style="border-radius: 5px; background-color: #E2FFCD; padding: 2px 4px; text-align: left;">{{{etymology}}}</div><!-- | --><div style="border-radius: 5px; background-color: #E2FFCD; padding: 2px 4px; text-align: left;">{{{etymology}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div></div><!---- | --></div></div></div></div><!---- | ||
END OF TEMPLATE | END OF TEMPLATE | ||
--------------></includeonly><noinclude>{{Documentation}} | --------------></includeonly><noinclude>{{Documentation}} | ||
[[Category:Templates Under Construction]]</noinclude> | [[Category:Templates Under Construction]]</noinclude> |
Revision as of 19:33, 21 May 2017
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 |