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:type2}}}}<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 25px 1px 1px 1px;">[[{{#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 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:type2}}}}<div style="margin-left: auto;margin-right: auto;width: 75%;background-color: {{#var: border}};border-radius: 25px 1px 1px 1px;">[[{{#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: 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: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>
 
}}
 
}}

Revision as of 21:03, 3 February 2022