Template:Icon: Difference between revisions
Jump to navigation
Jump to search
en>Navy Blue ←Redirected page to Template:Non-free computer icon |
en>Happy-melon commandeer redirect for a split of non-class-icons from {{classicon}} |
||
Line 1: | Line 1: | ||
[[File:{{#switch:{{lc:{{{class|{{{1|}}}}}}}} | |||
|fa = Featured article star.svg {{!}} Featured article | |||
|fl = Featured article star.svg {{!}} Featured list | |||
|a = Symbol a class.svg {{!}} A-Class article | |||
|ga = Symbol support vote.svg {{!}} Good article | |||
|b = Symbol b class.svg {{!}} B-Class article | |||
|c = Symbol c class.svg {{!}} C-Class article | |||
|start = Start-icon.svg {{!}} Start-Class article | |||
|stub = Symbol stub class.svg {{!}} Stub-Class article | |||
|list = Symbol list class.svg {{!}} List-Class article | |||
|fan = Cscr-candidate.svg {{!}} Featured article nominee | |||
|fln = Cscr-candidate.svg {{!}} Featured list nominee | |||
|nofa = Featured article star - cross.svg {{!}} Failed featured article nominee | |||
|nofl = Featured article star - cross.svg {{!}} Failed featured list nominee | |||
|dfa = Featured article star - cross.svg {{!}} Demoted featured article | |||
|dfl = Featured article star - cross.svg {{!}} Demoted featured list | |||
|ft = Cscr-featuredtopic.svg {{!}} Featured topic | |||
|gan|gac = GA candidate.svg {{!}} Good article candidate | |||
|ga2 = Symbol neutral vote.svg {{!}} Good article, 2nd opinion | |||
|gah = Symbol wait.svg {{!}} Good article on hold | |||
|noga = Symbol unsupport vote.svg {{!}} Failed good article candidate | |||
|dga = Symbol unsupport vote.svg {{!}} Demoted good article | |||
|gt = Support cluster.svg {{!}} Good topic | |||
|bplus|b+ = Symbol bplus class.svg {{!}} Bplus-Class article | |||
|no = Crystal button cancel.svg {{!}} Unknown-Class article | |||
|da = Symbol oppose vote.svg {{!}} Demoted article | |||
|dyk = Symbol question.svg {{!}} Did You Know? article | |||
|pr = Nuvola apps kedit.png {{!}} Peer reviewed | |||
|cat | |||
|categ | |||
|category = Folder Hexagonal Icon.svg {{!}} Category page | |||
|dab | |||
|disamb | |||
|disambig = Symbol dab class.svg {{!}} Disambiguation page | |||
|redirect | |||
|red | |||
|redir = Symbol redirect vote.svg {{!}} Redirect page | |||
|temp | |||
|templ | |||
|template = Symbol template class.svg {{!}} Template page | |||
|na = Symbol neutral vote.svg {{!}} Non-article page | |||
|image | |||
|file = Video-x-generic.svg {{!}} Media file page | |||
|portal = Portal.svg|Portal page | |||
|project = Symbol information vote.svg {{!}} Project page | |||
|#default = Symbol question.svg | |||
}}|16px]]<noinclude> | |||
{{pp-template}} | |||
{{documentation}} | |||
</noinclude> |
Revision as of 13:17, 7 April 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}}