Create template maps
Create template maps to create links between authoring templates and presentation templates. Template maps determine which presentation template will be used to display the elements stored in a content item.
The presentation template used by a web page is determined by:
- The content being displayed.
- The current site area.
- The relationship between the content's authoring template and a presentation template as defined in the site area.
This can result in the following relationships:
- Two content items using the same authoring template can be displayed using two different presentation templates if they are located in different site areas.
- Two content items using different authoring templates can be displayed in the same presentation template if both authoring templates are mapped to the same presentation template.
The content components a presentation template uses must be defined in the authoring template the content is based on.
If the content component being referenced does not exist in the current content item, nothing is displayed in that section of the presentation template.
Although the template author can identify a number of elements that can be displayed on the content item form, whether the elements are displayed depends on the presentation template used with the authoring template to render the content form. A presentation template might not include every element defined in an authoring template, but in order for an element or element type to be available to a presentation template, the element must be included in the authoring template used to create the content.
See Creating site framework items for further information on creating a template map.
Parent Topic
Use presentation templates