Шаблон:Icon/документація
Це підсторінка документації шаблону Icon. Вона містить інформацію про використання, категорії та інший вміст, що не є частиною оригінальної сторінки шаблону. |
Цей шаблон використовує Lua: |
This template creates an inline image that is used in metapages such as en:Wikipedia:Vital articles and/or in user pages.
Синтаксис ред.
Основне використання
{{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".
| Короткий текст | необов'язковий |