Template:ValidateTrait: Difference between revisions
Jump to navigation
Jump to search
(Template series for Infobox card) |
(Add "ring" to the list of valid traits) |
||
Line 11: | Line 11: | ||
|helmet = Helmet | |helmet = Helmet | ||
|light armor = Light Armor | |light armor = Light Armor | ||
|magic = Magic | |magic = Magic | ||
|ring = Ring | |||
|rune = Rune | |rune = Rune | ||
|staff = Staff | |staff = Staff | ||
|shield = Shield | |shield = Shield | ||
|trinket = Trinket | |||
|#default= | |#default= | ||
}}</onlyinclude><noinclude>{{documentation}}</noinclude> | }}</onlyinclude><noinclude>{{documentation}}</noinclude> |
Revision as of 22:25, 7 May 2016
Template documentation (for the above template, sometimes hidden or invisible)
- 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 | |
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 |
wand | |
Default (empty) |
Visit Template:ValidateTrait/doc to edit this text! (How does this work?)