Template:ValidateTrait/doc: Difference between revisions
Jump to navigation
Jump to search
(Document ring as valid trait) |
(Document belt in the list of valid traits) |
||
| Line 8: | Line 8: | ||
|- | |- | ||
|axe || {{ValidateTrait|axe}} | |axe || {{ValidateTrait|axe}} | ||
|- | |||
|belt || {{ValidateTrait|belt}} | |||
|- | |- | ||
|blade || {{ValidateTrait|blade}} | |blade || {{ValidateTrait|blade}} | ||
Revision as of 05:42, 8 September 2016
- 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 |
| belt | Belt |
| blade | Blade |
| book | Book |
| boots | Boots |
| bow | Bow |
| cloak | Cloak |
| exotic | Exotic |
| hammer | Hammer |
| heavy Armor | Heavy Armor |
| helmet | Helmet |
| light Armor | Light Armor |
| magic | Magic |
| ring | Ring |
| rune | Rune |
| staff | Staff |
| shield | Shield |
| trinket | Trinket |
| Default (empty) |