Applicare un template per un'entità