Template:ValidateOverlordCardType/doc

From Descent-Community Wiki 1.1
Jump to: navigation, 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 Event
magic Magic
trap Trap
special Special
Default (empty)
Examples
{{ValidateOverlordCardType|event}} => Event
{{ValidateOverlordCardType|trap}} => Trap