Template:ValidateRange: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Template series for Infobox card)
 
m (typo)
 
Line 1: Line 1:
<onlyinclude>{{#switch:{{lc:{{{1}}}}}
<onlyinclude>{{#switch:{{lc:{{{1}}}}}
|ranged=Ranged
|ranged=Ranged
|meele=Meele
|melee=Melee
|#default=
|#default=
}}</onlyinclude><noinclude>{{documentation}}</noinclude>
}}</onlyinclude><noinclude>{{documentation}}</noinclude>

Latest revision as of 21:43, 6 May 2016

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to validate the range. It returns a consistent capitalised version, or an empty string on an invalid range.
Syntax
{{ValidateRange|<range>}}
Input Returns
ranged Ranged
melee Melee
Default (empty)