Gaming
 

Template:ClassIcon/doc

From WoWWiki

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:

  • Death Knight Death Knight
  • Druid Druid
  • Hunter Hunter
  • Mage Mage
  • Paladin Paladin
  • Priest Priest
  • Rogue Rogue
  • Shaman Shaman
  • Warlock Warlock
  • Warrior 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 - 18px wide
    • large - 26px wide (goes to large really using any text but "small")