Template:Icon
Jump to navigation
Jump to search
[edit] [ ] Template documentation
This template creates an inline image that is used in metapages such as Wikipedia:Vital articles and/or in user pages.
Default size is 16x16px (16 by 16 pixels) but a different size can be set using the parameter |size=
, e.g. {{icon|size=12px|Template}}
or {{icon|Template|size=14x10px}}
.
Table
|
|
TemplateData
<templatedata> {
"description": "This template creates an inline icon-sized image. Please refer to 'Template:Icon/doc' for the list of supported values.", "params": { "1": { "label": "Icon", "description": "The identifier or name of the icon to be displayed.", "type": "string", "required": false } }
} </templatedata>