Template:ItemsTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 4: Line 4:
</noinclude>
</noinclude>
<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;">
<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 style="background-color:{{#var:cell}}; color: {{#var:border}};"><th scope="col" colspan="2" style="border-top-left-radius: 25px; width: 22%; border: 1px solid {{#var:border}};">Item</th><th scope="col" style="border: 1px solid {{#var:border}}; width: 12%; border-top-right-radius: 25px;">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.