Difference between revisions of "Template:Icon Small"
Jump to navigation
Jump to search
(Undo revision 118343 by CrazyEights (talk) vandalism) Tag: Undo |
m (Changed protection level for "Template:Icon Small": protection no longer required ([Edit=Allow only autoconfirmed users] (expires 20:17, 1 February 2023 (UTC)) [Move=Allow only autoconfirmed users] (expires 20:17, 1 February 2023 (UTC)))) |
||
(3 intermediate revisions by 2 users not shown) |
Latest revision as of 19:17, 1 February 2023
Description[edit]
Will give a small icon (16px default)
Image is taken from the page, so all pages that have a image should be able to display an icon of it.
There are checks that will give some feedback when improper used
Usage[edit]
{{Icon Small | name <-- determines image displayed, is a Pagename that has an image | image size (optional, 16px resize by default) has to be an integer | amount (optional) }}
Examples[edit]
{{Icon Small|steel}}
{{Icon Small|Wood|32}}
{{Icon Small|Potatoes||10}}
Icon with Size and Amount: 150
{{Icon Small|Chemfuel|32|150}}
The above documentation is transcluded from Template:Icon Small/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |