Template:ValidateWorn/doc: Difference between revisions
Jump to navigation
Jump to search
(add 2 hand) |
(Document boots as Other) |
||
| Line 12: | Line 12: | ||
|- | |- | ||
|armor || {{ValidateWorn|armor}} | |armor || {{ValidateWorn|armor}} | ||
|- | |- | ||
|helmet || {{ValidateWorn|helmet}} | |helmet || {{ValidateWorn|helmet}} | ||
| Line 19: | Line 17: | ||
|belt || {{ValidateWorn|belt}} | |belt || {{ValidateWorn|belt}} | ||
|- | |- | ||
|other | |boot<br>boots<br>other<br>others || {{ValidateWorn|other}} | ||
|- | |- | ||
|Default (empty) || {{ValidateAct}} | |Default (empty) || {{ValidateAct}} | ||
|} | |} | ||
Latest revision as of 17:25, 15 June 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 hand 2 hands |
Two Hands |
| armor | Armor |
| helmet | Helmet |
| belt | Belt |
| boot boots other others |
Other |
| Default (empty) |