Predloga:Icon
Videz
![]() |
Predloga se uporablja na 359266 straneh, zato bo vsaka njena sprememba takoj zelo opazna. Prosimo, da vse spremembe, ki jih želite uvesti, pred uvedbo preizkusite na podstraneh predloge (/peskovnik in /testniprimeri) ali na svojih lastnih podstraneh. Pred spreminjanjem te predloge se o želenih spremembah rajši pogovorite na pogovorni strani. |
![]() | Uporablja Lua: |
This template creates an inline image that is used in metapages such as Wikipedia:Vital articles and/or in user pages.
Syntax
[uredi kodo]Basic usage
{{icon|code}}
{{icon|class=code}}
Custom size
{{icon|code|size=size}}
Parameters
[uredi kodo]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
[uredi kodo]Icon | Type | Code |
---|---|---|
![]() |
Featured Article | {{icon|FA}} |
![]() |
Featured Article Candidate | {{icon|FAC}} |
![]() |
Featured Article Review | {{icon|FAR}} |
![]() |
Featured Article Removal Candidate | {{icon|FARC}} |
![]() |
Former Featured Article | {{icon|FFA}} |
![]() |
Failed Featured Article Candidate | {{icon|FFAC}} |
![]() |
Featured Picture | {{icon|FP}} |
![]() |
Featured Picture Candidate | {{icon|FPC}} |
![]() |
Former Featured Picture | {{icon|FFP}} |
![]() |
Featured Portal | {{icon|FPo}} |
![]() |
Former Featured Portal | {{icon|FFPo}} |
![]() |
Featured Portal Candidate | {{icon|FPoC}} |
![]() |
Featured Portal Review | {{icon|FPoR}} |
![]() |
Featured Sound | {{icon|FS}} |
![]() |
Former Featured Sound | {{icon|FFS}} |
![]() |
Featured Sound Candidate | {{icon|FSC}} |
![]() |
Featured Topic | {{icon|FT}} |
![]() |
Featured Topic Candidate | {{icon|FTC}} |
![]() |
Featured Topic Removal Candidate | {{icon|FTRC}} |
![]() |
Former Featured Topic | {{icon|FFT}} |
![]() |
A-Class Article | {{icon|A}} |
![]() |
A-Class Article Candidate | {{icon|ACC}} |
![]() |
Demoted A-Class Article | {{icon|DAA}} |
![]() |
Failed A-Class Article Candidate | {{icon|FAAC}} |
![]() |
Good Article | {{icon|GA}} |
![]() |
Good Article Nominee | {{icon|GAN}} |
![]() |
Good Article, 2nd Opinion | {{icon|GA2}} |
![]() |
Good Article on Hold | {{icon|GAH}} |
![]() |
Good Article Reassessment | {{icon|GAR}} |
![]() |
Delisted Good Article | {{icon|DGA}} |
![]() |
Failed Good Article Nominee | {{icon|FGAN}} |
![]() |
Good Topic | {{icon|GT}} |
![]() |
Good Topic Candidate | {{icon|GTC}} |
![]() |
Good Topic Removal Candidate | {{icon|GTRC}} |
![]() |
Bplus-Class Article | {{icon|BPLUS}} |
![]() |
B-Class Article | {{icon|B}} |
![]() |
B-Class Review | {{icon|BR}} |
![]() |
C-Class Article | {{icon|C}} |
![]() |
Start-Class Article | {{icon|START}} |
![]() |
Stub-Class Article | {{icon|STUB}} |
![]() |
Featured List | {{icon|FL}} |
![]() |
Featured List Candidate | {{icon|FLC}} |
![]() |
Former Featured List | {{icon|FFL}} |
![]() |
Failed Featured List Candidate | {{icon|FFLC}} |
![]() |
Featured List Review | {{icon|FLR}} |
![]() |
Featured List Removal Candidate | {{icon|FLRC}} |
![]() |
List-Class Article | {{icon|LIST}} |
![]() |
Wikipedia Book | {{icon|Book}} |
![]() |
Category | {{icon|Category}} |
![]() |
Disambiguation page | {{icon|Disambig}} |
![]() |
File | {{icon|Image}} |
![]() |
Valued Picture | {{icon|VP}} |
![]() |
Valued Picture Candidate | {{icon|VPC}} |
![]() |
Outline | {{icon|Outline}} |
![]() |
Portal | {{icon|Portal}} |
![]() |
Project Page | {{icon|Project}} |
![]() |
Redirect | {{icon|Redirect}} |
![]() |
Template | {{icon|Template}} |
![]() |
Module | {{icon|module}} |
![]() |
Essay | {{icon|Essay}} |
![]() |
Non-article Page | {{icon|NA}} |
![]() |
Unknown-Class Article | {{icon|NO}} |
![]() |
Unassessed Article | {{icon|Unassessed}} |
![]() |
Audited Article of limited subject matter | {{icon|AA}} |
![]() |
Demoted Article | {{icon|DA}} |
![]() |
Did You Know? | {{icon|DYK}} |
![]() |
Did You Know? (alternate) | {{icon|DYK2}} |
![]() |
In The News | {{icon|ITN}} |
![]() |
On This Day | {{icon|OTD}} |
![]() |
Peer Review | {{icon|PR}} |
![]() |
Portal Peer Review | {{icon|PPR}} |
![]() |
Question | {{icon|Q}} |
![]() |
Quality Image on Wikimedia Commons | {{icon|QI}} |
![]() |
Today's Featured Article | {{icon|TFA}} |
![]() |
Valued Image on Wikimedia Commons | {{icon|VI}} |
![]() |
Commons page | {{icon|Commons}} |
![]() |
Meta-wiki page | {{icon|Meta}} |
![]() |
Wikibooks page | {{icon|Wikibooks}} |
![]() |
Wikidata page | {{icon|Wikidata}} |
![]() |
Wikinews page | {{icon|Wikinews}} |
![]() |
Wikipedia page | {{icon|Wikipedia}} |
![]() |
WikiProject page | {{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}} |
![]() |
Four Award | {{icon|FOUR}} |
![]() |
Million Award | {{icon|Million}} |
TemplateData
[uredi kodo]To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.
TemplateData za Icon
This template creates an inline icon-sized image. Please refer to 'Template:Icon/doc' for the list of supported values.
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
Icon | 1 class | The identifier or name of the icon to be displayed. | Vrstica | neobvezno |
size | size | Velikost ikone za prikaz, npr. "30px".
| Vrstica | neobvezno |
See also
[uredi kodo]- {{icon+link}}