Template:IconText: Difference between revisions

Jump to navigation Jump to search
(add nowrap option)
No edit summary
Line 7: Line 7:
{{#lvardef: max-h | {{#if: {{{h|}}} | {{{h}}} | {{#if: {{{size|}}} | {{{size}}} | 40 }} }} }}
{{#lvardef: max-h | {{#if: {{{h|}}} | {{{h}}} | {{#if: {{{size|}}} | {{{size}}} | 40 }} }} }}
}}{{#if: {{{block|}}}
}}{{#if: {{{block|}}}
| <span style="{{#if: {{{gap|}}} | gap: {{{gap}}}px; }}">
| <span style="display: inline-flex; align-items: center; {{#if: {{{gap|}}} | gap: {{{gap}}}px; }}">
}}<span style="
}}<span style="
   display: inline-flex;
   display: inline-flex;