• Home
  • Random
  • Log in
  • Settings
  • About Ikwipedia
  • Disclaimers
Ikwipedia

Template:Icon

  • Language
  • Watch
  • Edit

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 617,000 pages, or roughly 28913% 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:
  • Module:Icon

Contents

  • 1 About
  • 2 Usage
  • 3 Parameters
  • 4 Icon codes
  • 5 See also
  • 6 TemplateData

About edit

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

Usage edit

Basic usage
{{icon|code}}
{{icon|class=code}}
Custom size
{{icon|code|size=size}}

Parameters edit

  • 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 edit

Icon Description Code Aliases
A-Class article {{icon|a}}
Audited article of limited subject matter {{icon|aa}}
A-Class article candidate {{icon|acc}} aac, acn
Administrator {{icon|admin}} mop
Black alert {{icon|alert}}
Black, white, and red alert {{icon|alert-blackred}}
Green alert {{icon|alert-constructive}}
Alert {{icon|alert-imagewarning}}
B-Class article {{icon|b}}
Original barnstar {{icon|barnstar}}
Original barnstar hires {{icon|barnstar2}}
Wikipedia book {{icon|book}}
Bplus-Class article {{icon|bplus}} b+
B-Class review {{icon|br}} bcr
C-Class article {{icon|c}}
Category {{icon|category}} cat, categ
Cleanup work {{icon|cleanup}}
Commons page {{icon|commons}}
Demoted article {{icon|da}}
Demoted A-Class article {{icon|dac}} daa
Delisted good article {{icon|dga}}
Disambiguation page {{icon|disambiguation}} dab, disamb, disambig
Discussion {{icon|discussionnotificaion}}
Draft-Class article {{icon|draft}}
Did You Know? {{icon|dyk}}
Did You Know? {{icon|dyk2}}
Essay {{icon|essay}}
Featured article {{icon|fa}}
Featured article candidate {{icon|fac}} fan
Featured article review {{icon|far}}
Featured article removal candidate {{icon|farc}}
Former featured article {{icon|ffa}} dfa
Former featured article candidate {{icon|ffac}} nofa
Former featured list {{icon|ffl}} dfl
Former featured list candidate {{icon|fflc}} nofl
Former featured picture {{icon|ffp}}
Former featured portal {{icon|ffpo}}
Former featured sound {{icon|ffs}}
Former featured topic {{icon|fft}} dft
Failed good article nominee {{icon|fgan}} gaf, gf, noga
Featured list {{icon|fl}}
Featured list candidate {{icon|flc}} fln
Featured list removal candidate {{icon|flrc}} flr
Four Award {{icon|four}} 4a
Featured picture {{icon|fp}}
Featured picture candidate {{icon|fpc}} fpn
Before the featured portal process ceased in 2017, this had been designated as a featured portal. {{icon|fpo}}
Featured portal candidate {{icon|fpoc}}
Featured portal review {{icon|fpor}}
Featured sound {{icon|fs}}
Featured sound candidate {{icon|fsc}}
Featured topic {{icon|ft}}
Featured topic candidate {{icon|ftc}} ftn
Featured topic removal candidate {{icon|ftrc}}
Good article {{icon|ga}}
Good article, 2nd opinion {{icon|ga2}}
Good article on hold {{icon|gah}}
Good article nominee {{icon|gan}} gac
Good article reassessment {{icon|gar}}
Guild of Copy Editors {{icon|goce}}
Good topic {{icon|gt}}
Good topic candidate {{icon|gtc}} gtn
Good topic removal candidate {{icon|gtrc}}
File {{icon|image}} file
Information {{icon|info}}
In The News {{icon|itn}}
List-Class article {{icon|list}} comparison
MediaWiki {{icon|mediawiki}}
Meta-wiki page {{icon|meta}}
Million Award {{icon|million}}
Module {{icon|module}}
Non-article page {{icon|na}}
Needed article {{icon|needed}}
Unknown-Class article {{icon|no}}
Failed A-Class article candidate {{icon|noac}} faac
On This Day {{icon|otd}}
Outline {{icon|outline}}
Phabricator {{icon|phabricator}} phab
Portal {{icon|portal}}
Picture of the Day {{icon|potd}}
Portal peer review {{icon|ppr}}
Peer review {{icon|pr}}
Project page {{icon|project}}
Question {{icon|q}} question
Quality image on Wikimedia Commons {{icon|qi}}
Redirect {{icon|redirect}} red, redir
Start-Class article {{icon|start}}
Stub-Class article {{icon|stub}}
Template {{icon|template}} temp, templ
Today's Featured Article {{icon|tfa}}
Today's Featured List {{icon|tfl}}
User-Class article {{icon|user}}
Valued image on Wikimedia Commons {{icon|vi}}
Vital article {{icon|vital}}
Valued picture {{icon|vp}}
Valued picture candidate {{icon|vpc}}
Wikibooks page {{icon|wikibooks}}
Wikidata page {{icon|wikidata}}
Wikinews page {{icon|wikinews}}
Wikipedia page {{icon|wikipedia}}
WikiProject {{icon|wikiproject}}
Wikiquote page {{icon|wikiquote}}
Wikisource page {{icon|wikisource}}
Wikispecies page {{icon|wikispecies}}
Wikitech {{icon|wikitech}}
Wikiversity page {{icon|wikiversity}}
Wikivoyage page {{icon|wikivoyage}}
Wiktionary page {{icon|wiktionary}}

See also edit

  • {{Icon link}}
  • {{Class/icon}}
  • {{Done/See also}} - inline icon templates by shape and color
  • {{Table cell templates/doc}}
  • v
  • t
  • e
Wikipedia templates
Main namespace
  • General
  • Cleanup
    • Verifiability and sources
  • Disputes
  • Hatnotes
  • Infoboxes
  • Links
    • External link templates
    • Linking country articles
  • Lists
  • Main page
  • Section
  • Sources of articles
    • Quick reference
  • Standard boxes
  • Stub types
  • Translation
Other namespaces
  • Compact TOC
  • Category
  • File
  • Talk
  • Template
  • User
    • Userboxes
  • User talk
  • Wikipedia
    • WikiProject banners
All namespaces
  • Deletion
    • Speedy
  • Formatting
  • Maintenance
  • Merging
  • Moving
    • Requested
  • Navigation
  • Redirect pages
    • Functional index
    • Language codes
  • Splitting
  • Wikimedia sister projects
Navboxes
with templates
  • Archive
  • Articles for deletion
  • Birth, death and age
  • Button
  • Category header
  • Citation and verifiability
  • Citation Style 1
  • Deletion review
  • Editnotice
  • Hatnotes
  • Help desk
  • Inline cleanup
  • Introduction cleanup
  • IPA
  • Math
  • Notice and warnings
  • Organization infoboxes
  • Proposed article mergers
  • Protection
  • Quotation
  • Redirects
  • Search
  • Semantics
  • Speedy deletion
    • Notices
  • String-handling
  • Sup and sub-related
  • Top icon
  • Transwiki maintenance
  • Unicode
  • User talk pages
  • User noticeboard notices
  • Userboxes
    • User rights
  • Userspace linking
  • Userspace Disclaimers
  • Wikibreak
  • WikiLove
Inline images
  • Wikipedia icons
  • Discussion icons
  • Comment icons
  • Emoji
Help pages
  • Template documentation
  • Examples of templates
  • Maintenance template removal
  • Requested templates
  • Template help
    • Quick guide
  • Template namespace
Related topics
  • WikiProject Templates
  • Index
    • Category
Search
  • Category

TemplateData edit

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.

Template parameters

ParameterDescriptionTypeStatus
Icon1 class

The identifier or name of the icon to be displayed.

Linerequired
sizesize

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

Default
16x16px
Lineoptional
The above documentation is transcluded from Template:Icon/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.ikwipedia.org/index.php?title=Template:Icon&oldid=917"
Last edited on 5 November 2024, at 04:44

Languages

    This page is not available in other languages.

    Ikwipedia
    • This page was last edited on 5 November 2024, at 04:44.
    • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
    • Privacy policy
    • About Ikwipedia
    • Disclaimers
    • Desktop