Difference between revisions of "Template:PixelmonInfo"

From Pokeplay.io
Jump to navigation Jump to search
Line 8: Line 8:
 
<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>
 
<table align="center" style="width: 75%; font-weight: bold; padding: 3px;">
 
<table align="center" style="width: 75%; font-weight: bold; padding: 3px;">
<tr>{{Trichrome|Color={{#external_value:type2}}}}
+
<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: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 1px 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: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:01, 3 February 2022