To create a template from a document, you: