method

variant=

variant=(variant)
public

Sets the variant for template.