Difference between revisions of "Icon"

From Sega Retro

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

Revision as of 23:06, 26 September 2015

[[File:{{{1}}}|16x16px|{{{2}}}]]