Template:Icon: Difference between revisions

From KDE UserBase Wiki
(Corrected and expanded explanatory text)
m (fix typo)
Line 4: Line 4:
The icon should be named Icon-name-of-file.png and preferably be uploaded in the size 16x16, since scaling down to this small size sometimes does not work well.
The icon should be named Icon-name-of-file.png and preferably be uploaded in the size 16x16, since scaling down to this small size sometimes does not work well.


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


Example: <nowiki>{{Icon|utilities-terminal}}</nowiki> yields {{Icon|utilities-terminal}}.
Example: <nowiki>{{Icon|utilities-terminal}}</nowiki> yields {{Icon|utilities-terminal}}.

Revision as of 06:57, 30 June 2012

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 16x16, since scaling down to this small size sometimes does not work well.

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

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