Template:Icon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Image:{{{1}}} | [[Image:{{{1}}}{{#ifexist:File:{{{1}}}.png|.png|.jpg}}|{{{2|20}}}px|{{{1}}}|link={{{1}}}]] | ||
{{#ifexist:{{{1}}}.png| | |||
|{{{2|20}}}px | |||
|{{{1}}} | |||
|link={{{1}}}]] | |||
<noinclude> | <noinclude> | ||
==Overview== | ==Overview== |
Latest revision as of 13:14, 29 September 2011
[[Image:{{{1}}}.jpg|20px|{{{1}}}|link={{{1}}}]]
Overview
Makes an inline text icon, so long as it is passed a valid image file.
{{{1}}} name of icon. {{{2}}} icon size (defaults to 20)
GVCS calls this template and asks for a 50px variant.
Defaults to .png, then uses .jpg