Template:Icon: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Image:{{{1}}}{{#ifexist:{{{1}}}.png|{{{1}}}.png|{{{1}}}.jpg}}|{{{2|20}}}px|{{{1}}}|link={{{1}}}]]
[[Image:{{{1}}}{{#ifexist:File:{{{1}}}.png|{{{1}}}.png|{{{1}}}.jpg}}|{{{2|20}}}px|{{{1}}}|link={{{1}}}]]
<noinclude>
<noinclude>
==Overview==
==Overview==

Revision as of 13:13, 29 September 2011

[[Image:{{{1}}}{{{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

See Also

GVCS Images