Template:Icon: Difference between revisions
Jump to navigation
Jump to search
en>Arctic.gnome +OTD |
en>WOSlinker tidy pipes |
||
Line 1: | Line 1: | ||
{{#switch:{{lc:{{{class|{{{1|}}}}}}}} | |||
|fa = Featured article star.svg | |fa = [[File:Featured article star.svg | Featured article |16px|link=]] | ||
|far = Cscr-star piece.png | |far = [[File:Cscr-star piece.png | Featured article review |16px|link=]] | ||
|farc = Cscr-star piece.png | |farc = [[File:Cscr-star piece.png | Featured article removal candidate |16px|link=]] | ||
|ffa|dfa = Featured article star - cross.svg | |ffa|dfa = [[File:Featured article star - cross.svg | Former featured article |16px|link=]] | ||
|fac|fan = Cscr-candidate.svg | |fac|fan = [[File:Cscr-candidate.svg | Featured article candidate |16px|link=]] | ||
|ffac|nofa = Featured article star - cross.svg | |ffac|nofa = [[File:Featured article star - cross.svg | Failed featured article candidate |16px|link=]] | ||
|fl = Featured article star.svg | |fl = [[File:Featured article star.svg | Featured list |16px|link=]] | ||
|flrc|flr = Cscr-star piece.png | |flrc|flr = [[File:Cscr-star piece.png | Featured list removal candidate |16px|link=]] | ||
|ffl|dfl = Cscr-featured-strike.svg | |ffl|dfl = [[File:Cscr-featured-strike.svg | Former featured list |16px|link=]] | ||
|flc|fln = Cscr-candidate.svg | |flc|fln = [[File:Cscr-candidate.svg | Featured list candidate |16px|link=]] | ||
|fflc|nofl = Cscr-former.svg | |fflc|nofl = [[File:Cscr-former.svg | Failed featured list candidate |16px|link=]] | ||
|a = Symbol a class.svg | |a = [[File:Symbol a class.svg | A-Class article |16px|link=]] | ||
|dac|daa = Symbol unsupport A vote.svg | |dac|daa = [[File:Symbol unsupport A vote.svg | Demoted A-Class article |16px|link=]] | ||
|acc|acn|aac = A candidate.svg | |acc|acn|aac = [[File:A candidate.svg | A-Class article candidate |16px|link=]] | ||
|noac|faac = Symbol unsupport A vote.svg | |noac|faac = [[File:Symbol unsupport A vote.svg | Failed A-Class article candidate |16px|link=]] | ||
|ga = Symbol support vote.svg | |ga = [[File:Symbol support vote.svg | Good article |16px|link=]] | ||
|gar = GA Candidate Neutral vote(ChaosNil).svg | |gar = [[File:GA Candidate Neutral vote(ChaosNil).svg | Good article reassessment |16px|link=]] | ||
|dga = Symbol unsupport vote.svg | |dga = [[File:Symbol unsupport vote.svg | Delisted good article |16px|link=]] | ||
|gan|gac = GA candidate.svg | |gan|gac = [[File:GA candidate.svg | Good article nominee |16px|link=]] | ||
|ga2 = Symbol neutral vote.svg | |ga2 = [[File:Symbol neutral vote.svg | Good article, 2nd opinion |16px|link=]] | ||
|gah = Symbol wait.svg | |gah = [[File:Symbol wait.svg | Good article on hold |16px|link=]] | ||
|fgan|noga|gaf|gf = Symbol unsupport vote.svg | |fgan|noga|gaf|gf = [[File:Symbol unsupport vote.svg | Failed good article nominee |16px|link=]] | ||
|fp = Cscr-featured.svg | |fp = [[File:Cscr-featured.svg | Featured picture |16px|link=]] | ||
|ffp = Cscr-former.svg | |ffp = [[File:Cscr-former.svg | Former featured picture |16px|link=]] | ||
|vp = ENWP VP Logo.svg | |vp = [[File:ENWP VP Logo.svg | Valued picture |16px|link=]] | ||
|vpc = Valued pics 1.svg | |vpc = [[File:Valued pics 1.svg | Valued picture candidate |16px|link=]] | ||
|fs = Cscr-featured.svg | |fs = [[File:Cscr-featured.svg | Featured sound |16px|link=]] | ||
|ffs = Cscr-former.svg | |ffs = [[File:Cscr-former.svg | Former featured sound |16px|link=]] | ||
|fsc = Cscr-candidate.svg | |fsc = [[File:Cscr-candidate.svg | Featured sound candidate |16px|link=]] | ||
|fpo = Cscr-featured.svg | |fpo = [[File:Cscr-featured.svg | Featured portal |16px|link=]] | ||
|fpor = Cscr-star piece.png | |fpor = [[File:Cscr-star piece.png | Featured portal review |16px|link=]] | ||
|ffpo = Featured article star - cross.svg | |ffpo = [[File:Featured article star - cross.svg | Former featured portal |16px|link=]] | ||
|fpoc = Cscr-candidate.svg | |fpoc = [[File:Cscr-candidate.svg | Featured portal candidate |16px|link=]] | ||
|ft = Cscr-featuredtopic.svg | |ft = [[File:Cscr-featuredtopic.svg | Featured topic |16px|link=]] | ||
|ftrc = Cscr-star piece.png | |ftrc = [[File:Cscr-star piece.png | Featured topic removal candidate |16px|link=]] | ||
|fft|dft = DFT candidate_cluster.svg | |fft|dft = [[File:DFT candidate_cluster.svg | Former featured topic |16px|link=]] | ||
|ftc|ftn = FT candidate cluster.svg | |ftc|ftn = [[File:FT candidate cluster.svg | Featured topic candidate |16px|link=]] | ||
|gt = Support cluster.svg | |gt = [[File:Support cluster.svg | Good topic |16px|link=]] | ||
|gtrc = Symbol unsupport vote.svg | |gtrc = [[File:Symbol unsupport vote.svg | Good topic removal candidate |16px|link=]] | ||
|gtc|gtn = GA candidate cluster.svg | |gtc|gtn = [[File:GA candidate cluster.svg | Good topic candidate |16px|link=]] | ||
|bplus|b+ = Symbol bplus class.svg | |bplus|b+ = [[File:Symbol bplus class.svg | Bplus-Class article |16px|link=]] | ||
|b = Symbol b class.svg | |b = [[File:Symbol b class.svg | B-Class article |16px|link=]] | ||
|br|bcr = Bclass-checklist.svg | |br|bcr = [[File:Bclass-checklist.svg | B-Class review |16px|link=]] | ||
|c = Symbol c class.svg | |c = [[File:Symbol c class.svg | C-Class article |16px|link=]] | ||
|start = Symbol start class.svg | |start = [[File:Symbol start class.svg | Start-Class article |16px|link=]] | ||
|stub = Symbol stub class.svg | |stub = [[File:Symbol stub class.svg | Stub-Class article |16px|link=]] | ||
|list = Symbol list class.svg | |list = [[File:Symbol list class.svg | List-Class article |16px|link=]] | ||
|no = Crystal button cancel.svg | |no = [[File:Crystal button cancel.svg | Unknown-Class article |16px|link=]] | ||
|book = Symbol book class2.svg | |book = [[File:Symbol book class2.svg | Wikipedia book |16px|link=]] | ||
|cat|categ | |cat|categ | ||
|category = Folder Hexagonal Icon.svg | |category = [[File:Folder Hexagonal Icon.svg | Category |16px|link=]] | ||
|dab|disamb | |dab|disamb | ||
|disambig | |disambig | ||
|disambiguation = Symbol dab class.svg | |disambiguation = [[File:Symbol dab class.svg | Disambiguation page |16px|link=]] | ||
|image|file = Video-x-generic.svg | |image|file = [[File:Video-x-generic.svg | File |16px|link=]] | ||
|portal = Portal-puzzle.svg | |portal = [[File:Portal-puzzle.svg | Portal |16px|link=]] | ||
|project = Symbol information vote.svg | |project = [[File:Symbol information vote.svg | Project page |16px|link=]] | ||
|red|redir | |red|redir | ||
|redirect = Symbol redirect vote2.svg | |redirect = [[File:Symbol redirect vote2.svg | Redirect |16px|link=]] | ||
|temp|templ | |temp|templ | ||
|template = Symbol template class.svg | |template = [[File:Symbol template class.svg | Template |16px|link=]] | ||
|na = Symbol neutral vote.svg | |na = [[File:Symbol neutral vote.svg | Non-article page |16px|link=]] | ||
|aa = Yes check.svg | |aa = [[File:Yes check.svg | Audited article of limited subject matter|16px|link=]] | ||
|da = Symbol oppose vote.svg | |da = [[File:Symbol oppose vote.svg | Demoted article |16px|link=]] | ||
|dyk = Symbol question.svg | |dyk = [[File:Symbol question.svg | Did You Know? |16px|link=]] | ||
|dyk2 = DYK questionmark icon.svg | |dyk2 = [[File:DYK questionmark icon.svg | Did You Know? |16px|link=]] | ||
|pr = Nuvola apps kedit.png | |pr = [[File:Nuvola apps kedit.png | Peer review |16px|link=]] | ||
|ppr = Nuvola apps kedit.png | |ppr = [[File:Nuvola apps kedit.png | Portal peer review |16px|link=]] | ||
|q|question = Symbol question.svg | |q|question = [[File:Symbol question.svg | Question |16px|link=]] | ||
|qi = Quality images logo.svg | |qi = [[File:Quality images logo.svg | Quality image on Wikimedia Commons |16px|link=]] | ||
|vi = Valued image seal.svg | |vi = [[File:Valued image seal.svg | Valued image on Wikimedia Commons |16px|link=]] | ||
|tfa = Wikipedia-logo.svg | |tfa = [[File:Wikipedia-logo.svg | Today's Featured Article |16px|link=]] | ||
|itn = Globe current.svg | |itn = [[File:Globe current.svg | In The News |16px|link=]] | ||
|otd = Nuvola apps date.svg | |otd = [[File:Nuvola apps date.svg | On This Day |16px|link=]] | ||
|wikiproject = People icon.svg | |wikiproject = [[File:People icon.svg | WikiProject |16px|link=]] | ||
|wikipedia = Wikipedia-logo.svg | |wikipedia = [[File:Wikipedia-logo.svg | Wikipedia page |16px|link=]] | ||
|commons = Commons-logo.svg | |commons = [[File:Commons-logo.svg | Commons page |16px|link=]] | ||
|wikiquote = Wikiquote-logo.svg | |wikiquote = [[File:Wikiquote-logo.svg | Wikiquote page |16px|link=]] | ||
|wikiversity = Wikiversity-logo.svg | |wikiversity = [[File:Wikiversity-logo.svg | Wikiversity page |16px|link=]] | ||
|wikibooks = Wikibooks-logo.svg | |wikibooks = [[File:Wikibooks-logo.svg | Wikibooks page |16px|link=]] | ||
|wikisource = Wikisource-logo.svg | |wikisource = [[File:Wikisource-logo.svg | Wikisource page |16px|link=]] | ||
|wiktionary = Wiktionary-logo.svg | |wiktionary = [[File:Wiktionary-logo.svg | Wiktionary page |16px|link=]] | ||
|wikinews = Wikinews-logo.svg | |wikinews = [[File:Wikinews-logo.svg | Wikinews page |16px|link=]] | ||
|wikispecies = Wikispecies-logo.svg | |wikispecies = [[File:Wikispecies-logo.svg | Wikispecies page |16px|link=]] | ||
|meta = Wikimedia Community Logo.svg | |meta = [[File:Wikimedia Community Logo.svg | Meta-wiki page |16px|link=]] | ||
|#default = Symbol question.svg | |#default = [[File:Symbol question.svg|16px|link=]] | ||
}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 08:19, 24 August 2012
This template is used on 590,000+ pages, or roughly 4941% of all 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. |
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
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
|
|
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 | optional |
size | size | The size of the icon to display, e.g. "30px".
| Line | optional |
See also
- {{icon+link}}