Difference between revisions of "Template:Infobox/+"

From OXPL Wiki
Jump to navigation Jump to search
(Added style parameter)
m
Line 1: Line 1:
<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|}}}
+
<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="{{#switch: style | 2 = | 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>

Revision as of 19:47, 20 January 2021