Template:Plan/Icon: Difference between revisions

From KDE UserBase Wiki
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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>.
Line 6: Line 5:


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.
This does the same as the standard Icon template except for size and alignment.


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


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

Latest revision as of 15:12, 19 February 2018

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.

This does the same as the standard Icon template except for size and alignment.

Example: {{Plan/Icon|view-time-schedule-baselined-add}} yields . [[Image:Icon-{{{1}}}.png|18px|link=]]