Template:ValidateWorn/doc: Difference between revisions
Jump to navigation
Jump to search
(Template series for Infobox card) |
(No difference)
|
Revision as of 22:10, 11 April 2016
- Description
- This template is used to validate the worn attribute. It returns a consistent capitalised version, or an empty string on an invalid worn attribute.
- Syntax
- {{ValidateWorn|<worn>}}
| Input | Returns |
|---|---|
| one hand 1 hand |
One Hand |
| two hands 2 hands |
Two Hands |
| armor | Armor |
| boots | Other |
| helmet | Helmet |
| belt | Belt |
| other | Other |
| Default (empty) |