Actions

Template

Difference between revisions of "Icon"

From NEC Retro

m
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
| L = {{#vardefine:icondim|32}}
 
| L = {{#vardefine:icondim|32}}
 
| M = {{#vardefine:icondim|20}}
 
| M = {{#vardefine:icondim|20}}
| 16
+
| {{#vardefine:icondim|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>
+
}}<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 07:02, 10 April 2022

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