Template:ItemsTable: Difference between revisions
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=" | <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> | ||