Template:Infobox interval: Difference between revisions
test: icon framed |
hopefully, this helps to minimize the icon div's width: https://stackoverflow.com/a/3917059 |
||
Line 12: | Line 12: | ||
|+ '''Interval info''' | |+ '''Interval info''' | ||
{{#if: {{{Icon|}}} | | {{#if: {{{Icon|}}} | | ||
{{!}} colspan="2" style="text-align:center" {{!}} <div style="background-color: white; padding: 2px;">{{{Icon}}}</div> | {{!}} colspan="2" style="text-align:center" {{!}} <div style="background-color: white; padding: 2px; display: inline-block;">{{{Icon}}}</div> | ||
}} | }} | ||
|- | |- |