Template talk:User class

From Warcraft Wiki
Jump to navigation Jump to search

Demo

File:Ui-charactercreate-classes Priest.png This user plays as a Priest.
File:Ui-charactercreate-classes Mage.png This user plays as a Mage.
File:Ui-charactercreate-classes Warlock.png This user plays as a Warlock.
File:Ui-charactercreate-classes Druid.png This user plays as a Druid.
File:Ui-charactercreate-classes Rogue.png This user plays as a Rogue.
File:Ui-charactercreate-classes Hunter.png This user plays as a Hunter.
File:Ui-charactercreate-classes Shaman.png This user plays as a Shaman.
File:Ui-charactercreate-classes Warrior.png This user plays as a Warrior.
File:Ui-charactercreate-classes Paladin.png This user plays as a Paladin.
Ui-charactercreate-classes deathknight.png This user plays as a Death Knight.
File:Ui-charactercreate-classes Monk.png This user plays as a Monk.
Ui-charactercreate-classes demonhunter.png This user plays as a Demon Hunter.

Issues with Monk Template

File:Ui-charactercreate-classes Monk.png This user plays as a Monk.

As you can see here, the Monk user template doesn't quite work. The problem is that the template uses a capitalized string to reference the icon based on user input, but the all-lowercase version seems to be the preferred filename to keep up-to-date (thus Monk doesn't exist). I didn't want to simply duplicate File:Ui-charactercreate-classes monk.png into File:UI-CharacterCreate-Classes Monk.png as a solution, so I think someone much cleverer with Templates than I may need to fix this up. Infinimbal (talk) 00:01, 26 November 2014 (UTC)

It's been fixed. We use all lowercase names for internal icons, dunno why the template was still trying to use CamelCase. --k_d3 00:42, 26 November 2014 (UTC)
You're a rockstar. You'd think I would've seen the ucfirst line and known to change that... but even if I had, I don't know that I'd've known what exactly to change it to (simple as it is). Thanks a bunch! --Infinimbal (talk) 00:51, 26 November 2014 (UTC)