Template:Icon
From Wikipedia, the free encyclopedia
Page Module:Documentation/styles.css has no content.
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Script error: No such module "High-use".
Page Module:Message box/ombox.css has no content.| File:Lua-Logo.svg | This template uses Lua: |
About
This template creates an inline image that is used in metapages such as Wikipedia:Vital articles and/or in user pages.
Usage
- Basic usage
- Template:Tlx
- Template:Tlx
- Custom size
- Template:Tlx
Parameters
1orclass- 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).
Icon codes
Script error: No such module "Icon/table".
See also
- Template:Tl
- Template:Tl
- Template:Tl - inline icon templates by shape and color
- Template:Tl
- Template:Tl
Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Template:Template parameter usage
TemplateData for Icon
This template creates an inline icon-sized image. Please refer to 'Template:Icon/doc' for the list of supported values.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Icon | 1 class | The identifier or name of the icon to be displayed. | Line | required |
| size | size | The size of the icon to display, e.g. "30px".
| Line | optional |