Template:ClassIcon

From Wowpedia
Jump to: navigation, search

Documentation

Humane syntax for specifying any class icon. Pass the class and, optionally, desired size to produce an icon.

See also {{class}} which produces the class icon and a link to the class, e.g: "Druid Druid"

Previews:

HydraDark Mobile
  • Death Knight Death Knight
  • Demon Hunter Demon Hunter
  • Druid Druid
  • Hunter Hunter
  • Mage Mage
  • Monk Monk
  • Paladin Paladin
  • Priest Priest
  • Rogue Rogue
  • Shaman Shaman
  • Warlock Warlock
  • Warrior Warrior
  • Death Knight Death Knight
  • Demon Hunter Demon Hunter
  • Druid Druid
  • Hunter Hunter
  • Mage Mage
  • Monk Monk
  • Paladin Paladin
  • Priest Priest
  • Rogue Rogue
  • Shaman Shaman
  • Warlock Warlock
  • Warrior Warrior

Death Knight Demon Hunter Druid Hunter
Mage Monk Paladin Priest
Rogue Shaman Warlock Warrior

Death Knight Demon Hunter Druid Hunter
Mage Monk Paladin Priest
Rogue Shaman Warlock Warrior

Concise syntax: {{ClassIcon|<Class>}}

Syntax: {{ClassIcon|<Class>|<Size>}}

Class (required) 
Case-insensitive class name to show the icon of.
Size (optional, small assumed)
Size of the icon to display, pass Large for a larger icon.

Test Vectors

  • {{ClassIcon|<hunter>}}: Hunter (case insensitivity)
  • {{ClassIcon|<Warlock>|<large>}}: Warlock(size adjustment)
    • Default and small - 16px wide
    • large - 26px wide (goes to large really using any text but "small")