• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Top icon

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 67,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
CautionDo not use images with licenses requiring attribution in a top icon if you are going to link to somewhere other than the image description page. Not linking to the image is likely to violate the license.

This is a metatemplate used to help build top icons, the little (usually 20x20 pixels) icons in the top-right area of a page. The template uses the page status indicator system.

Contents

  • 1 Usage
    • 1.1 Example
    • 1.2 Example with blank space
  • 2 See also

Usage

{{Top icon
| imagename    = Image file to use as icon.
| wikilink     = The page to link to. This is where you will be taken when clicking the icon.
| description  = The tooltip will display this text when the mouse pointer hovers over the icon.
| id           = A unique id is required when using different top icons on the same page.
}}

Extra options:

| sortkey      = Allows ordering the icons according to the sortkey given.
| width        = Uses a different width for the images. Default is 20.
| height       = Uses a different height for the images. Default is 20.
| usercat      = Adds a category to be added in userspace.
| maincat      = Adds a category to be added in article mainspace.
| subpage      = For categorization on subpages (default = no).
| nocat        = Disables the automatically added category (default = no).

Top icons are automatically sorted for consistency in articles. For that reason, |sortkey= should only be used in user top icons. Sort keys are sorted alphabetically, so, for example, "19" will sort before "2". If you want to use numbers as sort keys, and you have more than 10 top icons on a page, you must add leading zeroes, e.g. |sortkey=01, |sortkey=02, etc.

|width= and |height= are restrictive, meaning when one parameter is not set explicitly, the default acts as a maximum, even if the other parameter is set higher. To increase the overall size, both must be specified.

The following parameters are obsolete and no longer functional: |number=, |icon_nr=, |offset=, |extra-offset=, |class= and |style=.

Example

{{Accountcreator topicon}}
{{Rollback topicon}}
{{Autopatrolled topicon}}

Example with blank space

{{Admin topicon|sortkey=1}}
{{topicon|imagename=Blank 50px.png|sortkey=2}}
{{Oversighter topicon|sortkey=3}}
{{Checkuser topicon|sortkey=4}}

See also

  • mw:Help:Page status indicators
  • v
  • t
  • e
Top icons
Content
  • {{Featured article}}
  • {{Featured list}}
  • {{Good article}}
  • {{Spoken Wikipedia}}
Protection
  • {{Pp}}
  • {{Pp-blp}}
  • {{Pp-dispute}}
  • {{Pp-main-page}}
  • {{Pp-move}}
  • {{Pp-move-dispute}}
  • {{Pp-move-vandalism}}
  • {{Pp-office}}
  • {{Pp-office-dmca}}
  • {{Pp-pc}}
  • {{Pp-reset}}
  • {{Pp-semi-indef}}
  • {{Pp-sock}}
  • {{Pp-template}}
  • {{Pp-usertalk}}
  • {{Pp-vandalism}}
User rights
  • {{Accountcreator topicon}}
  • {{Administrator topicon}}
  • {{AFC topicon}}
  • {{Autoconfirmed topicon}}
  • {{Autopatrolled topicon}}
  • {{Bot topicon}}
  • {{Bureaucrat topicon}}
  • {{Checkuser topicon}}
  • {{CommonsAdministrator topicon}}
  • {{CommonsFilemover topicon}}
  • {{Confirmed topicon}}
  • {{Edit filter helpers topicon}}
  • {{Edit filter manager topicon}}
  • {{Event coordinator topicon}}
  • {{Extended confirmed topicon}}
  • {{File mover topicon}}
  • {{Global renamer topicon}}
  • {{Global sysop topicon}}
  • {{Interface administrator topicon}}
  • {{Massmessage-sender topicon}}
  • {{MetaAdministrator topicon}}
  • {{New page reviewer topicon}}
  • {{Not an admin topicon}}
  • {{Oversight topicon}}
  • {{Page mover topicon}}
  • {{Redirect autopatrolled topicon}}
  • {{Registered topicon}}
  • {{Reviewer topicon}}
  • {{Rollback topicon}}
  • {{Steward topicon}}
  • {{Template editor topicon}}
  • {{User global-rollback topicon}}
  • {{User topicon}}
Membership
  • {{10 Year topicon}}
  • {{15 Year topicon}}
  • {{20 Year topicon}}
  • {{Arbitrator topicon}}
  • {{Article Rescue Squadron topicon}}
  • {{BAG topicon}}
  • {{CVU topicon}}
  • {{DPL topicon}}
  • {{DRN topicon}}
  • {{Feedback topicon}}
  • {{Formula One topicon}}
  • {{GLAM Ambassador topicon}}
  • {{GOCE topicon}}
  • {{Mediator topicon}}
  • {{MILHIST Coordinator topicon}}
  • {{Online Ambassador topicon}}
  • {{OTRS topicon}}
  • {{OTRS topicon1}}
  • {{Photography topicon}}
  • {{Plugin topicon}}
  • {{RC patroller topicon}}
  • {{Short descriptions topicon}}
  • {{SWMT topicon}}
  • {{SVT topicon}}
  • {{Teahouse topicon}}
  • {{User WikiProject Tirana topicon}}
  • {{WikiProject Redirect top icon}}
  • {{WC topicon}}
  • {{WikiProject Australia topicon}}
  • {{WikiProject Bangladesh topicon}}
  • {{WikiProject Canada topicon}}
  • {{WikiProject China topicon}}
  • {{WikiProject Connecticut top icon}}
  • {{WikiProject India topicon}}
  • {{WikiProject Indonesia topicon}}
  • {{WikiProject Iran topicon}}
  • {{WikiProject Kansas topicon}}
  • {{WikiProject Lebanon topicon}}
  • {{WikiProject Malta Topicon}}
  • {{WikiProject Nepal topicon}}
  • {{WikiProject Pakistan topicon}}
  • {{WikiProject Peru topicon}}
  • {{WikiProject Philippines topicon}}
  • {{WikiProject Scotland topicon}}
  • {{WikiProject Thailand topicon}}
  • {{WikiProject United States topicon}}
  • {{WikiProject Vietnam topicon}}
  • {{WPJudaism Topicon}}
  • {{WikiProject Spam topicon}}
  • {{WikiProject Tanks topicon}}
  • {{WikiProject Automobiles topicon}}
  • {{WikiProject Aviation topicon}}
  • {{WikiProject Cricket topicon}}
  • {{WikiProject Olympics topicon}}
  • {{WikiProject Professional wrestling topicon}}
  • {{Arbitration clerk topicon}}
  • {{SPI clerk topicon}}
Awards
  • {{ARS}}
  • {{DYK user topicon}}
  • {{FA user topicon}}
  • {{FAC user topicon}}
  • {{FL user topicon}}
  • {{FLC user topicon}}
  • {{FP user topicon}}
  • {{FT user topicon}}
  • {{GA user topicon}}
  • {{GAR user topicon}}
  • {{GT user topicon}}
  • {{ITN user topicon}}
  • {{MA user topicon}}
  • {{SA user topicon}}
  • {{TC user topicon}}
  • {{100KE user topicon}}
  • {{4A user topicon}}
  • {{Precious topicon}}
    • alternative
Editor Service Awards
  • {{Registered Editor topicon}}
  • {{Novice Editor topicon}}
  • {{Apprentice Editor topicon}}
  • {{Journeyman Editor topicon}}
  • {{Yeoman Editor topicon}}
  • {{Experienced Editor topicon}}
  • {{Veteran Editor topicon}}
  • {{Veteran Editor II topicon}}
  • {{Veteran Editor III topicon}}
  • {{Veteran Editor IV topicon}}
  • {{Senior Editor topicon}}
  • {{Senior Editor II topicon}}
  • {{Senior Editor III topicon}}
  • {{Master Editor topicon}}
  • {{Master Editor II topicon}}
  • {{Master Editor III topicon}}
  • {{Master Editor IV topicon}}
  • {{Grandmaster Editor topicon}}
  • {{Grandmaster Editor First-Class topicon}}
  • {{Vanguard Editor topicon}}
  • {{Senior Vanguard Editor topicon}}
  • {{Ultimate Vanguard Editor topicon}}
Tools
  • {{AWB topicon}}
  • {{Discord topicon}}
  • {{HotCat topicon}}
  • {{Huggle topicon}}
  • {{Igloo topicon}}
  • {{IRC topicon}}
  • {{Lupin antivandal topicon}}
  • {{Navigation popups topicon}}
  • {{RedWarn topicon}}
  • {{RedWarn topicon 2}}
  • {{Snuggle topicon}}
  • {{STiki topicon}}
  • {{SWViewer topicon}}
  • {{Twinkle topicon}}
  • {{wikEd topicon}}
  • {{WPCleaner topicon}}
Other
  • {{Altacc topicon}}
  • {{Archive topicon}}
  • {{Bot operator topicon}}
  • {{Busy topicon}}
  • {{Committed identity topicon}}
  • {{Die Fliege}}
  • {{Email user topicon}}
  • {{Email user notification}}
  • {{Foolicon}}
  • {{GitHub topicon}}
  • {{Identified topicon}}
  • {{Identified topicon1}}
  • {{RCP topicon}}
  • {{Script user topicon}}
  • {{Signpost user topicon}}
  • {{Stress user topicon}}
  • {{Trout me}}
  • {{User Commons/topicon}}
  • {{User meta/topicon}}
  • {{ValidAlt topicon}}
  • {{WikiCat topicon}}
  • {{WikiGnome topicon}}
  • {{WikiPrincess}}
  • {{WikiSloth topicon}}
  • {{WikiSquirrel topicon}}
  • {{WikiJanitor topicon}}
  • {{WikiFairy}}
  • {{WikiOgre}}
  • {{WikiWitch-icon}}
  • {{Wikipedia:WikiDragon/topicon}}
  • {{WikiPrairie dog topicon}}
  • {{Spotify listener topicon}}
The above documentation is transcluded from Template:Top 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://moasspedia.org/w/index.php?title=Template:Top_icon&oldid=33817"
Categories:
  • Title templates
  • Top icon templates
  • User top icon templates
Last edited on 23 February 2020, at 11:39

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 23 February 2020, at 11:39.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop