Template:ValidateWorn: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(add 2 hands)
(Add boots to Other)
 
Line 6: Line 6:
|two hands = Two Hands
|two hands = Two Hands
|armor = Armor
|armor = Armor
|boots = Boots
|helmet = Helmet
|helmet = Helmet
|belt = Belt
|belt = Belt
|boot
|boots
|others
|others
|other = Other
|other = Other
|#default=
|#default=
}}</onlyinclude><noinclude>{{documentation}}</noinclude>
}}</onlyinclude><noinclude>{{documentation}}</noinclude>

Latest revision as of 17:24, 15 June 2016

Template documentation (for the above template, sometimes hidden or invisible)
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)

Visit Template:ValidateWorn/doc to edit this text! (How does this work?)