Try to convert template to attributes