Difference between revisions of "Template:Infobox/+"

From OXPL Wiki
Jump to navigation Jump to search
(Created page)
 
m
 
(2 intermediate revisions by the same user not shown)
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>

Latest revision as of 19:48, 20 January 2021