Template:BossRewardsWinCount: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Created page with "<noinclude>It adopts the same framework as Template:BossItem, except it's designed to auto-increment for win-consecutive prizes such as those offered by [[Christmas Chris]..."
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


Use in tandem with [[Template:BRWC]] to construct tabular rows.
Use in tandem with [[Template:BRWC]] to construct tabular rows.
[[Category:Item-table templates]]
</noinclude>
</noinclude>
<includeonly>{{#vardefine:wincount|0}}{{#if:{{#var:background}}||{{#vardefine:cell|#{{{{{Theme|Normal}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme|Normal}}}_color}}}}{{#vardefine:border|#{{{{{Theme|Normal}}}_color_dark}}}}}}<table style="width: 45%; max-width: 85%; text-align: center; border: 3px solid {{#var:border}}; background-color: {{#var:background}}; padding: 7px; border-radius: 25px;">
<includeonly>{{#vardefine:wincount|0}}{{#if:{{#var:background}}||{{#vardefine:cell|#{{{{{Theme|Normal}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme|Normal}}}_color}}}}{{#vardefine:border|#{{{{{Theme|Normal}}}_color_dark}}}}}}<table style="width: 45%; max-width: 85%; text-align: center; border: 3px solid {{#var:border}}; background-color: {{#var:background}}; padding: 7px; border-radius: 25px;">
<tr style="background-color:{{#var:cell}}; color: {{#var:border}};">
<tr style="background-color:{{#var:cell}}; color: {{#var:border}};">
<th scope="col" style="border: 1px solid {{#var:border}}; width: 12%;">Win Count</th>
<th scope="col" colspan="2" style="width: 22%; border: 1px solid {{#var:border}};">Reward</th>
<th scope="col" colspan="2" style="width: 22%; border: 1px solid {{#var:border}};">Reward</th>
<th scope="col" style="border: 1px solid {{#var:border}}; width: 12%; border: 1px solid {{#var:border}};">Quantity</th>
<th scope="col" style="border: 1px solid {{#var:border}}; width: 12%; border: 1px solid {{#var:border}};">Quantity</th></tr>
<th scope="col" style="border: 1px solid {{#var:border}}; width: 12%;">Win Count</th></tr>
{{{Contents|}}}
{{{Contents|}}}
</table></includeonly>
</table></includeonly>

Latest revision as of 05:15, 1 February 2022

It adopts the same framework as Template:BossItem, except it's designed to auto-increment for win-consecutive prizes such as those offered by Christmas Chris.

Use in tandem with Template:BRWC to construct tabular rows.