Template Fragment

The template fragment template part can be used to render contents of a template fragment of a WEM project. The identifier of the template fragment will be shown in the design configuration overlay and is set by a fragment inside the project.

Syntax

<% TemplateFragment identifier %>

The identifier must be surrounded by double quotes.

Example

<body>
    <!-- Body content -->
    <% TemplateFragment "Header Contents" %>
    <!-- Body content -->
    <% TemplateFragment "Footer Contents" %>
    <!-- Body content -->
</body>

Last updated

Was this helpful?