Template:PkmnInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 60: | Line 60: | ||
!style="width: 50%; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; border-radius: 6px 6px 0 0; font-size: 11pt;"|Egg Group | !style="width: 50%; border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; border-radius: 6px 6px 0 0; font-size: 11pt;"|Egg Group | ||
|- | |- | ||
|align="center" style="width: 50%; border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #0f0; overflow: hidden; color: black;"|{{#if:{{male|}}||<div style="outline: 1px solid black; background-color: #00baff; border-color: black; position: absolute; width: calc( 100% * ( {{{male}}} / ( {{{male}}} + {{{female}}} ) ) ); height: 100%;"></div><div style="background-color: #ff34c8; width: calc( 100% * ( {{{female}}} / ( {{{male}}} + {{{female}}} ) ) ); height: 100%; outline: 1px solid black; position: absolute; margin-left: calc(100% * ( {{{male}}} / ( {{{male}}} + {{{female}}} ) ) );"></div><span>{{#if:{{{male|}}}|{{{male}}} Male(s) to {{{female}}} Female(s) | |align="center" style="width: 50%; border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #0f0; overflow: hidden; color: black; vertical-align: middle;"|{{#if:{{{male|}}}||<div style="outline: 1px solid black; background-color: #00baff; border-color: black; position: absolute; width: calc( 100% * ( {{{male}}} / ( {{{male}}} + {{{female}}} ) ) ); height: 100%;"></div><div style="background-color: #ff34c8; width: calc( 100% * ( {{{female}}} / ( {{{male}}} + {{{female}}} ) ) ); height: 100%; outline: 1px solid black; position: absolute; margin-left: calc(100% * ( {{{male}}} / ( {{{male}}} + {{{female}}} ) ) );"></div><span>{{#if:{{{male|}}}|{{{male}}} Male(s) to {{{female}}} Female(s)|Genderless}}</span>}} | ||
|align="center" style="width: 50%; border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #e2ffcd; padding: 2px 4px;"|{{{eggGroup}}} | |align="center" style="width: 50%; border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #e2ffcd; padding: 2px 4px;"|{{{eggGroup}}} | ||
|- | |- |
Revision as of 05:53, 20 November 2016
- Note: The template does not display properly with undefined variables. As such, the example displayed has been filled with Lunupine's information.
- Note: Template will be catagorised and documented and all that good stuff once I'm done making major changes to it because I keep having new ideas, you feel?