Template:Plan/Icon: Difference between revisions
(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...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
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 | 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. | ||
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><span style="vertical-align: | </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=]]