Template:ValidateOverlordCardType

From Descent-Community Wiki 1.1
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)
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

Visit Template:ValidateOverlordCardType/doc to edit this text! (How does this work?)