Check out this article to learn more about the template structure while you are creating a new template.