Template:SpecIcon

From Warcraft Watch Secrets
Revision as of 06:19, 7 March 2024 by imported>Eithris (changed to check four characters instead of three to differentiate feral & ferocity; added hunter pet specs; removed unused "outcast" option)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Humane syntax for specifying any spec icon. Pass the spec name and, optionally, class name (to differentiate between spec names shared by multiple classes), template returns in-line icon. See Discussion for spec abbreviations and other documentation.

{{SpecIcon|<Spec Name>|<Class Name>}}

{{SpecIcon|<Holy>|<Paladin>}}: Holy (Paladin is specified because priests have a Holy spec too)
{{SpecIcon|<Shadow>}}: Shadow (no such conflict with Shadow)
{{SpecIcon|<Hybrid>}}: Hybrid (Hybrid uses the same icon for all classes)
{{SpecIcon}}: No Spec (Passing "none" would result in the same icon)