set template can be a element