Difference between revisions of "Template:Icon"

From Space Engineers Wiki
Jump to: navigation, search
m
Line 1: Line 1:
[[File:{{{1|No Image}}} Icon.png{{#ifeq: {{{2|}}} | small | {{!}}20px | {{#ifeq: {{{2|}}} | medium | {{!}}43px | {{!}}72px}}}}|link={{{1|}}}]]<noinclude>
+
[[File:{{{1|No Image}}} Icon.png{{#ifeq: {{{2|}}} | small | {{!}}31px | {{#ifeq: {{{2|}}} | medium | {{!}}43px | {{!}}72px}}}}|link={{{1|}}}]]<noinclude>
  
 
Standard image template.  
 
Standard image template.  
Line 10: Line 10:
 
icon: template name<br />
 
icon: template name<br />
 
name: name of icon<br />
 
name: name of icon<br />
size: small or undefined, small is 20px large is 72px. <br />
+
size: small, medium, or undefined, small is 31px, medium is 43px, large is 72px. <br />
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:26, 14 March 2014

No Image Icon.png

Standard image template.

Usage:

{{icon|name|size}}

icon: template name
name: name of icon
size: small, medium, or undefined, small is 31px, medium is 43px, large is 72px.