Defining document templates

You can define document templates in the following ways: