Allow attributes to be specified in tempalte tag