Difference between revisions of "Template:Infobox/+"
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> |