10,947
editsAd placeholder
Template:IconLink: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary Tag: Reverted |
||
Line 3: | Line 3: | ||
{{#vardefine: max-w | {{{w|}}} }} | {{#vardefine: max-w | {{{w|}}} }} | ||
{{#vardefine: max-h | {{{h | {{{size | 40}}} }}} }} | {{#vardefine: max-h | {{{h | {{{size | 40}}} }}} }} | ||
}}< | }}<span style="display: inline-flex; align-items: center;"><span style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#var:min-w}}px; height: {{#var:max-h}}px;">[[File:{{{1}}}|frameless|link={{{2}}}|{{#var:max-w}}x{{#var:max-h}}px|{{{2}}}]]</span> [[ {{{2}}} |{{{ 3 |{{{ 2 }}} }}} ]]</span></includeonly><noinclude> | ||
Usage: {{code|<nowiki>{{IconLink|Flourish Icon.png|Flourish}}</nowiki>}} | Usage: {{code|<nowiki>{{IconLink|Flourish Icon.png|Flourish}}</nowiki>}} | ||