Wikia

WoWWiki

ClassIcon

Talk19
101,505pages on
this wiki

Template page

Revision as of 17:44, June 20, 2010 by Fandyllic (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation Edit

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: "IconSmall Druid Druid"

Previews:

  • Ui-charactercreate-classes deathknight Death Knight
  • Ui-charactercreate-classes druid Druid
  • Ui-charactercreate-classes hunter Hunter
  • Ui-charactercreate-classes mage Mage
  • Ui-charactercreate-classes monk Monk
  • Ui-charactercreate-classes paladin Paladin
  • Ui-charactercreate-classes priest Priest
  • Ui-charactercreate-classes rogue Rogue
  • Ui-charactercreate-classes shaman Shaman
  • Ui-charactercreate-classes warlock Warlock
  • Ui-charactercreate-classes warrior Warrior

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

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

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

Test vectors Edit

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

See also Edit

Around Wikia's network

Random Wiki