From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
This template creates an inline image that is used in metapages such as Wikipedia:Vital articles and/or in user pages .
Basic usage
{{icon |code }}
{{icon |class=code }}
Custom size
{{icon |code |size=size }}
1
or class
- 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
Description
Code
Aliases
A-Class article
{{icon|a}}
Audited article of limited subject matter
{{icon|aa}}
A-Class article candidate
{{icon|acc}}
aac
, acn
B-Class article
{{icon|b}}
Wikipedia book
{{icon|book}}
Bplus-Class article
{{icon|bplus}}
b+
B-Class review
{{icon|br}}
bcr
C-Class article
{{icon|c}}
Category
{{icon|category}}
cat
, categ
Cleanup work
{{icon|cleanup}}
Commons page
{{icon|commons}}
Demoted article
{{icon|da}}
Demoted A-Class article
{{icon|dac}}
daa
Delisted good article
{{icon|dga}}
Disambiguation page
{{icon|disambiguation}}
dab
, disamb
, disambig
Did You Know?
{{icon|dyk}}
Did You Know?
{{icon|dyk2}}
'Did You Know?' nominee
{{icon|dykn}}
dykc
Essay
{{icon|essay}}
Featured article
{{icon|fa}}
Featured article candidate
{{icon|fac}}
fan
Featured article review
{{icon|far}}
Featured article removal candidate
{{icon|farc}}
Former featured article
{{icon|ffa}}
dfa
Failed featured article candidate
{{icon|ffac}}
nofa
Former featured list
{{icon|ffl}}
dfl
Failed featured list candidate
{{icon|fflc}}
nofl
Former featured picture
{{icon|ffp}}
Former featured portal
{{icon|ffpo}}
Former featured sound
{{icon|ffs}}
Former featured topic
{{icon|fft}}
dft
Failed good article nominee
{{icon|fgan}}
gaf
, gf
, noga
Featured list
{{icon|fl}}
Featured list candidate
{{icon|flc}}
fln
Featured list removal candidate
{{icon|flrc}}
flr
Four Award
{{icon|four}}
4a
Featured picture
{{icon|fp}}
Featured picture candidate
{{icon|fpc}}
fpn
Before the featured portal process ceased in 2017, this had been designated as a featured portal.
{{icon|fpo}}
Featured portal candidate
{{icon|fpoc}}
Featured portal review
{{icon|fpor}}
Featured sound
{{icon|fs}}
Featured sound candidate
{{icon|fsc}}
Featured topic
{{icon|ft}}
Featured topic candidate
{{icon|ftc}}
ftn
Featured topic removal candidate
{{icon|ftrc}}
Good article
{{icon|ga}}
Good article, 2nd opinion
{{icon|ga2}}
Good article on hold
{{icon|gah}}
Good article nominee
{{icon|gan}}
gac
Good article reassessment
{{icon|gar}}
Guild of Copy Editors
{{icon|goce}}
Good topic
{{icon|gt}}
Good topic candidate
{{icon|gtc}}
gtn
Good topic removal candidate
{{icon|gtrc}}
File
{{icon|image}}
file
In The News
{{icon|itn}}
List-Class article
{{icon|list}}
comparison
Meta-wiki page
{{icon|meta}}
Million Award
{{icon|million}}
Module
{{icon|module}}
Non-article page
{{icon|na}}
Needed article
{{icon|needed}}
Unknown-Class article
{{icon|no}}
Failed A-Class article candidate
{{icon|noac}}
faac
On This Day
{{icon|otd}}
Outline
{{icon|outline}}
Portal
{{icon|portal}}
Picture of the Day
{{icon|potd}}
Portal peer review
{{icon|ppr}}
Peer review
{{icon|pr}}
Project page
{{icon|project}}
Question
{{icon|q}}
question
Quality image on Wikimedia Commons
{{icon|qi}}
Redirect
{{icon|redirect}}
red
, redir
Start-Class article
{{icon|start}}
Stub-Class article
{{icon|stub}}
Template
{{icon|template}}
temp
, templ
Today's Featured Article
{{icon|tfa}}
Today's Featured List
{{icon|tfl}}
Valued image on Wikimedia Commons
{{icon|vi}}
Vital article
{{icon|vital}}
Valued picture
{{icon|vp}}
Valued picture candidate
{{icon|vpc}}
Wikibooks page
{{icon|wikibooks}}
Wikidata page
{{icon|wikidata}}
Wikinews page
{{icon|wikinews}}
Wikipedia page
{{icon|wikipedia}}
WikiProject
{{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}}
TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard .
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. < nowiki >
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw < templatedata >
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Template parameters[ Edit template data ]
Parameter Description Type Status Icon 1
class
The identifier or name of the icon to be displayed.
Default Line optional size size
The size of the icon to display, e.g. "30px".
Default 16x16px Line optional