Difference between revisions of "Template:IconText"
(Added Page (not functioning)) |
m (Trying to find error.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | + | {{#lvardef: icon | {{{1|broken_error_image.png}}} }} | |
− | {{#lvardef: icon | {{{1 | ||
{{#lvardef: link | {{{link| }}} }} | {{#lvardef: link | {{{link| }}} }} | ||
{{#lvardef: text | {{{2 }}} }} | {{#lvardef: text | {{{2 }}} }} | ||
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; }}"> | ||
Line 43: | Line 41: | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
+ | |||
+ | <noinclude> | ||
+ | Usage: <code><nowiki>{{IconText | The_Elements.png | The Elements }}</nowiki></code> | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 20:35, 24 November 2024
Usage: {{IconText | The_Elements.png | The Elements }}