Template:Icon
Jump to navigation
Jump to search
Documentation
[purge]
Usage: {{Icon|icon-name|size}}
Result: By default the size is set to 50px: or custom size:
This template allows you to easily insert icons by specifying the icon name and optionally the size.
Keep in mind that this template needs to be used as shown in Usage, otherwise it won't work.
For creating anchors to images or icons, check this template: Template:ImgAnchor
Example[edit source]
Here is how you can use the `Icon` template:
Basic usage[edit source]
Some text before the icon. {{Icon|Clothing}} Some text after the icon.
Result:
Some text before the icon. Some text after the icon.
Specifying the size[edit source]
Some text before the icon. {{Icon|Health|16px}} Some text after the icon.
Result:
Some text before the icon. Some text after the icon.
Combined with other templates[edit source]
Some text before the icon. {{ImgAnchor|Blazer|{{Icon|Clothing}}}} Some text after the icon.
Result: