Difference between revisions of "Template:Icon/doc"

From CryptoWiki
wiki_crypto>Mr. Stradivarius
(→‎Icon codes: use Module:Icon/table to generate this table automatically from the module data)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 12:37, 31 December 2021

About

This template creates an inline image that is used in metapages such as Wikipedia:Vital articles and/or in user pages.

Usage

Basic usage

{{icon|code}}

{{icon|class=code}}

Custom size

{{icon|code|size=size}}

Parameters

  • 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

Icon Description Code Aliases
A-Class article A-Class article {{icon|a}}
Audited article of limited subject matter Audited article of limited subject matter {{icon|aa}}
A-Class article candidate A-Class article candidate {{icon|acc}} aac, acn
B-Class article B-Class article {{icon|b}}
Wikipedia book Wikipedia book {{icon|book}}
Bplus-Class article Bplus-Class article {{icon|bplus}} b+
B-Class review B-Class review {{icon|br}} bcr
C-Class article C-Class article {{icon|c}}
Category Category {{icon|category}} cat, categ
Cleanup work Cleanup work {{icon|cleanup}}
Commons page Commons page {{icon|commons}}
Demoted article Demoted article {{icon|da}}
Demoted A-Class article Demoted A-Class article {{icon|dac}} daa
Delisted good article Delisted good article {{icon|dga}}
Disambiguation page Disambiguation page {{icon|disambiguation}} dab, disamb, disambig
Did You Know? Did You Know? {{icon|dyk}}
Did You Know? Did You Know? {{icon|dyk2}}
Essay Essay {{icon|essay}}
Featured article Featured article {{icon|fa}}
Featured article candidate Featured article candidate {{icon|fac}} fan
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}} dfa
Failed featured article candidate Failed featured article candidate {{icon|ffac}} nofa
Former featured list Former featured list {{icon|ffl}} dfl
Failed featured list candidate Failed featured list candidate {{icon|fflc}} nofl
Former featured picture Former featured picture {{icon|ffp}}
Former featured portal Former featured portal {{icon|ffpo}}
Former featured sound Former featured sound {{icon|ffs}}
Former featured topic Former featured topic {{icon|fft}} dft
Failed good article nominee Failed good article nominee {{icon|fgan}} gaf, gf, noga
Featured list Featured list {{icon|fl}}
Featured list candidate Featured list candidate {{icon|flc}} fln
Featured list removal candidate Featured list removal candidate {{icon|flrc}} flr
Four Award Four Award {{icon|four}}
Featured picture Featured picture {{icon|fp}}
Featured picture candidate Featured picture candidate {{icon|fpc}} fpn
Before the featured portal process ceased in 2017, this had been designated as a featured portal. Before the featured portal process ceased in 2017, this had been designated as a featured portal. {{icon|fpo}}
Featured portal candidate Featured portal candidate {{icon|fpoc}}
Featured portal review Featured portal review {{icon|fpor}}
Featured sound Featured sound {{icon|fs}}
Featured sound candidate Featured sound candidate {{icon|fsc}}
Featured topic Featured topic {{icon|ft}}
Featured topic candidate Featured topic candidate {{icon|ftc}} ftn
Featured topic removal candidate Featured topic removal candidate {{icon|ftrc}}
Good article Good article {{icon|ga}}
Good article, 2nd opinion Good article, 2nd opinion {{icon|ga2}}
Good article on hold Good article on hold {{icon|gah}}
Good article nominee Good article nominee {{icon|gan}} gac
Good article reassessment Good article reassessment {{icon|gar}}
Guild of Copy Editors Guild of Copy Editors {{icon|goce}}
Good topic Good topic {{icon|gt}}
Good topic candidate Good topic candidate {{icon|gtc}} gtn
Good topic removal candidate Good topic removal candidate {{icon|gtrc}}
File File {{icon|image}} file
In The News In The News {{icon|itn}}
List-Class article List-Class article {{icon|list}} comparison
Meta-wiki page Meta-wiki page {{icon|meta}}
Million Award Million Award {{icon|million}}
Module Module {{icon|module}}
Non-article page Non-article page {{icon|na}}
Needed article Needed article {{icon|needed}}
Unknown-Class article Unknown-Class article {{icon|no}}
Failed A-Class article candidate Failed A-Class article candidate {{icon|noac}} faac
On This Day On This Day {{icon|otd}}
Outline Outline {{icon|outline}}
Portal Portal {{icon|portal}}
Portal peer review Portal peer review {{icon|ppr}}
Peer review Peer review {{icon|pr}}
Project page Project page {{icon|project}}
Question Question {{icon|q}} question
Quality image on Wikimedia Commons Quality image on Wikimedia Commons {{icon|qi}}
Redirect Redirect {{icon|redirect}} red, redir
Start-Class article Start-Class article {{icon|start}}
Stub-Class article Stub-Class article {{icon|stub}}
Template Template {{icon|template}} temp, templ
Today's Featured Article Today's Featured Article {{icon|tfa}}
Today's Featured List Today's Featured List {{icon|tfl}}
Valued image on Wikimedia Commons Valued image on Wikimedia Commons {{icon|vi}}
Vital article Vital article {{icon|vital}}
Valued picture Valued picture {{icon|vp}}
Valued picture candidate Valued picture candidate {{icon|vpc}}
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 {{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}}

See also

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Icon

This template creates an inline icon-sized image. Please refer to 'Template:Icon/doc' for the list of supported values.

Template parameters

ParameterDescriptionTypeStatus
Icon1 class

The identifier or name of the icon to be displayed.

Default
Lineoptional
sizesize

The size of the icon to display, e.g. "30px".

Default
16x16px
Lineoptional