Ta̱mpi̱let:Icon/doc
Li
| This is a documentation subpage for Ta̱mpi̱let:Icon. It contains usage information, categories and other content that is not part of the original ta̱mpi̱let page. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template uses Lua: |
About
[jhyuk a̱tyin ka]This template creates an inline image that is used in metapages such as Wikipedia:Vital articles and/or in user pages.
Usage
[jhyuk a̱tyin ka]- Custom size
{{icon|code|size=size}}
Parameters
[jhyuk a̱tyin ka]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
[jhyuk a̱tyin ka]Script error: No such module "Icon/table".
See also
[jhyuk a̱tyin ka]- {{Icon link}}
- {{Class/icon}}
- {{Done/See also}} - inline icon templates by shape and color
- {{Table cell templates/doc}}
Ta̱mpi̱let:Wikipedia templates
TemplateData
[jhyuk a̱tyin ka]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
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 |