Template:PkmnInfo: Difference between revisions
Jump to navigation
Jump to search
(Here's hoping I got this right, but allow me to introduce conditionals.) |
(Typo in nesting) |
||
Line 45: | Line 45: | ||
!colspan="2" style="border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; border-radius: 6px 6px 0 0; font-size: 11pt;"|Type | !colspan="2" style="border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; border-radius: 6px 6px 0 0; font-size: 11pt;"|Type | ||
|- | |- | ||
|colspan="2" align="center" style="border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #e2ffcd; padding: 2px 4px;"|<span style="width: 50%; display: inline-block;">[[File:Type_{{{typePrimary}}}.png]]{{#if:{{{typeSecondary|}}}| | |colspan="2" align="center" style="border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #e2ffcd; padding: 2px 4px;"|<span style="width: 50%; display: inline-block;">[[File:Type_{{{typePrimary}}}.png]]{{#if:{{{typeSecondary|}}}| [[File:Type_{{{typeSecondary}}}.png]]}}{{#if:{{{type-alt|}}}|<span style="display: block; font-size: 9pt;">{{{pkmnName}}}</span>|}}</span>{{#if:{{{type-alt|}}}|<span style="width: 50%; display: inline-block;">[[File:Type_{{{typePrimary-alt}}}.png]]{{#if:{{{typeSecondary-alt|}}}| [[File:Type_{{{typeSecondary-alt}}}.png]]}}{{#if:{{{pkmnName-alt|}}}|<span style="display: block; font-size: 9pt;">{{{pkmnName-alt}}}</span>}}}}</span> | ||
|- | |- | ||
|style="height: 10px; padding: 0;"| | |style="height: 10px; padding: 0;"| | ||
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: #e2ffcd; padding: 2px 4px;"|{{#if:{{{genderless|}}}|Genderless <span style="cursor: help;" title="Neuter"> | |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;"|{{#if:{{{genderless|}}}|Genderless <span style="cursor: help;" title="Neuter">?</span>|{{{male}}} <span style="cursor: help;" title="Male">?</span> to {{{female}}} <span style="cursor: help;" title="Female">?</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 12:41, 17 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?