Template:Top icon

From Holocron - Star Wars Combine
Revision as of 13:13, 8 June 2018 by Rupert Havok (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a Holocron template used to automatically generate small contextual icons (15x15) in the top-right corner of various articles and pages.

Usage

{{Top icon
| imagename    = Crystal Clear action run.svg
| wikilink     = The pagename of a wikipage. This is where you will be taken when clicking the icon.
| description  = This will show in the tooltip when hovering over the icon.
| id           = a page-unique id (used for CSS styling)
| class        = one or more custom class names (used for CSS styling)
| icon_nr      = the icon number determines the offset of the topicon (has to be used if you have more than one top icon)
| extra_offset = an additional offset that you can use to force or adapt (in case you have non-20px wide elements in your topicon row)
}}