Difference between revisions of "Icon"

From Sega Retro

m (Protected "Template:Icon": High-traffic template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
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; {{#if: {{{background|}}} | background-color:{{{background}}}; }}">[[File:{{{1}}}|{{#var:icondim}}x{{#var:icondim}}px|{{{2}}}]]</div><noinclude>[[Category:Console icon templates]]</noinclude>
+
}}<div style="display:inline-block; line-height:0px; 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:Icon templates]]</noinclude>

Latest revision as of 18:18, 7 November 2020

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