Help > Authoring > Using Markup > Inserting > Using Tag Templates
  
Using Tag Templates
Use Tools > Tag Templates to create and insert frequently used sets of tags and content. Tag templates can insert content such as sets of instructions or a partially filled-in list that you want to use repeatedly. You can also use tag templates to create tables in which you only need to add cell information. If you create a tag template by highlighting a table, the tags surrounding the table image, such as table tags, must be included.
* 
Tag templates are not designed to hold large amounts of text. Use file entities to hold large amounts of information that exceed a template's capacity.
You must have full menus on to access Tools > Tag Templates. If necessary, go to the Tools > Preferences dialog box. Choose the Window category and check Full Menus.
Creating a Tag Template
1. In your document, insert or find the tags that you want to use as your template.
2. Select the tags to be used in the template.
3. Choose Tools > Tag Templates.
4. In the Tag Templates dialog box, click the New button to open the New Tag Template dialog box.
5. Enter a unique name for the template in the Name text box.
The highlighted markup and content appears in the Content list box.
6. Choose a path from the Store template in path list where you want to save the tag template file. The saved template file has the extension .tpl.
7. Click OK to return to the Tag Template dialog box.
Tag templates can be saved in the Arbortext-path\custom\tagtemplates subdirectory to automatically make tag templates available when Arbortext Editor starts.
You can put custom tag templates you want associated with a particular document type into a custom\doctypes\doctype\tagtemplates directory or in the original location of the document type's doctype\tagtemplates directory.
You can also specify alternate or additional locations for your tag templates directory via the document type’s DCF file. Refer to Specifying an alternate location for a tag templates directory for information.
Inserting a Tag Template
1. In the Edit window, place the cursor in a valid location for the template.
2. From the menu bar, choose Tools > Tag Templates.
The Tag Templates dialog box opens.
3. In the dialog box, select the template name from the Templates list.
4. Click Insert.
The template appears at the cursor location.
Deleting a Tag Template
1. From the menu bar, choose Tools > Tag Templates.
The Tag Templates dialog box appears.
2. In the dialog box, select the template name from the Templates list.
3. Click Delete.
The template is removed from the Templates list and deleted from the location where it was stored.
Editing a Tag Template
1. From the menu bar, choose Tools > Tag Templates.
The Tag Templates dialog box appears.
2. In the dialog box, select the template name from the Templates list.
3. Click Edit.
The tag template editor opens displaying containing the content of the selected tag template.
4. In the editor, edit the template as desired and choose File > Save when you are done.
5. Choose File > Close to close the editor.
The Content control in the Tag Templates dialog box shows the updated template.