Pojdi na vsebino

Predloga:Icon

Iz Wikipedije, proste enciklopedije

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

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 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 codes[uredi kodo]

Icon  Type  Code 
Featured article Featured Article {{icon|FA}}
Featured article candidate Featured Article Candidate {{icon|FAC}}
Featured article review Featured Article Review {{icon|FAR}}
Featured article removal candidate Featured Article Removal Candidate {{icon|FARC}}
Former featured article Former Featured Article {{icon|FFA}}
Failed featured article candidate Failed Featured Article Candidate {{icon|FFAC}}
Featured picture Featured Picture {{icon|FP}}
Featured picture candidate Featured Picture Candidate {{icon|FPC}}
Former featured picture Former Featured Picture {{icon|FFP}}
Before the featured portal process ceased in 2017, this had been designated as a featured portal. Featured Portal {{icon|FPo}}
Former featured portal Former Featured Portal {{icon|FFPo}}
Featured portal candidate Featured Portal Candidate {{icon|FPoC}}
Featured portal review Featured Portal Review {{icon|FPoR}}
Featured sound Featured Sound {{icon|FS}}
Former featured sound Former Featured Sound {{icon|FFS}}
Featured sound candidate Featured Sound Candidate {{icon|FSC}}
Featured topic Featured Topic {{icon|FT}}
Featured topic candidate Featured Topic Candidate {{icon|FTC}}
Featured topic removal candidate Featured Topic Removal Candidate {{icon|FTRC}}
Former featured topic Former Featured Topic {{icon|FFT}}
A-Class article A-Class Article {{icon|A}}
A-Class article candidate A-Class Article Candidate {{icon|ACC}}
Demoted A-Class article Demoted A-Class Article {{icon|DAA}}
Failed A-Class article candidate Failed A-Class Article Candidate {{icon|FAAC}}
Good article Good Article {{icon|GA}}
Good article nominee Good Article Nominee {{icon|GAN}}
Good article, 2nd opinion Good Article, 2nd Opinion {{icon|GA2}}
Good article on hold Good Article on Hold {{icon|GAH}}
Good article reassessment Good Article Reassessment {{icon|GAR}}
Delisted good article Delisted Good Article {{icon|DGA}}
Failed good article nominee Failed Good Article Nominee {{icon|FGAN}}
Good topic Good Topic {{icon|GT}}
Good topic candidate Good Topic Candidate {{icon|GTC}}
Good topic removal candidate Good Topic Removal Candidate {{icon|GTRC}}
Bplus-Class article Bplus-Class Article {{icon|BPLUS}}
B-Class article B-Class Article {{icon|B}}
B-Class review B-Class Review {{icon|BR}}
C-Class article C-Class Article {{icon|C}}
Start-Class article Start-Class Article {{icon|START}}
Stub-Class article Stub-Class Article {{icon|STUB}}
Featured list Featured List {{icon|FL}}
Featured list candidate Featured List Candidate {{icon|FLC}}
Former featured list Former Featured List {{icon|FFL}}
Failed featured list candidate Failed Featured List Candidate {{icon|FFLC}}
Featured list removal candidate Featured List Review {{icon|FLR}}
Featured list removal candidate Featured List Removal Candidate {{icon|FLRC}}
List-Class article List-Class Article {{icon|LIST}}
Wikipedia book Wikipedia Book {{icon|Book}}
Kategorija Category {{icon|Category}}
Razločitvena stran Disambiguation page {{icon|Disambig}}
Datoteka File {{icon|Image}}
Valued picture Valued Picture {{icon|VP}}
Valued picture candidate Valued Picture Candidate {{icon|VPC}}
Outline Outline {{icon|Outline}}
Portal Portal {{icon|Portal}}
Projektna stran Project Page {{icon|Project}}
Preusmeritev Redirect {{icon|Redirect}}
Predloga Template {{icon|Template}}
Module Module {{icon|module}}
Esej Essay {{icon|Essay}}
Non-article page Non-article Page {{icon|NA}}
Unknown-Class article Unknown-Class Article {{icon|NO}}
Unassessed Article {{icon|Unassessed}}
Audited article of limited subject matter Audited Article of limited subject matter {{icon|AA}}
Demoted article Demoted Article {{icon|DA}}
Ste vedeli? Did You Know? {{icon|DYK}}
Ste vedeli? Did You Know? (alternate) {{icon|DYK2}}
In The News In The News {{icon|ITN}}
On This Day On This Day {{icon|OTD}}
Peer review Peer Review {{icon|PR}}
Portal peer review Portal Peer Review {{icon|PPR}}
Vprašanje Question {{icon|Q}}
Quality image on Wikimedia Commons Quality Image on Wikimedia Commons {{icon|QI}}
Today's Featured Article Today's Featured Article {{icon|TFA}}
Valued image on Wikimedia Commons Valued Image on Wikimedia Commons {{icon|VI}}
Commons page Commons page {{icon|Commons}}
Meta-wiki page Meta-wiki page {{icon|Meta}}
Wikibooks page Wikibooks page {{icon|Wikibooks}}
Wikidata page Wikidata page {{icon|Wikidata}}
Wikinews page Wikinews page {{icon|Wikinews}}
Wikipedia page Wikipedia page {{icon|Wikipedia}}
WikiProject WikiProject page {{icon|WikiProject}}
Wikiquote page Wikiquote page {{icon|Wikiquote}}
Wikisource page Wikisource page {{icon|Wikisource}}
Wikispecies page Wikispecies page {{icon|Wikispecies}}
Wikiversity page Wikiversity page {{icon|Wikiversity}}
Wikivoyage page Wikivoyage page {{icon|Wikivoyage}}
Wiktionary page Wiktionary page {{icon|Wiktionary}}
Four Award Four Award {{icon|FOUR}}
Million Award 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.

Parametri predloge[Urejanje podatkov predloge]

ParameterOpisVrstaStanje
Icon1 class

The identifier or name of the icon to be displayed.

Vrsticaneobvezno
sizesize

Velikost ikone za prikaz, npr. "30px".

Privzeto
16x16px
Vrsticaneobvezno

See also[uredi kodo]