Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
m (accidentally broke one of the templates, many attempts fixing it)
Line 21: Line 21:
 
|fro={{#switch:{{#sub:{{lc:{{{2}}}}}|0|2}}
 
|fro={{#switch:{{#sub:{{lc:{{{2}}}}}|0|2}}
 
|d=DkFrost_Spec_RoundIcon.png{{!}}Frost (Death Knight)
 
|d=DkFrost_Spec_RoundIcon.png{{!}}Frost (Death Knight)
|m=Frost_Spec_RoundIcon.png{{!}}Frost (Mage)}}
+
|Frost_Spec_RoundIcon.png{{!}}Frost (Mage)}}
 
|fir=Fire_Spec_RoundIcon.png{{!}}Fire
 
|fir=Fire_Spec_RoundIcon.png{{!}}Fire
 
|arc=Arc_Spec_RoundIcon.png{{!}}Arcane
 
|arc=Arc_Spec_RoundIcon.png{{!}}Arcane

Revision as of 10:33, 30 June 2009

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) (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)