Template:Top icon/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This adds images to the top right corner of pages. Do not include any units such as 'px' or the prefix 'Image:'.

Usage

{{Top icon/doc |imagename= |wikilink= |description= |id= |width= |height= |sortkey= |nocat= }}

Template parameters

ParameterDescriptionDefaultStatus
imagenameExample.jpgrequired
wikilinkemptyoptional
descriptiondescription for tooltips (when hovering over image)emptyoptional
idoptional CSS IDemptyoptional
widthicon width, in pixels20optional
heighticon height, in pixels20optional
sortkeyAllows ordering the icons according to the sortkey given.emptyoptional
nocatAllows disabling automatic categorization.emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Localization

This template is not intended to be localized.

Simple example

{{top icon
| imagename  = Commons-logo.svg
| id         = commons-icon
}}