Templates
A template gives new Objects a starting point. Save a Book with headings like “Main argument” and “Questions” as a template, make it the default, and every new Book opens with that outline ready to fill in.
A template can include property values and, when the Type has a body, body content. It doesn’t change the Type’s schema.
Save an Object as a template
Section titled “Save an Object as a template”- Open the Object whose structure you want to reuse.
- Open the ⋯ menu and choose Save as template.
- Enter a Name and, optionally, a Description.
- Choose whether to Include body content.
- Select Save template.
The template is saved for the Object’s Type.
Manage templates in Object type settings
Section titled “Manage templates in Object type settings”Open Object type settings → Templates. From there you can:
- create a template with New Template;
- Edit template to change its content in the Object editor, or open the draft as a full page;
- Mark as default or Unset as default;
- Delete template; and
- Export template… or Import template….
A Type has at most one default template. Changing the default affects new Objects only; existing Objects and Objects already created from a template are unaffected.
Create an Object from a template
Section titled “Create an Object from a template”Templates appear at the bottom of the sidebar’s New menu, marked as templates, and under New from template in a Type’s sidebar menu. Choosing one creates a new Object and opens it.
To apply a template to an Object that already exists, open its ⋯ menu and choose Use Template. Review the result, because the template’s values can replace what’s already there.
Share a template file
Section titled “Share a template file”Export template… saves a self-contained template file that you can send to someone else. Import template… reads one back. Before importing, Lar shows a plan listing each Type, Mixin, or Facet the template needs and whether it Reuses existing or Creates it. Review the plan, then select Import.
Next: Formulas.