Templates are used to create and contain layouts in Rails Builder.
You can have multiple layouts in a template and switch the active layout by setting it as the default.
Creating a template
To create a template, in Rails Builder:
-
In the Templates panel on the left, click
.
-
Click
and select the locale for the template.
-
Give the template and its initial layout names and titles. (This will create a template with one layout. You can add more layouts to the template if required – see Creating, editing and deleting layouts).
-
If your deployment is a shared deployment, enter your tenant ID in Tenant ID.
-
Optionally:
-
Under Template:
-
Use Additional Properties to add any additional properties that are required for the template.
-
In Blueprint, select a blueprint to apply predefined values to the template.
-
-
Under Layout:
-
Under Destination Selection, leave All Devices selected.
-
Under Default Rail Image Orientation, select the image orientation.
-
Use Additional Properties to add any additional properties that are required for the layout.
These enable you to apply additional formatting to templates per your organisation's requirements.
Note: these key/value pairs are created by the operator and are not controlled by NAGRAVISION.
-
-
-
Click Create Template >.
-
In the confirmation dialog that is displayed, click Continue.
The template is displayed, showing the initial (blank) layout. You can now:
-
Create additional templates
Creating child templates
You can drag one template under another using the
-
From the relevant template
menu, select
Add Child Template.
-
On the Create Template page, enter and select the required details as above.
-
Click CREATE TEMPLATE > to save the template.
Viewing and editing template properties
To view a template's properties, on the Rails Builder page, select
To edit template properties:
-
On the Rails Builder page, select
Edit Template Properties from the template
menu.
-
On the Edit Template page, change the locale, Template Name, and Template Title as required.
-
Click Save Template > to save the changes.
Only the template details can be edited here. Layout changes can only be made in the relevant layout.
Deleting templates
To update template properties:
-
From the template
menu, select
Delete Template.
-
A confirmation message is displayed; click Continue to delete the template.