Template:ValidateWorn: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Template series for Infobox card)
 
(add 2 hands)
Line 3: Line 3:
|one hand = One Hand
|one hand = One Hand
|2 hand
|2 hand
|2 hands
|two hands = Two Hands
|two hands = Two Hands
|armor = Armor
|armor = Armor

Revision as of 09:37, 13 April 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?)