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="6" cellspacing="3" style="width: {{{Width|55}}}%; 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="6" cellspacing="3" style="width: {{{Width|55}}}%; 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;margin-left: 10px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">{{{Name|{{PAGENAME}}}}}b</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: 10px; 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 22:08, 3 April 2022