Template:Icon/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Icon. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 484,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
| 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.
Syntax
Basic usage
{{icon|code}}
{{icon|class=code}}
Custom size
{{icon|code|size=size}}
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
| Icon | Type | Code |
|---|---|---|
| Vital Article | {{icon|Vital}} | |
| Featured Article | {{icon|FA}} | |
| Featured Article Candidate | {{icon|FAC}} | |
| Featured Article Review | {{icon|FAR}} | |
| Featured Article Removal Candidate | {{icon|FARC}} | |
| Former Featured Article | {{icon|FFA}} | |
| Failed Featured Article Candidate | {{icon|FFAC}} | |
| Featured Picture | {{icon|FP}} | |
| Featured Picture Candidate | {{icon|FPC}} | |
| Former Featured Picture | {{icon|FFP}} | |
| Featured Portal | {{icon|FPo}} | |
| Former Featured Portal | {{icon|FFPo}} | |
| Featured Portal Candidate | {{icon|FPoC}} | |
| Featured Portal Review | {{icon|FPoR}} | |
| Featured Sound | {{icon|FS}} | |
| Former Featured Sound | {{icon|FFS}} | |
| Featured Sound Candidate | {{icon|FSC}} | |
| Featured Topic | {{icon|FT}} | |
| Featured Topic Candidate | {{icon|FTC}} | |
| Featured Topic Removal Candidate | {{icon|FTRC}} | |
| Former Featured Topic | {{icon|FFT}} | |
| A-Class Article | {{icon|A}} | |
| A-Class Article Candidate | {{icon|ACC}} | |
| Demoted A-Class Article | {{icon|DAA}} | |
| Failed A-Class Article Candidate | {{icon|FAAC}} | |
| Good Article | {{icon|GA}} | |
| Good Article Nominee | {{icon|GAN}} | |
| Good Article, 2nd Opinion | {{icon|GA2}} | |
| Good Article on Hold | {{icon|GAH}} | |
| Good Article Reassessment | {{icon|GAR}} | |
| Delisted Good Article | {{icon|DGA}} | |
| Failed Good Article Nominee | {{icon|FGAN}} | |
| Good Topic | {{icon|GT}} | |
| Good Topic Candidate | {{icon|GTC}} | |
| Good Topic Removal Candidate | {{icon|GTRC}} | |
| Bplus-Class Article | {{icon|BPLUS}} | |
| B-Class Article | {{icon|B}} | |
| B-Class Review | {{icon|BR}} | |
| C-Class Article | {{icon|C}} | |
| Start-Class Article | {{icon|START}} | |
| Stub-Class Article | {{icon|STUB}} | |
| Featured List | {{icon|FL}} | |
| Featured List Candidate | {{icon|FLC}} | |
| Former Featured List | {{icon|FFL}} | |
| Failed Featured List Candidate | {{icon|FFLC}} | |
| Featured List Review | {{icon|FLR}} | |
| Featured List Removal Candidate | {{icon|FLRC}} | |
| List-Class Article | {{icon|LIST}} | |
| Wikipedia Book | {{icon|Book}} | |
| Category | {{icon|Category}} | |
| Disambiguation page | {{icon|Disambig}} | |
| File | {{icon|Image}} | |
| Valued Picture | {{icon|VP}} | |
| Valued Picture Candidate | {{icon|VPC}} | |
| Outline | {{icon|Outline}} | |
| Portal | {{icon|Portal}} | |
| Project Page | {{icon|Project}} | |
| Redirect | {{icon|Redirect}} | |
| Template | {{icon|Template}} | |
| Module | {{icon|module}} | |
| Essay | {{icon|Essay}} | |
| Non-article Page | {{icon|NA}} | |
| Unknown-Class Article | {{icon|NO}} | |
| Unassessed Article | {{icon|Unassessed}} | |
| Audited Article of limited subject matter | {{icon|AA}} | |
| Demoted Article | {{icon|DA}} | |
| Did You Know? | {{icon|DYK}} | |
| Did You Know? (alternate) | {{icon|DYK2}} | |
| In The News | {{icon|ITN}} | |
| On This Day | {{icon|OTD}} | |
| Peer Review | {{icon|PR}} | |
| Portal Peer Review | {{icon|PPR}} | |
| Question | {{icon|Q}} | |
| Quality Image on Wikimedia Commons | {{icon|QI}} | |
| Today's Featured Article | {{icon|TFA}} | |
| Valued Image on Wikimedia Commons | {{icon|VI}} | |
| Commons page | {{icon|Commons}} | |
| Meta-wiki page | {{icon|Meta}} | |
| Wikibooks page | {{icon|Wikibooks}} | |
| Wikidata page | {{icon|Wikidata}} | |
| Wikinews page | {{icon|Wikinews}} | |
| Wikipedia page | {{icon|Wikipedia}} | |
| WikiProject page | {{icon|WikiProject}} | |
| Wikiquote page | {{icon|Wikiquote}} | |
| Wikisource page | {{icon|Wikisource}} | |
| Wikispecies page | {{icon|Wikispecies}} | |
| Wikiversity page | {{icon|Wikiversity}} | |
| Wikivoyage page | {{icon|Wikivoyage}} | |
| Wiktionary page | {{icon|Wiktionary}} | |
| Four Award | {{icon|FOUR}} | |
| Million Award | {{icon|Million}} |
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
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 | optional |
| Size | size | The size of the icon to display, e.g. "30px".
| Line | optional |
See also
- {{icon+link}}
- Template:Done/See also - Inline icon templates by shape and color.
- Template:Table cell templates/doc -