Template:Icon: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:{{{1}}}.png|{{{2|20}}}px|{{{1}}}]]
[[Image:{{{1}}}{{#ifexist:File:{{{1}}}.png|.png|.jpg}}|{{{2|20}}}px|{{{1}}}|link={{{1}}}]]
<noinclude>
<noinclude>
==Overview==
==Overview==
Makes an inline text mini icon for a [[GVCS]] machine, so long as it is passed a name on the [[GVCS List]]. (images were uploaded manually to correspond to this list)
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==
==See Also==
[[GVCS Images]]
[[GVCS Images]]
</noinclude>
</noinclude>
[[Category:Icon]]
[[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

See Also

GVCS Images