Actions

Template

Difference between revisions of "Icon"

From NEC Retro

Line 1: Line 1:
{{#ifeq: {{{3}}} | L | [[File:{{{1}}}|{{{2}}}]] | [[File:{{{1}}}|16px|{{{2}}}]]}}<noinclude>[[Category:Console icon templates]]</noinclude>
+
{{#switch: {{{3}}}
 +
| L = {{#vardefine:icondim|32}}
 +
| M = {{#vardefine:icondim|20}}
 +
| 16
 +
}}<div style="display:block-inline; max-height:{{#var:icondim}}px; max-width:{{#var:icondim}}px;">[[File:{{{1}}}|{{#var:icondim}}x{{#var:icondim}}px|{{{2}}}]]</div><noinclude>[[Category:Console icon templates]]</noinclude>

Revision as of 14:01, 16 September 2015

16

[[File:{{{1}}}|xpx|{{{2}}}]]