Template:Icon: Difference between revisions
Jump to navigation
Jump to search
en>Prodego fine |
en>MSGJ update per PC78's request |
||
Line 1: | Line 1: | ||
[[File:{{#switch:{{lc:{{{class|{{{1|}}}}}}}} | [[File:{{#switch:{{lc:{{{class|{{{1|}}}}}}}} | ||
|fa | |fa = Featured article star.svg {{!}} Featured article | ||
| | |far = Cscr-star piece.png {{!}} Featured article review | ||
| | |farc = Cscr-star piece.png {{!}} Featured article removal candidate | ||
| | |ffa|dfa = Featured article star - cross.svg {{!}} Former featured article | ||
| | |fac|fan = Cscr-candidate.svg {{!}} Featured article candidate | ||
| | |ffac|nofa = Featured article star - cross.svg {{!}} Failed featured article candidate | ||
| | |fl = Featured article star.svg {{!}} Featured list | ||
| | |flrc|flr = Cscr-star piece.png {{!}} Featured list removal candidate | ||
| | |ffl|dfl = Cscr-featured-strike.svg {{!}} Former featured list | ||
| | |flc|fln = Cscr-candidate.svg {{!}} Featured list candidate | ||
| | |fflc|nofl = Cscr-former.svg {{!}} Failed featured list candidate | ||
| | |a = Symbol a class.svg {{!}} A-Class article | ||
| | |dac|daa = Symbol unsupport A vote.svg {{!}} Demoted A-Class article | ||
| | |acc|acn|aac = A candidate.svg {{!}} A-Class article candidate | ||
| | |noac|faac = Symbol unsupport A vote.svg {{!}} Failed A-Class article candidate | ||
| | |ga = Symbol support vote.svg {{!}} Good article | ||
| | |gar = GA Candidate Neutral vote(ChaosNil).svg {{!}} Good article reassessment | ||
| | |dga = Symbol unsupport vote.svg {{!}} Delisted good article | ||
| | |gan|gac = GA candidate.svg {{!}} Good article nominee | ||
| | |ga2 = Symbol neutral vote.svg {{!}} Good article, 2nd opinion | ||
| | |gah = Symbol wait.svg {{!}} Good article on hold | ||
| | |fgan|noga = Symbol unsupport vote.svg {{!}} Failed good article nominee | ||
| | |fp = Cscr-featured.svg {{!}} Featured picture | ||
| | |ffp = Cscr-former.svg {{!}} Former featured picture | ||
| | |vp = ENWP VP Logo.svg {{!}} Valued picture | ||
| | |vpc = Valued pics 1.svg {{!}} Valued picture candidate | ||
| | |fs = Cscr-featured.svg {{!}} Featured sound | ||
| | |ffs = Cscr-former.svg {{!}} Former featured sound | ||
| | |fsc = Cscr-candidate.svg {{!}} Featured sound candidate | ||
| | |fpo = Cscr-featured.svg {{!}} Featured portal | ||
| | |fpor = Cscr-star piece.png {{!}} Featured portal review | ||
| | |ffpo = Featured article star - cross.svg {{!}} Former featured portal | ||
| | |fpoc = Cscr-candidate.svg {{!}} Featured portal candidate | ||
| | |ft = Cscr-featuredtopic.svg {{!}} Featured topic | ||
|gtn | |ftrc = Cscr-star piece.png {{!}} Featured topic removal candidate | ||
|bplus|b+ = Symbol bplus class.svg | |fft|dft = DFT candidate_cluster.svg {{!}} Former featured topic | ||
| | |ftc|ftn = FT candidate cluster.svg {{!}} Featured topic candidate | ||
| | |gt = Support cluster.svg {{!}} Good topic | ||
| | |gtrc = Symbol unsupport vote.svg {{!}} Good topic removal candidate | ||
| | |gtc|gtn = GA candidate cluster.svg {{!}} Good topic candidate | ||
| | |bplus|b+ = Symbol bplus class.svg {{!}} Bplus-Class article | ||
| | |b = Symbol b class.svg {{!}} B-Class article | ||
| | |br|bcr = Bclass-checklist.svg {{!}} B-Class review | ||
|categ | |c = Symbol c class.svg {{!}} C-Class article | ||
|category = Folder Hexagonal Icon.svg | |start = Start-icon.svg {{!}} Start-Class article | ||
|dab | |stub = Symbol stub class.svg {{!}} Stub-Class article | ||
| | |list = Symbol list class.svg {{!}} List-Class article | ||
| | |no = Crystal button cancel.svg {{!}} Unknown-Class article | ||
| | |book = Symbol book class2.svg {{!}} Wikipedia book | ||
|red | |cat|categ | ||
| | |category = Folder Hexagonal Icon.svg {{!}} Category | ||
|temp | |dab|disamb | ||
|disambig | |||
|template = Symbol template class.svg | |disambiguation = Symbol dab class.svg {{!}} Disambiguation page | ||
|na | |image|file = Video-x-generic.svg {{!}} File | ||
| | |portal = Portal-puzzle.svg {{!}} Portal | ||
| | |project = Symbol information vote.svg {{!}} Project page | ||
| | |red|redir | ||
| | |redirect = Symbol redirect vote.svg {{!}} Redirect | ||
| | |temp|templ | ||
|#default = Symbol question.svg | |template = Symbol template class.svg {{!}} Template | ||
}}|16px]]<noinclude> | |na = Symbol neutral vote.svg {{!}} Non-article page | ||
|aa = Yes check.svg {{!}} Audited article of limited subject matter | |||
|da = Symbol oppose vote.svg {{!}} Demoted article | |||
|dyk = Symbol question.svg {{!}} Did You Know? | |||
|dyk2 = DYK questionmark icon.svg {{!}} Did You Know? | |||
|pr = Nuvola apps kedit.png {{!}} Peer review | |||
|ppr = Nuvola apps kedit.png {{!}} Portal peer review | |||
|qi = Quality images logo.svg {{!}} Quality image on Wikimedia Commons | |||
|vi = Valued image seal.svg {{!}} Valued image on Wikimedia Commons | |||
|#default = Symbol question.svg | |||
}}|16px]]{{#ifeq:{{lc:{{{1|}}}}}|no|[[Category:Use of Unknown-Class icon]]}}<noinclude> | |||
{{pp-template}} | {{pp-template}} | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 23:47, 4 December 2009
Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value).
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}}