Template:ValidateOverlordCardType/doc

From Descent-Community Wiki 1.2
Revision as of 20:40, 10 July 2016 by Psymia (talk | contribs) (Document the ValidateOverlordCardType)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
This template is used to validate the type of the overlord cards. It returns a consistent capitalised version, or an empty string on an invalid type.
Syntax
{{ValidateOverlordCardType|<cardtype>}}
Input Returns
event Template:ValidateOverlordCardType
magic Template:ValidateOverlordCardType
trap Template:ValidateOverlordCardType
Default (empty) Template:ValidateOverlordCardType
Examples
{{ValidateOverlordCardType|event}} => Event
{{ValidateOverlordCardType|trap}} => Trap