Template:Top icon/doc

From Science Olympiad Student Center Wiki
< Template:Top icon
Revision as of 01:44, 17 January 2020 by Pepperonipi (talk | contribs) (Created page with "{{TemplateDocStart}} The '''Top icon''' template allows an icon to generated in the header of a wiki page to the right side of the header. The parameters can be customized to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Top icon/doc - Documentation

The Top icon template allows an icon to generated in the header of a wiki page to the right side of the header.

The parameters can be customized to fit the needs of the icon.

Parameters

imagename - the file name of the icon image
wikilink - the page the icon will link to when clicked
description - text that will appear when the icon is hovered over
id - a unique id is required for using different topicons on one page
sortkey - a key that is used to sort the icons (an easy way to do this is using integers)
width - the width of the icon
height - the height of the icon