Template:ValidateRange/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Template series for Infobox card)
 
m (typo)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
:<nowiki>{{ValidateRange|<range>}}</nowiki>
:<nowiki>{{ValidateRange|<range>}}</nowiki>


{| class="wikitable" align="center"
{| class="wikitable"
!Input          !! Returns
!Input          !! Returns
|-
|-
|ranged          || {{ValidateRange|ranged}}
|ranged          || {{ValidateRange|ranged}}
|-
|-
|meele           || {{ValidateRange|meele}}
|melee           || {{ValidateRange|melee}}
|-
|-
|Default (empty) || {{ValidateAct}}
|Default (empty) || {{ValidateAct}}
|}
|}

Latest revision as of 21:43, 6 May 2016

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)