| Name | Type | Description |
| object_type | String | Will always be datastore_item |
| is_valid | Boolean | True if this references a published template |
| guid | String | The unique identifier for this template |
| value | String | Contains the same value as guid |
| name | text | The name of the template which, when combined together with the path, uniquely identifies the template on this site |
| path | String | The path, exluding filename, of this template used for organizational and reference purposes |
| type | select | Field type (e.g., text, textarea, select, checkbox, etc.) |
| markup | code | Template markup/source code |
| field_id | String | The identifier for this field |
| label | String | The label for this field |
| output | String | Outputs the rendered template in a new child scope - similar to calling {% include %} with the current template. |
Contains multiple templates.
| Name | Type | Description |
| output | String | The default output that the templates will produce when it is output directly to the template - using the "output_in_list" property of each template in the items list |
Dynamically Include Template from a Select List
CopyDynamically Include Template from a Select List
CopyDynamically Include Multiple Templates from a Select List
CopyCheckbox Include Partial Template
CopyShow Sidebar? {{ page.show_sidebar }}
{% if page.show_sidebar.checked %} {% include "Sidebar" %} {% endif %}Inline javscript from template
CopyDynamically Include Template
CopyInclude template and pass variables
Copy