Template:LegendaryTrioHorizontal: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Cae (talk | contribs)
created test template page
 
Cae (talk | contribs)
m updated size
Line 23: Line 23:
<table style="width: 100%; font-weight: bold;">
<table style="width: 100%; font-weight: bold;">
<tr>
<tr>
<td style="background-color: #{{HP_color_dark}}; color: #{{HP_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">HP</td>
<td style="background-color: #{{HP_color_dark}}; color: #{{HP_color_light}}; border-radius: 25px 1px 1px 25px; width: 20%;">HP</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{HP_color_light}}; color: #{{HP_color_dark}};"><div style="background-color: #{{HP_color}}; border: 1px solid #{{HP_color_dark}}; width: {{#expr:{{#arrayindex:hp|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:hp|{{#var:iteration}}}}</div></td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{HP_color_light}}; color: #{{HP_color_dark}};"><div style="background-color: #{{HP_color}}; border: 1px solid #{{HP_color_dark}}; width: {{#expr:{{#arrayindex:hp|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:hp|{{#var:iteration}}}}</div></td>
</tr>
</tr>
<tr>
<tr>
<td style="background-color: #{{Attack_color_dark}}; color: #{{Attack_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Attack</td>
<td style="background-color: #{{Attack_color_dark}}; color: #{{Attack_color_light}}; border-radius: 25px 1px 1px 25px; width: 20%;">Attack</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Attack_color_light}}; color: #{{Attack_color_dark}};"><div style="background-color: #{{Attack_color}}; border: 1px solid #{{Attack_color_dark}}; width: {{#expr:{{#arrayindex:atk|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:atk|{{#var:iteration}}}}</div></td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Attack_color_light}}; color: #{{Attack_color_dark}};"><div style="background-color: #{{Attack_color}}; border: 1px solid #{{Attack_color_dark}}; width: {{#expr:{{#arrayindex:atk|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:atk|{{#var:iteration}}}}</div></td>
</tr>
</tr>
<tr>
<tr>
<td style="background-color: #{{Defense_color_dark}}; color: #{{Defense_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Defense</td>
<td style="background-color: #{{Defense_color_dark}}; color: #{{Defense_color_light}}; border-radius: 25px 1px 1px 25px; width: 20%;">Defense</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Defense_color_light}}; color: #{{Defense_color_dark}};"><div style="background-color: #{{Defense_color}}; border: 1px solid #{{Defense_color_dark}}; width: {{#expr:{{#arrayindex:def|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:def|{{#var:iteration}}}}</div></td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Defense_color_light}}; color: #{{Defense_color_dark}};"><div style="background-color: #{{Defense_color}}; border: 1px solid #{{Defense_color_dark}}; width: {{#expr:{{#arrayindex:def|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:def|{{#var:iteration}}}}</div></td>
</tr>
</tr>
<tr>
<tr>
<td style="background-color: #{{Special Attack_color_dark}}; color: #{{Special Attack_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Special Attack</td>
<td style="background-color: #{{Special Attack_color_dark}}; color: #{{Special Attack_color_light}}; border-radius: 25px 1px 1px 25px; width: 20%;">Special Attack</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Special Attack_color_light}}; color: #{{Special Attack_color_dark}};"><div style="background-color: #{{Special Attack_color}}; border: 1px solid #{{Special Attack_color_dark}}; width: {{#expr:{{#arrayindex:spatk|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:spatk|{{#var:iteration}}}}</div></td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Special Attack_color_light}}; color: #{{Special Attack_color_dark}};"><div style="background-color: #{{Special Attack_color}}; border: 1px solid #{{Special Attack_color_dark}}; width: {{#expr:{{#arrayindex:spatk|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:spatk|{{#var:iteration}}}}</div></td>
</tr>
</tr>
<tr>
<tr>
<td style="background-color: #{{Special Defense_color_dark}}; color: #{{Special Defense_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Special Defense</td>
<td style="background-color: #{{Special Defense_color_dark}}; color: #{{Special Defense_color_light}}; border-radius: 25px 1px 1px 25px; width: 20%;">Special Defense</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Special Defense_color_light}}; color: #{{Special Defense_color_dark}};"><div style="background-color: #{{Special Defense_color}}; border: 1px solid #{{Special Defense_color_dark}}; width: {{#expr:{{#arrayindex:spdef|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:spdef|{{#var:iteration}}}}</div></td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Special Defense_color_light}}; color: #{{Special Defense_color_dark}};"><div style="background-color: #{{Special Defense_color}}; border: 1px solid #{{Special Defense_color_dark}}; width: {{#expr:{{#arrayindex:spdef|{{#var:iteration}}}}/0.55}}px">{{#arrayindex:spdef|{{#var:iteration}}}}</div></td>
</tr>
</tr>
<tr>
<tr>
<td style="background-color: #{{Speed_color_dark}}; color: #{{Speed_color_light}}; border-radius: 25px 1px 1px 25px; width: 16%;">Speed</td>
<td style="background-color: #{{Speed_color_dark}}; color: #{{Speed_color_light}}; border-radius: 25px 1px 1px 25px; width: 20%;">Speed</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Speed_color_light}}; color: #{{Speed_color_dark}};"><div style="background-color: #{{Speed_color}}; border: 1px solid #{{Speed_color_dark}}; width: {{#expr:{{#arrayindex:spd|{{#var:iteration}}}}/0.55}}px;">{{#arrayindex:spd|{{#var:iteration}}}}</div>
<td style="border-radius: 1px 25px 25px 1px; background-color: #{{Speed_color_light}}; color: #{{Speed_color_dark}};"><div style="background-color: #{{Speed_color}}; border: 1px solid #{{Speed_color_dark}}; width: {{#expr:{{#arrayindex:spd|{{#var:iteration}}}}/0.55}}px;">{{#arrayindex:spd|{{#var:iteration}}}}</div>
</td>
</td>
</tr>{{Trichrome|Color=Typeless}}
</tr>{{Trichrome|Color=Typeless}}
<td style="background-color: {{#var:border}}; color: {{#var:cell}}; border-radius: 25px 1px 1px 25px; width: 16%;">Total</td>
<td style="background-color: {{#var:border}}; color: {{#var:cell}}; border-radius: 25px 1px 1px 25px; width: 20%;">Total</td>
<td style="border-radius: 1px 25px 25px 1px; background-color: {{#var:cell}}; color: {{#var:border}}; text-align: left; padding-left: 5px;">{{#expr:{{#arrayindex:hp|{{#var:iteration}}}}+{{#arrayindex:atk|{{#var:iteration}}}}+{{#arrayindex:def|{{#var:iteration}}}}+{{#arrayindex:spatk|{{#var:iteration}}}}+{{#arrayindex:spdef|{{#var:iteration}}}}+{{#arrayindex:spd|{{#var:iteration}}}}}}
<td style="border-radius: 1px 25px 25px 1px; background-color: {{#var:cell}}; color: {{#var:border}}; text-align: left; padding-left: 5px;">{{#expr:{{#arrayindex:hp|{{#var:iteration}}}}+{{#arrayindex:atk|{{#var:iteration}}}}+{{#arrayindex:def|{{#var:iteration}}}}+{{#arrayindex:spatk|{{#var:iteration}}}}+{{#arrayindex:spdef|{{#var:iteration}}}}+{{#arrayindex:spd|{{#var:iteration}}}}}}
</td>
</td>

Revision as of 19:50, 23 June 2025