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
- Custom size
{{icon|code|size=size}}
Parameters
1
orclass
- 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 | Description | Code | Aliases |
---|---|---|---|
File:Symbol a class.svg | A-Class article | a}} | |
Audited article of limited subject matter | aa}} | ||
File:A candidate.svg | A-Class article candidate | acc}} | aac , acn
|
File:Wikipedia Administrator.svg | Administrator | admin}} | mop
|
File:OOjs UI icon alert.svg | Black alert | alert}} | |
File:OOjs UI icon alert destructive black-darkred.svg | Black, white, and red alert | alert-blackred}} | |
File:OOjs UI icon alert-constructive.svg | Green alert | alert-constructive}} | |
File:OOjs UI icon alert image warning.svg | Alert | alert-imagewarning}} | |
File:Symbol b class.svg | B-Class article | b}} | |
File:Original Barnstar.png | Original barnstar | barnstar}} | |
File:Original Barnstar Hires.svg | Original barnstar hires | barnstar2}} | |
File:Symbol book class2.svg | Wikipedia book | book}} | |
File:Symbol bplus class.svg | Bplus-Class article | bplus}} | b+
|
File:Bclass-checklist.svg | B-Class review | br}} | bcr
|
File:Symbol c class.svg | C-Class article | c}} | |
Category | category}} | cat , categ
| |
Cleanup work | cleanup}} | ||
File:Commons-logo.svg | Commons page | commons}} | |
File:Symbol oppose vote.svg | Demoted article | da}} | |
File:Symbol unsupport A vote.svg | Demoted A-Class article | dac}} | daa
|
File:Symbol unsupport vote.svg | Delisted good article | dga}} | |
File:Symbol dab class.svg | Disambiguation page | disambiguation}} | dab , disamb , disambig
|
File:Echo edit-user-talk icon.svg | Discussion | discussionnotificaion}} | |
File:Symbol draft class.svg | Draft-Class article | draft}} | |
Did You Know? | dyk}} | ||
Did You Know? | dyk2}} | ||
Essay | essay}} | ||
File:Featured article star.svg | Featured article | fa}} | |
File:Cscr-candidate.svg | Featured article candidate | fac}} | fan
|
File:Cscr-star piece.png | Featured article review | far}} | |
File:Cscr-star piece.png | Featured article removal candidate | farc}} | |
File:Featured article star - cross.svg | Former featured article | ffa}} | dfa
|
File:Cscr-former.svg | Former featured article candidate | ffac}} | nofa
|
File:Cscr-featured-strike.svg | Former featured list | ffl}} | dfl
|
File:Cscr-former.svg | Former featured list candidate | fflc}} | nofl
|
File:Cscr-former.svg | Former featured picture | ffp}} | |
File:Featured article star - cross.svg | Former featured portal | ffpo}} | |
File:Cscr-former.svg | Former featured sound | ffs}} | |
File:DFT candidate cluster.svg | Former featured topic | fft}} | dft
|
File:Symbol oppose vote.svg | Failed good article nominee | fgan}} | gaf , gf , noga
|
File:Featured article star.svg | Featured list | fl}} | |
File:Cscr-candidate.svg | Featured list candidate | flc}} | fln
|
File:Cscr-star piece.png | Featured list removal candidate | flrc}} | flr
|
File:Four Award.svg | Four Award | four}} | 4a
|
File:Cscr-featured.svg | Featured picture | fp}} | |
File:Cscr-candidate.svg | Featured picture candidate | fpc}} | fpn
|
File:Linecons big-star.svg | Before the featured portal process ceased in 2017, this had been designated as a featured portal. | fpo}} | |
File:Cscr-candidate.svg | Featured portal candidate | fpoc}} | |
File:Cscr-star piece.png | Featured portal review | fpor}} | |
File:Cscr-featured.svg | Featured sound | fs}} | |
File:Cscr-candidate.svg | Featured sound candidate | fsc}} | |
File:Cscr-featuredtopic.svg | Featured topic | ft}} | |
File:FT candidate cluster.svg | Featured topic candidate | ftc}} | ftn
|
File:Cscr-star piece.png | Featured topic removal candidate | ftrc}} | |
File:Symbol support vote.svg | Good article | ga}} | |
File:Symbol neutral vote.svg | Good article, 2nd opinion | ga2}} | |
Good article on hold | gah}} | ||
File:GA candidate.svg | Good article nominee | gan}} | gac
|
File:GA Candidate Neutral vote(ChaosNil).svg | Good article reassessment | gar}} | |
File:Writing Magnifying.PNG | Guild of Copy Editors | goce}} | |
File:Support cluster.svg | Good topic | gt}} | |
File:GA candidate cluster.svg | Good topic candidate | gtc}} | gtn
|
File:Symbol unsupport vote.svg | Good topic removal candidate | gtrc}} | |
File:Symbol file class.svg | File | image}} | file
|
Information | info}} | ||
File:Globe current.svg | In The News | itn}} | |
File:Symbol list class.svg | List-Class article | list}} | comparison
|
MediaWiki | mediawiki}} | ||
File:Wikimedia Community Logo.svg | Meta-wiki page | meta}} | |
File:Million award logo.svg | Million Award | million}} | |
Module | module}} | ||
File:Symbol na class.svg | Non-article page | na}} | |
File:Symbol needed class.svg | Needed article | needed}} | |
File:Crystal button cancel.svg | Unknown-Class article | no}} | |
File:Symbol unsupport A vote.svg | Failed A-Class article candidate | noac}} | faac
|
File:Nuvola apps date.svg | On This Day | otd}} | |
File:Global thinking.svg | Outline | outline}} | |
File:Favicon-Phabricator-WM.svg | Phabricator | phabricator}} | phab
|
File:Symbol portal class.svg | Portal | portal}} | |
File:Wikipedia-logo.svg | Picture of the Day | potd}} | |
File:Nuvola apps kedit.png | Portal peer review | ppr}} | |
File:Nuvola apps kedit.png | Peer review | pr}} | |
File:Symbol project class.svg | Project page | project}} | |
Question | q}} | question
| |
File:Quality images logo.svg | Quality image on Wikimedia Commons | qi}} | |
File:Symbol redirect vote2.svg | Redirect | redirect}} | red , redir
|
File:Symbol start class.svg | Start-Class article | start}} | |
File:Symbol stub class.svg | Stub-Class article | stub}} | |
File:Symbol template class pink.svg | Template | template}} | temp , templ
|
File:Wikipedia-logo.svg | Today's Featured Article | tfa}} | |
File:Wikipedia-logo.svg | Today's Featured List | tfl}} | |
File:Symbol user class.svg | User-Class article | user}} | |
File:Valued image seal.svg | Valued image on Wikimedia Commons | vi}} | |
File:Círculos Concéntricos.svg | Vital article | vital}} | |
File:ENWP VP Logo.svg | Valued picture | vp}} | |
File:Valued pics 1.svg | Valued picture candidate | vpc}} | |
File:Wikibooks-logo.svg | Wikibooks page | wikibooks}} | |
File:Wikidata-logo.svg | Wikidata page | wikidata}} | |
File:Wikinews-logo.svg | Wikinews page | wikinews}} | |
File:Wikipedia-logo.svg | Wikipedia page | wikipedia}} | |
File:People icon.svg | WikiProject | wikiproject}} | |
File:Wikiquote-logo.svg | Wikiquote page | wikiquote}} | |
File:Wikisource-logo.svg | Wikisource page | wikisource}} | |
File:Wikispecies-logo.svg | Wikispecies page | wikispecies}} | |
File:Wikitech-2021-blue-icon.svg | Wikitech | wikitech}} | |
File:Wikiversity logo 2017.svg | Wikiversity page | wikiversity}} | |
File:Wikivoyage-logo.svg | Wikivoyage page | wikivoyage}} | |
File:Wiktionary-logo.svg | Wiktionary page | wiktionary}} |
See also
- {{Icon link}}
- {{Class/icon}}
- {{Done/See also}} - inline icon templates by shape and color
- {{Table cell templates/doc}}
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Icon in articles based on its 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 |