Template:ValidateTrait/doc

From Descent-Community Wiki 1.2
Revision as of 22:09, 11 April 2016 by Psymia (talk | contribs) (Template series for Infobox card)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
This template is used to validate the trait attribute. It returns a consistent capitalised version, or an empty string on an invalid trait attribute.
Syntax
{{ValidateTrait|<trait>}}
Input Returns
axe Axe
blade Blade
book Book
boots Boots
bow Bow
cloak Cloak
exotic Exotic
hammer Hammer
heavy Armor Heavy Armor
helmet Helmet
light Armor Light Armor
trinket Trinket
magic Magic
rune Rune
staff Staff
shield Shield
Default (empty)