Template:ValidateArchetype/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Template series for Infobox card)
 
(Document missing archetype "overlord")
 
Line 7: Line 7:
!Input          !! Returns
!Input          !! Returns
|-
|-
|Healer         || {{ValidateArchetype|Healer}}
|healer         || {{ValidateArchetype|healer}}
|-
|-
|Mage           || {{ValidateArchetype|Mage}}
|mage           || {{ValidateArchetype|mage}}
|-
|-
|Warrior         || {{ValidateArchetype|Warrior}}
|warrior         || {{ValidateArchetype|warrior}}
|-
|-
|Scout           || {{ValidateArchetype|Scout}}
|scout           || {{ValidateArchetype|scout}}
|-
|overlord        || {{ValidateArchetype|overlord}}
|-
|-
|Default (empty) || {{ValidateArchetype}}
|Default (empty) || {{ValidateArchetype}}
|}
|}

Latest revision as of 23:46, 26 July 2017

Description
This template is used to validate the archetype. It returns a consistent capitalised version, or an empty string on an invalid archetype.
Syntax
{{ValidateArchetype|<archetype>}}
Input Returns
healer Healer
mage Mage
warrior Warrior
scout Scout
overlord Overlord
Default (empty)