# Can you please share some of your templates?

**URL:** <https://forum.obsidian.md/t/can-you-please-share-some-of-your-templates/31151>\
**Category:** Workflows & Templates\
**Tags:** templates\
**Created:** [January 23, 2022, 4:18pm UTC](https://forum.obsidian.md/t/can-you-please-share-some-of-your-templates/31151 "2022-01-23T16:18:09Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [January 22, 2023, 11:21pm UTC](https://forum.obsidian.md/t/can-you-please-share-some-of-your-templates/31151/17 "2023-01-22T23:21:14Z")

</div>

With my expanding number of templates (general note, daily, literature, video, etc.), I got tired of changing the YAML/frontmatter in each one as my YAML preferences changed over time. Now I use a header template that I change once and is inserted into all newly created templates/notes. Some people like to have different YAML depending on the type of note, but I like to keep it mostly the same (at the moment anyway). I’ll add something here or there if needed. This uses the Templat **ER** community plugin.

Create a `x-header` template (named `x-` to keep it at the bottom of the template modal list, but of course can be anything you want) with your current YAML preferences.

```auto
---
created: <% tp.file.creation_date("dddd MMMM Do YYYY HH:mm:ss") %>
alias: []
tags: []
state:
more YAML..
as much as you can endure....
---

```

Now, in all your other templates, put `tp.file.include` at the top and add whatever else is needed below per template (For example, here’s a sample book template).

```auto
<% tp.file.include("[[x-header]]") %>

# <% tp.file.title %>

Author: [[Author Name]]
Type: [[Books]]
Related: %% Links to pages not referenced in the content %%

## Summary

## Notes

## Quotes

## Questions

## Terms

```

Change `x-header`, all newly created notes made from your different templates pick it up! 👍

---

_[View the full topic](https://forum.obsidian.md/t/can-you-please-share-some-of-your-templates/31151)._
