Difference between revisions of "Template:PixelmonInfo"

From Pokeplay.io
Jump to navigation Jump to search
Line 4: Line 4:
 
{{#vardefine:gen|{{#arrayindex:generations|{{#expr:{{#external_value:generation}} - 1}}}}}}
 
{{#vardefine:gen|{{#arrayindex:generations|{{#expr:{{#external_value:generation}} - 1}}}}}}
 
<table align="left" class="informational-box" cellpadding="4" cellspacing="4" style="width: {{{Width|45}}}%; border: 4px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color}}; padding: 4px; border-radius: 15px;">
 
<table align="left" class="informational-box" cellpadding="4" cellspacing="4" style="width: {{{Width|45}}}%; border: 4px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color}}; padding: 4px; border-radius: 15px;">
<tr><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">#{{padleft:{{#external_value:number}}|3}}</span>&nbsp;&nbsp;&nbsp;[[File:{{#external_value:number}}.png]]</td><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">{{{Name|{{PAGENAME}}}}}</span></td></tr>
+
<tr><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">#{{padleft:{{#external_value:number}}|3}}</span>&nbsp;&nbsp;&nbsp;[[File:{{#external_value:number}}.png]]</td><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px;margin-left: 20px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">{{{Name|{{PAGENAME}}}}}</span></td></tr>
  
 
<tr><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; padding: 11px; border-radius: 15px;"> <p style="margin-bottom: 7px; font-weight: bold; color: #{{{{#external_value:type1}}_color_dark}};">Type(s)</p>
 
<tr><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; padding: 11px; border-radius: 15px;"> <p style="margin-bottom: 7px; font-weight: bold; color: #{{{{#external_value:type1}}_color_dark}};">Type(s)</p>
Line 115: Line 115:
 
</tr>
 
</tr>
 
</table>
 
</table>
</includeonly>
 
<includeonly>
 
[[Category:Pokémon species]] [[Category:Generation {{#var:gen}} Pokémon]] [[Category:{{#external_value:type1}}-type Pokémon]] {{#if:{{#external_value:type2}} | [[Category:{{#external_value:type2}}-type Pokémon]]}} [[Category:{{#external_value:rarity}} Pokémon]] {{#ifeq: {{#external_value:npc}} | '' | [[Category:NPC-obtainable Pokémon]]}} {{#if:{{{EvolvesInto|}}} {{#if:{{{EvolvesFrom|}}} | | [[Category:Base-stage Pokémon]] }} }} [[Category:{{#expr:{{#var:bst}} round -2}}-plus-BST Pokémon]]
 
 
</includeonly>
 
</includeonly>

Revision as of 19:57, 3 April 2022