Template:Icon
| This template is used on approximately 308000 pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
| 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 | Former Featured Picture | {{icon|FFP}} |
| 16x16px | 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 | Former Featured Sound | {{icon|FFS}} |
| Featured Sound Candidate | {{icon|FSC}} | |
| 16x16px | Featured Topic | {{icon|FT}} |
| 16x16px | Featured Topic Candidate | {{icon|FTC}} |
| Featured Topic Removal Candidate | {{icon|FTRC}} | |
| 16x16px | Former Featured Topic | {{icon|FFT}} |
| 16x16px | A-Class Article | {{icon|A}} |
| 16x16px | A-Class Article Candidate | {{icon|ACC}} |
| 16x16px | Demoted A-Class Article | {{icon|DAA}} |
| 16x16px | Failed A-Class Article Candidate | {{icon|FAAC}} |
| Good article | Good Article | {{icon|GA}} |
| 16x16px | Good Article Nominee | {{icon|GAN}} |
| 16x16px | Good Article, 2nd Opinion | {{icon|GA2}} |
| 16x16px | Good Article on Hold | {{icon|GAH}} |
| 16x16px | Good Article Reassessment | {{icon|GAR}} |
| 16x16px | Delisted Good Article | {{icon|DGA}} |
| Failed Good Article Nominee | {{icon|FGAN}} | |
| Good Topic | {{icon|GT}} | |
| Good Topic Candidate | {{icon|GTC}} | |
| 16x16px | 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}} | |
| 16x16px | Start-Class Article | {{icon|START}} |
| 16x16px | Stub-Class Article | {{icon|STUB}} |
| Featured List | {{icon|FL}} | |
| Featured List Candidate | {{icon|FLC}} | |
| 16x16px | Former Featured List | {{icon|FFL}} |
| Failed featured list candidate | Failed Featured List Candidate | {{icon|FFLC}} |
| Featured List Review | {{icon|FLR}} | |
| Featured List Removal Candidate | {{icon|FLRC}} | |
| 16x16px | List-Class Article | {{icon|LIST}} |
| 16x16px | Wikipedia Book | {{icon|Book}} |
| Category | {{icon|Category}} | |
| 16x16px | Disambiguation page | {{icon|Disambig}} |
| 16x16px | File | {{icon|Image}} |
| 16x16px | Valued Picture | {{icon|VP}} |
| 16x16px | Valued Picture Candidate | {{icon|VPC}} |
| Portal | {{icon|Portal}} | |
| 16x16px | Project Page | {{icon|Project}} |
| 16x16px | Redirect | {{icon|Redirect}} |
| Template | {{icon|Template}} | |
| 16x16px | Essay | {{icon|Essay}} |
| 16x16px | Non-article Page | {{icon|NA}} |
| 16x16px | Unknown-Class Article | {{icon|NO}} |
| Unassessed Article | {{icon|Unassessed}} | |
| Audited article of limited subject matter | Audited Article of limited subject matter | {{icon|AA}} |
| Demoted Article | {{icon|DA}} | |
| Did You Know? | {{icon|DYK}} | |
| 16x16px | Did You Know? (alternate) | {{icon|DYK2}} |
| 16x16px | In The News | {{icon|ITN}} |
| 16x16px | On This Day | {{icon|OTD}} |
| 16x16px | Peer Review | {{icon|PR}} |
| 16x16px | Portal Peer Review | {{icon|PPR}} |
| Question | {{icon|Q}} | |
| Quality image on Wikimedia Commons | Quality Image on Wikimedia Commons | {{icon|QI}} |
| 16x16px | Today's Featured Article | {{icon|TFA}} |
| 16x16px | Valued Image on Wikimedia Commons | {{icon|VI}} |
| Commons page | {{icon|Commons}} | |
| Meta-wiki page | Meta-wiki page | {{icon|Meta}} |
| Wikibooks page | {{icon|Wikibooks}} | |
| 16x16px | Wikidata page | {{icon|Wikidata}} |
| Wikinews page | Wikinews page | {{icon|Wikinews}} |
| 16x16px | Wikipedia page | {{icon|Wikipedia}} |
| 16x16px | WikiProject page | {{icon|WikiProject}} |
| Wikiquote page | {{icon|Wikiquote}} | |
| Wikisource page | {{icon|Wikisource}} | |
| Wikispecies page | Wikispecies page | {{icon|Wikispecies}} |
| 16x16px | Wikiversity page | {{icon|Wikiversity}} |
| 16x16px | Wikivoyage page | {{icon|Wikivoyage}} |
| 16x16px | Wiktionary page | {{icon|Wiktionary}} |
| 16x16px | Four Award | {{icon|FOUR}} |
| 16x16px | Million Award | {{icon|Million}} |
| Nobel Award | {{icon|Nobel}} | |
| World Heritage Site | {{icon|whsite}} |
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
<templatedata> { "description": "This template creates an inline icon-sized image. Please refer to 'Template:Icon/doc' for the list of supported values.", "params": { "1": { "label": "Icon", "description": "The identifier or name of the icon to be displayed.", "type": "line", "required": false, "aliases": [ "class" ], "default": "" }, "size": { "description": "The size of the icon to display, e.g. \"30px\".", "type": "line", "default": "16x16px" } } } </templatedata>
See also
- {{icon+link}}
| The above documentation is transcluded from Template:Icon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |