Template:ValidateHeroClass: Difference between revisions
Jump to navigation
Jump to search
(add support for elementalist class) |
(add support for avenger, raider, truthseer and lorekeeper classes) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#switch:{{lc:{{{1}}}}} | <onlyinclude>{{#switch:{{lc:{{{1}}}}} | ||
|apothecary=Apothecary | |apothecary=Apothecary | ||
|avenger=Avenger | |||
|bard=Bard | |bard=Bard | ||
|battlemage=Battlemage | |battlemage=Battlemage | ||
Line 14: | Line 15: | ||
|hexer=Hexer | |hexer=Hexer | ||
|knight=Knight | |knight=Knight | ||
|lorekeeper=Lorekeeper | |||
|marshal=Marshal | |marshal=Marshal | ||
|monk=Monk | |monk=Monk | ||
|necromancer=Necromancer | |necromancer=Necromancer | ||
|prophet=Prophet | |prophet=Prophet | ||
|raider=Raider | |||
|runemaster=Runemaster | |runemaster=Runemaster | ||
|shadowwalker | |shadowwalker | ||
Line 31: | Line 34: | ||
|treasure hunter=Treasure Hunter | |treasure hunter=Treasure Hunter | ||
|trickster=Trickster | |trickster=Trickster | ||
|truthseer=Truthseer | |||
|watchman=Watchman | |watchman=Watchman | ||
|wildlander=Wildlander | |wildlander=Wildlander | ||
|#default= | |#default= | ||
}}</onlyinclude><noinclude>{{documentation}}</noinclude> | }}</onlyinclude><noinclude>{{documentation}}</noinclude> |
Revision as of 22:47, 20 February 2019
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to validate the hero class. It returns a consistent capitalised version, or an empty string on an invalid hero class.
- Syntax
- {{ValidateHeroClass|<heroclass>}}
Input | Returns |
---|---|
apothecary | Apothecary |
avenger | Avenger |
bard | Bard |
battlemage | Battlemage |
beastmaster | Beastmaster |
berserker | Berserker |
bountyhunter bounty hunter |
Bounty Hunter |
champion | Champion |
conjurer | Conjurer |
crusader | |
disciple | Disciple |
elementalist | Elementalist |
geomancer | Geomancer |
hexer | Hexer |
heretic | |
knight | Knight |
lorekeeper | Lorekeeper |
marshal | Marshal |
monk | Monk |
necromancer | Necromancer |
prophet | Prophet |
raider | Raider |
ravager | |
runemaster | Runemaster |
shadowwalker shadow walker |
Shadow Walker |
skirmisher | Skirmisher |
soulreaper soul reaper |
Soul Reaper |
spiritspeaker | Spiritspeaker |
stalker | Stalker |
steelcaster | Steelcaster |
thief | Thief |
treasurehunter treasure hunter |
Treasure Hunter |
trickster | Trickster |
truthseer | Truthseer |
watchman | Watchman |
wildlander | Wildlander |
Default (empty) |
Visit Template:ValidateHeroClass/doc to edit this text! (How does this work?)