ClassIcon
Talk19
98,518pages on
this wiki
this wiki
Template page
Contents |
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: "
Druid"
Previews:
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>}}:

(case insensitivity)

- {{ClassIcon|<Warlock>|<large>}}:

(size adjustment)

- Default and small - 18px wide
- large - 26px wide (goes to large really using any text but "small")
See also
Edit
- {{ClassIconRound}} - Round version