Template:Icon/doc
Appearance
| 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. |
Lua error in package.lua at line 80: module 'Module:Transclusion_count/data/I' not found.
| 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 |
|---|---|---|
| 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 | B-Class Review | {{icon|BR}} |
| C-Class article | C-Class Article | {{icon|C}} |
| Start-Class article | Start-Class Article | {{icon|START}} |
| Stub-Class article | Stub-Class Article | {{icon|STUB}} |
| Featured List | {{icon|FL}} | |
| Featured List Candidate | {{icon|FLC}} | |
| Former featured list | 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 | List-Class Article | {{icon|LIST}} |
| Wikipedia Book | {{icon|Book}} | |
| Category | Category | {{icon|Category}} |
| Disambiguation page | Disambiguation page | {{icon|Disambig}} |
| File | File | {{icon|Image}} |
| Valued picture | Valued Picture | {{icon|VP}} |
| Valued picture candidate | Valued Picture Candidate | {{icon|VPC}} |
| Outline | Outline | {{icon|Outline}} |
| Portal | Portal | {{icon|Portal}} |
| Project Page | {{icon|Project}} | |
| Redirect | Redirect | {{icon|Redirect}} |
| Template | Template | {{icon|Template}} |
| Error creating thumbnail: | Module | {{icon|module}} |
| Error creating thumbnail: | Essay | {{icon|Essay}} |
| Non-article Page | {{icon|NA}} | |
| Unknown-Class article | Unknown-Class Article | {{icon|NO}} |
| File:Symbol question.svg | Unassessed Article | {{icon|Unassessed}} |
| Error creating thumbnail: | Audited Article of limited subject matter | {{icon|AA}} |
| Demoted Article | {{icon|DA}} | |
| Did You Know? | Did You Know? | {{icon|DYK}} |
| Did You Know? | Did You Know? (alternate) | {{icon|DYK2}} |
| In The News | In The News | {{icon|ITN}} |
| On This Day | On This Day | {{icon|OTD}} |
| Peer review | Peer Review | {{icon|PR}} |
| Portal peer review | Portal Peer Review | {{icon|PPR}} |
| Question | Question | {{icon|Q}} |
| Quality image on Wikimedia Commons | Quality Image on Wikimedia Commons | {{icon|QI}} |
| Today's Featured Article | Today's Featured Article | {{icon|TFA}} |
| Valued image on Wikimedia Commons | Valued Image on Wikimedia Commons | {{icon|VI}} |
| Commons page | Commons page | {{icon|Commons}} |
| Meta-wiki page | Meta-wiki page | {{icon|Meta}} |
| Wikibooks page | Wikibooks page | {{icon|Wikibooks}} |
| Wikidata page | Wikidata page | {{icon|Wikidata}} |
| Wikinews page | Wikinews page | {{icon|Wikinews}} |
| Wikipedia page | Wikipedia page | {{icon|Wikipedia}} |
| WikiProject | WikiProject page | {{icon|WikiProject}} |
| Wikiquote page | Wikiquote page | {{icon|Wikiquote}} |
| Wikisource page | Wikisource page | {{icon|Wikisource}} |
| Wikispecies page | Wikispecies page | {{icon|Wikispecies}} |
| Wikiversity page | Wikiversity page | {{icon|Wikiversity}} |
| Wikivoyage page | Wikivoyage page | {{icon|Wikivoyage}} |
| Wiktionary page | Wiktionary page | {{icon|Wiktionary}} |
| Four Award | Four Award | {{icon|FOUR}} |
| Million Award | 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}}