Template:ItemsTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
Use [[Template:ITRow]] in order to construct rows for it.
Use [[Template:ITRow]] in order to construct rows for it.
</noinclude>
</noinclude>
<includeonly><table class="pro-table" align="center" style="width: 45%; max-width: 85%; text-align: center;">
<includeonly>{{#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 colspan="2" class="pro-table-header"><th scope="col" colspan="2" class="pro-table-header-cell" style="border-radius: 15px 1px 1px 1px; width: 22%">Item</th><th scope="col" class="pro-table-header-cell" width="12%">Quantity</th></tr>
<tr style="background-color:{{#var:cell}}; color: {{#var:border}};"><th scope="col" colspan="2" style="width: 22%; border: 1px solid {{#var:border}};">Item</th><th scope="col" style="border: 1px solid {{#var:border}}; width: 12%;">Quantity</th></tr>
{{{Contents}}}
{{{Contents}}}
</table></includeonly>
</table></includeonly>

Latest revision as of 05:39, 13 May 2020

This is a generic-purpose item table.

Use Template:ITRow in order to construct rows for it.