Template:ValidateHeroClass: Difference between revisions
Jump to navigation
Jump to search
(add support for class Soul Reaper) |
(add support for heretic and crusader classes) |
||
| (5 intermediate revisions by the same user not shown) | |||
| 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 9: | Line 10: | ||
|champion=Champion | |champion=Champion | ||
|conjurer=Conjurer | |conjurer=Conjurer | ||
|crusader=Crusader | |||
|disciple=Disciple | |disciple=Disciple | ||
|elementalist=Elementalist | |||
|geomancer=Geomancer | |geomancer=Geomancer | ||
|heretic=Heretic | |||
|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 | |||
|ravager=Ravager | |||
|runemaster=Runemaster | |runemaster=Runemaster | ||
|shadowwalker | |shadowwalker | ||
|shadow walker=Shadow Walker | |shadow walker=Shadow Walker | ||
|skirmisher=Skirmisher | |skirmisher=Skirmisher | ||
|soulreaper | |||
|soul reaper=Soul Reaper | |soul reaper=Soul Reaper | ||
|spiritspeaker=Spiritspeaker | |spiritspeaker=Spiritspeaker | ||
| Line 28: | Line 36: | ||
|treasurehunter | |treasurehunter | ||
|treasure hunter=Treasure Hunter | |treasure hunter=Treasure Hunter | ||
|trickster=Trickster | |||
|truthseer=Truthseer | |||
|watchman=Watchman | |watchman=Watchman | ||
|wildlander=Wildlander | |wildlander=Wildlander | ||
|#default= | |#default= | ||
}}</onlyinclude><noinclude>{{documentation}}</noinclude> | }}</onlyinclude><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 22:58, 2 August 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 | Crusader |
| disciple | Disciple |
| elementalist | Elementalist |
| geomancer | Geomancer |
| hexer | Hexer |
| heretic | Heretic |
| knight | Knight |
| lorekeeper | Lorekeeper |
| marshal | Marshal |
| monk | Monk |
| necromancer | Necromancer |
| prophet | Prophet |
| raider | Raider |
| ravager | 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?)