Template:Classicon

From Hearthstone Wiki
Jump to navigation Jump to search

A simple template for linking class icon images, assuming the form Icon_<class>_<size>.png.

Usage[edit source]

  • First parameter (mandatory) is class name. Example: druid
  • Second parameter (optional) is file size and name, and is used to determine the image size in pixels. If no file size is supplied, the template will default to 16. Example: 64
  • Third parameter (optional) is image size, and if specified will overwrite the file size, allowing for a different size than the full file size. Example: 60

Examples[edit source]

{{Classicon|druid}}

Produces:

Icon Druid 16.png


{{Classicon|druid|64}}

Produces:

Icon Druid 64.png


{{Classicon|druid|64|60}}

Produces:

Icon Druid 64.png