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}}}.png|{{{2|20}}}px|{{{1}}}|link={{{1}}}]]
[[Image:{{{1}}}
{{#ifexist:{{{1}}}.png|{{{1}}}.png|{{{1}}}.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]] (or one with a valid imagename appended with".png".
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]]

Revision as of 13:10, 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