How to create a new template and activate