Template:GymRewardsTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
Restructured the template to accommodate for pricing options.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:cell|#{{{{{Region|Kanto}}}_color_light}}}}{{#vardefine:background|#{{{{{Region|Kanto}}}_color}}}}{{#vardefine:border|#{{{{{Region|Kanto}}}_color_dark}}}}<table style="width:76%; border: 4px solid {{#var:border}}; border-radius: 25px; background-color: {{#var:background}}; padding: 5px; border-spacing: 3px; text-align: center;">
<includeonly>{{#vardefine:cell|#{{{{{Region|Kanto}}}_color_light}}}}{{#vardefine:background|#{{{{{Region|Kanto}}}_color}}}}{{#vardefine:border|#{{{{{Region|Kanto}}}_color_dark}}}}<table style="width:81%; border: 4px solid {{#var:border}}; border-radius: 25px; background-color: {{#var:background}}; padding: 5px; border-spacing: 3px; text-align: center;">
<tr style="background-color: {{#var:cell}}; color: {{#var:border}}; font-weight: bold; border: 1px solid {{#var:border}};">
<tr rowspan="2" style="background-color: {{#var:cell}}; color: {{#var:border}}; font-weight: bold; border: 1px solid {{#var:border}};">
<th style="border-top-left-radius: 25px; border: 1px solid {{#var:border}}; width: 19%;">Gym</th>
<th rowspan="2" style="border: 1px solid {{#var:border}}; width: 15%;">Gym</th>
<th style="border: 1px solid {{#var:border}};">Impartation</th>
<th rowspan="2" style="border: 1px solid {{#var:border}}; width: 22%;">Impartation</th>
<th style="border: 1px solid {{#var:border}}; width: 27%;">Move</th>
<th rowspan="2" style="border: 1px solid {{#var:border}}; width: 25%;">Move</th>
<th style="border-top-right-radius: 25px; border: 1px solid {{#var:border}}; width: 25%;">Price</th>
<th colspan="3" style="border: 1px solid {{#var:border}}; width: 26%; border-bottom: 0px;">Prices</th>
<tr style="background-color: {{#var:cell}}; color: {{#var:border}}; font-weight: bold; border: 1px solid {{#var:border}};"><td style="border: 1px solid {{#var:border}}; border-top: 0px; border-right: 0px; width: 14%;">First purchase</td><td style="border: 1px solid {{#var:border}}; border-left: 0px; border-right: 0px; border-top: 0px; width: 14%;">Standard</td><td style="border: 1px solid {{#var:border}}; border-left: 0px; border-top: 0px; width: 14%;">Five</td></tr>
</tr>
</tr>
{{{Contents|}}}
{{{Contents|}}}
</table></includeonly>
</table></includeonly>

Latest revision as of 18:55, 1 March 2022