Template:Top icon

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

Documentation icon Documentationview edit history purge

This documentation is transcluded from Template:Top icon/doc.

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


{{Top icon |imagename= |wikilink= |description= |id= |class= |icon_nr= |width= }}

Template parameters

Parameter Description Default Status
imagename Example.jpg required
wikilink empty optional
description description for tooltips (when hovering over image) empty optional
id optional CSS ID empty optional
class optional CSS class empty optional
icon_nr Icon position, if there are multiple icons on the page (0 furthest right, 1 = second from right, etc) 0 optional
width icon width, in pixels 15 optional

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


This template is not intended to be localized.

Simple example

{{top icon
|imagename  = Commons-logo.svg
|width  = 20