Template:BossNPCTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Use [[Template:BossRow]] to construct data rows as an argument to {{{Contents}}}.</noinclude>
Use [[Template:BossRow]] to construct data rows as an argument to {{{Contents}}}.</noinclude>
<includeonly>{{#vardefine:cell|#{{Fighting_color_light}}}}{{#vardefine:background|#{{Fighting_color}}}}{{#vardefine:border|#{{Fighting_color_dark}}}}<table style="width: 100%; text-align: center; background-color: {{#var:background}}; border: 3px solid {{#var:border}}; padding: 5px; border-radius: 25px;">
<includeonly>{{#vardefine:cell|#{{Fighting_color_light}}}}{{#vardefine:background|#{{Fighting_color}}}}{{#vardefine:border|#{{Fighting_color_dark}}}}<table class="sortable" style="width: 100%; text-align: center; background-color: {{#var:background}}; border: 3px solid {{#var:border}}; padding: 5px; border-radius: 25px;">
<tr style="background-color: {{#var:cell}}; color: {{#var:border}};"><th style="border-top-left-radius: 15px; width: 16%; border: 1px solid {{#var:border}};">Boss</th><th style="border: 1px solid {{#var:border}}; width: 12%;">Region</th><th style="width: 36%; border: 1px solid {{#var:border}};">Location</th><th style="border-top-right-radius: 15px; width: 23%; border: 1px solid {{#var:border}};">Cooldown</th></tr>
<tr style="background-color: {{#var:cell}}; color: {{#var:border}};"><th style="border-top-left-radius: 15px; width: 16%; border: 1px solid {{#var:border}};">Boss</th><th style="border: 1px solid {{#var:border}}; width: 12%;">Region</th><th style="width: 36%; border: 1px solid {{#var:border}};">Location</th><th style="border-top-right-radius: 15px; width: 23%; border: 1px solid {{#var:border}};">Cooldown</th></tr>
{{{Contents|}}}
{{{Contents|}}}
</table></includeonly>
</table></includeonly>

Revision as of 01:16, 25 October 2017

A simple nest to tabulate all boss-NPC data—namely on bosses.

Use Template:BossRow to construct data rows as an argument to {{{Contents}}}.