Changes

55 bytes added ,  19:25, 20 January 2021
Added style parameter
Line 1: Line 1: −
<onlyinclude>{{#if: {{{label|}}} | {{!}} style="background-color: #e8e8e8; border-top: 1px solid grey; border-right: 1px solid grey; text-align: center; font-weight: 800; padding: 3px; width: 50%;" {{!}} {{{label|}}}
+
<onlyinclude>{{#if: {{{label|}}} | {{!}} style="{{#switch: style | 2 = | background-color: #e8e8e8; border-top: 1px solid grey; border-right: 1px solid grey; text-align: center; }} font-weight: 800; padding: 3px; width: 50%;" {{!}} {{{label|}}}
{{!}} style="border-top: 1px solid grey; padding: 3px; width: 50%;" {{!}} {{{data}}}  
+
{{!}} style="{{#switch: style | 2 = | border-top: 1px solid grey;}} padding: 3px; width: 50%;" {{!}} {{{data}}}  
 
{{!}}- | }}</onlyinclude>
 
{{!}}- | }}</onlyinclude>