Template:ValidateHeroClass/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(document support for elementalist class)
(document support for avenger, raider, truthseer and lorekeeper classes)
Line 8: Line 8:
|-
|-
|apothecary                          || {{ValidateHeroClass|apothecary}}
|apothecary                          || {{ValidateHeroClass|apothecary}}
|-
|avenger                            || {{ValidateHeroClass|avenger}}
|-
|-
|bard                                || {{ValidateHeroClass|bard}}
|bard                                || {{ValidateHeroClass|bard}}
Line 32: Line 34:
|-
|-
|knight                              || {{ValidateHeroClass|knight}}
|knight                              || {{ValidateHeroClass|knight}}
|-
|lorekeeper                          || {{ValidateHeroClass|lorekeeper}}
|-
|-
|marshal                            || {{ValidateHeroClass|marshal}}
|marshal                            || {{ValidateHeroClass|marshal}}
Line 40: Line 44:
|-
|-
|prophet                            || {{ValidateHeroClass|prophet}}
|prophet                            || {{ValidateHeroClass|prophet}}
|-
|raider                              || {{ValidateHeroClass|raider}}
|-
|-
|runemaster                          || {{ValidateHeroClass|runemaster}}
|runemaster                          || {{ValidateHeroClass|runemaster}}
Line 60: Line 66:
|-
|-
|trickster                          || {{ValidateHeroClass|trickster}}
|trickster                          || {{ValidateHeroClass|trickster}}
|-
|truthseer                          || {{ValidateHeroClass|truthseer}}
|-
|-
|watchman                            || {{ValidateHeroClass|watchman}}
|watchman                            || {{ValidateHeroClass|watchman}}

Revision as of 22:49, 20 February 2019

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
disciple Disciple
elementalist Elementalist
geomancer Geomancer
hexer Hexer
knight Knight
lorekeeper Lorekeeper
marshal Marshal
monk Monk
necromancer Necromancer
prophet Prophet
raider Raider
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)