Template:PkmnInfo: Difference between revisions
Jump to navigation
Jump to search
(Reverted to older version.) |
(Here's hoping I got this right, but allow me to introduce conditionals.) |
||
Line 32: | Line 32: | ||
|- | |- | ||
|style="height: 10px; padding: 0;"| | |style="height: 10px; padding: 0;"| | ||
|- style=" | |- style="{{#if:{{{dexEntry-alt|}}}||display: none}};" | ||
!colspan="2" style="border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; border-radius: 6px 6px 0 0; font-size: 11pt;"|Egg Description | !colspan="2" style="border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; border-radius: 6px 6px 0 0; font-size: 11pt;"|Egg Description | ||
|- style=" | |- style="{{#if:{{{dexEntry-alt|}}}||display: none}};" | ||
|colspan="2" style="border: 1px solid #332211; border-width: 0 1px 0 1px; background-color: #e2ffcd; padding: 2px 4px; border-radius: {{{eggDesc-alt| | |colspan="2" style="border: 1px solid #332211; border-width: 0 1px 0 1px; background-color: #e2ffcd; padding: 2px 4px; border-radius: {{#if:{{{eggDesc-alt|}}}|0|0 0 6px 6px}};"|"{{{eggDesc|}}}{{{eggDesc-alt|}}}" | ||
|- | |- | ||
!colspan="2" style="border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; font-size: 11pt; border-radius: {{{dexEntry-alt| | !colspan="2" style="border: 1px solid #332211; background-color: #64493e; color: #CCCCCC; font-size: 11pt; border-radius: {{#if:{{{dexEntry-alt|}}}|0|6px 6px 0 0}};"|PokéDex Entry | ||
|- | |- | ||
|colspan="2" style="border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #e2ffcd; padding: 2px 4px;"|"{{{dexEntry|}}}{{{dexEntry-alt|}}}" | |colspan="2" style="border: 1px solid #332211; border-width: 0 1px 1px 1px; border-radius: 0 0 6px 6px; background-color: #e2ffcd; padding: 2px 4px;"|"{{{dexEntry|}}}{{{dexEntry-alt|}}}" | ||
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]] | |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|}}}|<span style="margin-left: 3px;">[[File:Type_{{{typeSecondary}}}.png]]</span>|}}{{#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|}}}|<span style="margin-left: 3px;">[[File:Type_{{{typeSecondary-alt}}}.png]]</span>|}}{{#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;"| | |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:30, 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?