Difference between revisions of "Template:Icon"

(span tag destroyed centering of icon)
m (deprecated "Image:" → "File:")
Line 9: Line 9:

Latest revision as of 21:14, 7 June 2020

Insert a GUI icon image in the text. Usage: {{Icon|1=name-of-file}}.

The icon should be named Icon-name-of-file.png and preferably be uploaded in the size 22x22, since scaling down to this small size sometimes does not work well.

Note: Do not include the "Icon-" prefix or the ".png" suffix in the template.

Example: {{Icon|utilities-terminal}} yields Icon-utilities-terminal.png. [[File:Icon-{{{1}}}.png|22px|link=]]

This page was last edited on 7 June 2020, at 21:14. Content is available under Creative Commons License SA 4.0 unless otherwise noted.