# Templates

In Logseq, you can easily create templates for the purpose of reusing content. For example, you may have a set layout for meeting notes, and a template can save you the hassle of rewiring content each time.

### Creating a Template:

1. Create a page called `Templates.`&#x20;
   * I find creating a dedicated template page helps so that all your templates are on the same page. This is not a requirement, as can create a template from just about anywhere in Logseq.
2. Fill out the content you want to be included in your template.&#x20;
3. Right-click the block bullet and choose `Make Template`
4. Enter a template name and click `Submit.` You have the option of including the parent block when inserting the template or not - this is a personal preference choice.

### Renaming a Template:

To rename a template, edit the block property `template: template_name`

### Editing an Existing Template:

To edit a template, locate the template you want to change (having all templates on a page can be useful for this instead of hunting for templates created on numerous pages), and click the parent and/or child blocks to enter editing mode, make any needed changes

Be aware that the changes implemented will not propagate to existing templates (i.e. the previously used templates will not automatically be updated for the amendments made).

### Using / Inserting a Template:

To insert a template, type `/` and select `Template.`

Select your desired template from the list and press enter to insert it.

{% embed url="<https://www.youtube.com/watch?v=zbJwDkpOUtU>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unofficial-logseq-docs.gitbook.io/unofficial-logseq-docs/beginner-to-advance-features/templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
