Template:Plan/Icon: Difference between revisions

From KDE UserBase Wiki
(Created page with "<noinclude> Insert a GUI icon image in the text. Usage: <nowiki>{{Plan/Icon|1=name-of-file}}</nowiki>. The icon should be named Icon-name-of-file.png and preferably be upload...")
 
mNo edit summary
Line 1: Line 1:
<span style="vertical-align:top;">[[Image:Icon-{{{1}}}.png|20px|link=]]</span>
<noinclude>
<noinclude>
Insert a GUI icon image in the text. Usage: <nowiki>{{Plan/Icon|1=name-of-file}}</nowiki>.
Insert a GUI icon image in the text. Usage: <nowiki>{{Plan/Icon|1=name-of-file}}</nowiki>.


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 22x22.


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


[[Category:Template]]
[[Category:Template]]
</noinclude><span style="vertical-align:middle;">[[Image:Icon-{{{1}}}.png|20px|link=]]</span>
</noinclude>

Revision as of 14:48, 19 February 2018

[[Image:Icon-{{{1}}}.png|20px|link=]]

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

The icon should be named Icon-name-of-file.png and preferably be uploaded in the size 22x22.

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

Example: {{Plan/Icon|view-time-schedule-baselined-add}} yields .