Template:Icon: Difference between revisions
Jump to navigation
Jump to search
(moved Template:Icon to Template:GVCS Icon) |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
# | [[Image:{{{1}}}{{#ifexist:File:{{{1}}}.png|.png|.jpg}}|{{{2|20}}}px|{{{1}}}|link={{{1}}}]] | ||
<noinclude> | |||
==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 | |||
==See Also== | |||
[[GVCS Images]] | |||
</noinclude> | |||
[[Category:Icon]] |
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