Master pages

A master page is defined by a header element, a footer element, and page properties such as orientation, borders, and pagination.

When you add a master page to a template, you are creating a header and footer for your document. In headers, you can add text such as document titles or page numbers which display on the top of every page of the document. You can use footers in the same way to display text across the bottom of every page of the document. You can use more than one master page in a template to create running text on a section of pages, such as a section title for a subset of pages in your document.

Results

When you apply a master page to an element, the element displays an Master page icon icon in the template content editor.

Master page icon on a Container element

Using master pages on elements

A master page can be used in same way as a style; you can assign the master page to an element in your template. When an element has a master page applied to it, the master page creates a section in the Microsoft Word document by inserting a section break. You can use master pages in as many elements as you want to, but one element can only have one master page assigned to it. For each section, the header and the footer contents and stylings are applied. These properties are used until the next element with a different master page introduces a new section.

Data attributes in master pages

Although, you cannot use data attributes directly in master pages, you can use variables to render the data. You can achieve this by:
  • Creating a variable in the template.
  • Using the variable in the master page content.
  • Assigning a data value to the variable for each element that changes a page.

Feedback