Template:ValidateRange: Difference between revisions
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 | ||
| | |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) |
Visit Template:ValidateRange/doc to edit this text! (How does this work?)