Difference between revisions of "Template:Icon"

From Space Engineers Wiki
Jump to: navigation, search
(adding automatic language parsing)
Line 1: Line 1:
 
[[File:{{{1|No Image}}} Icon.png{{#switch: {{{2|default}}}  
 
[[File:{{{1|No Image}}} Icon.png{{#switch: {{{2|default}}}  
 +
| tiny = {{!}}16px
 
| small = {{!}}32px
 
| small = {{!}}32px
 
| medium = {{!}}48px
 
| medium = {{!}}48px
Line 16: Line 17:
 
icon: template name<br />
 
icon: template name<br />
 
name: name of icon<br />
 
name: name of icon<br />
size: small, medium, or undefined, small is 32px, medium is 48px, large is 64px. huge is 128px <br />
+
size: tiny, small, medium, or undefined, tiny is 16px, small is 32px, medium is 48px, large is 64px. huge is 128px <br />
 
lang: lang = language code override, for example lang = fr for French.  
 
lang: lang = language code override, for example lang = fr for French.  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 19:06, 4 May 2014

No Image Icon.png

Standard image template.

Usage:

{{icon|name|size|lang = }}

icon: template name
name: name of icon
size: tiny, small, medium, or undefined, tiny is 16px, small is 32px, medium is 48px, large is 64px. huge is 128px
lang: lang = language code override, for example lang = fr for French.