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="center" 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="center" 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}}Icon.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}}}}}[[File:{{#external_value:number}}{{#external_value:name}}.png|150px]]</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}}Icon.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}}; 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>

Revision as of 21:04, 3 February 2022