10,975
editsAd placeholder
Template:IconLink: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{#vardefine: icon | {{{1}}} }} | {{#vardefine: icon | {{{1}}} }} | ||
{{#vardefine: link | {{{2}}} }} | {{#vardefine: link | {{{2}}} }} | ||
{{#vardefine: text | {{{3 | {{{2}}} }}} }} | {{#vardefine: text | {{trim | {{{3 | {{{2}}} }}} }} }} | ||
{{#vardefine: icon-link | {{#ifexist: File:{{#var:icon}} | {{{2}}} | File:{{#var:icon}} }} }} | {{#vardefine: icon-link | {{#ifexist: File:{{#var:icon}} | {{{2}}} | File:{{#var:icon}} }} }} | ||
{{#vardefine: icon-caption | {{#ifexist: File:{{#var:icon}} | {{#var:text}} | (Missing Icon) }} }} | {{#vardefine: icon-caption | {{#ifexist: File:{{#var:icon}} | {{#var:text}} | (Missing Icon) }} }} |