Difference between revisions of "Template:IconText"
(Added Page (not functioning)) |
m (removed trim) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | |||
{{#lvardef: icon | {{{1 }}} }} | {{#lvardef: icon | {{{1 }}} }} | ||
{{#lvardef: link | {{{link| }}} }} | {{#lvardef: link | {{{link| }}} }} | ||
Line 7: | Line 6: | ||
{{#lvardef: max-w | {{{w| }}} }} | {{#lvardef: max-w | {{{w| }}} }} | ||
{{#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 class="icontext-block" style="display: inline-flex; align-items: center; {{#if: {{{gap|}}} | gap: {{{gap}}}px; }}"> | | <span class="icontext-block" style="display: inline-flex; align-items: center; {{#if: {{{gap|}}} | gap: {{{gap}}}px; }}"> |