Difference between revisions of "Template:PixelmonInfo"

From Pokeplay.io
Jump to navigation Jump to search
Line 10: Line 10:
 
<tr>{{Trichrome|Color={{#external_value:type1}}}}
 
<tr>{{Trichrome|Color={{#external_value:type1}}}}
 
{{#if:{{#external_value:type2}}|
 
{{#if:{{#external_value:type2}}|
{{Trichrome|Color={{#external_value:type1}}}}<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 25px 25px 1px 1px;">[[{{#external_value:type1}}_(type)|<div style="color: #FFFFFF; font-weight: bold; text-align: center;padding: 10px;">{{#external_value:type1}}</div>]]</div></td>
+
{{Trichrome|Color={{#external_value:type1}}}}<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 25px 25px 0px 0px;">[[{{#external_value:type1}}_(type)|<div style="color: #FFFFFF; font-weight: bold; text-align: center;padding: 10px;">{{#external_value:type1}}</div>]]</div></td>
{{Trichrome|Color={{#external_value:type2}}}}<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 1px 1px 25px 25px;">[[{{#external_value:type2}}_(type)|<div style="color: #FFFFFF; font-weight: bold; text-align: center;padding: 10px;">{{#external_value:type2}}</div>]]</div></td>
+
{{Trichrome|Color={{#external_value:type2}}}}<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 0px 0px 25px 25px;">[[{{#external_value:type2}}_(type)|<div style="color: #FFFFFF; font-weight: bold; text-align: center;padding: 10px;">{{#external_value:type2}}</div>]]</div></td>
 
{{Trichrome|Color={{#external_value:type1}}}}|<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 25px;">[[{{#external_value:type1}}_(type)|<div style="color: #FFFFFF; font-weight: bold; text-align: center;padding: 10px;">{{#external_value:type1}}</div>]]</div></td>
 
{{Trichrome|Color={{#external_value:type1}}}}|<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 25px;">[[{{#external_value:type1}}_(type)|<div style="color: #FFFFFF; font-weight: bold; text-align: center;padding: 10px;">{{#external_value:type1}}</div>]]</div></td>
 
}}
 
}}
 
</tr>
 
</tr>
</table></td><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><p style="margin-bottom: 7px; font-weight: bold; color: #{{{{#external_value:type1}}_color_dark}};margin-left: auto;margin-right: auto;">[[File:{{#external_value:number}}{{#external_value:name}}.png|150px]]</p></td></tr>
+
</table></td><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><p style="margin-bottom: 7px; font-weight: bold; color: #{{{{#external_value:type1}}_color_dark}};margin-left: auto;margin-right: auto;padding: 10px;">[[File:{{#external_value:number}}{{#external_value:name}}.png|150px]]</p></td></tr>
 
</tr>
 
</tr>
  

Revision as of 21:16, 3 February 2022