Шаблон:Icon
![{i}](http://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/50px-Test_Template_Info-Icon.svg.png)
This template creates an inline image that is used in metapages such as en:Wikipedia:Vital articles and/or in user pages.
існує також схожий шаблон {icon2}, який частково уніфікований з цим і показує сучасніші версії деяких іконок.
Синтаксис
Основне використання
{icon|code}
{icon|class=code}
Користувацький розмір
{icon|code|size=size}
Параметри
1
orclass
- 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).
Коди іконок
TemplateData
This template creates an inline icon-sized image. Please refer to 'Template:Icon/doc' for the list of supported values.
Параметр | Опис | Тип | Статус | |
---|---|---|---|---|
Icon | 1 class | The identifier or name of the icon to be displayed.
| Короткий текст | необов'язковий |
size | size | Розмір іконки для відображення, e.g. "30px".
| Короткий текст | необов'язковий |