| This template is used on
460,000+ pages
.
To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in its
/sandbox
or
/testcases
subpages or in your own
user subpage
. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the
talk page
before implementing them.
|
| This template uses
Lua
:
|
This template creates an inline image that is used in metapages such as
Wikipedia:Vital articles
and/or in user pages.
Basic usage
{{icon|
code
}}
{{icon|class=
code
}}
Custom size
{{icon|
code
|size=
size
}}
1
or
class
- the icon code. See the
table below
for a list of available codes.
size
- a custom icon size, e.g. "30px". The default size is "16x16px" (16 by 16 pixels).
Template parameters
[
Edit template data
]
Parameter
| Description
| Type
| Status
|
---|
Icon
| 1
class
| The identifier or name of the icon to be displayed.
- Default
| Line
| optional
|
---|
size
| size
| The size of the icon to display, e.g. "30px".
- Default
- 16x16px
| Line
| optional
|
---|