# Template Plugin

**URL:** <https://discourse.joplinapp.org/t/template-plugin/17470>\
**Category:** Template Plugin\
**Created:** [19 May 2021 22:51 UTC](https://discourse.joplinapp.org/t/template-plugin/17470 "2021-05-19T22:51:10Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![nishantwrp](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/nishantwrp/32/7678_2.png) [@nishantwrp](https://discourse.joplinapp.org/u/nishantwrp)\
**Post date:** [26 May 2021 09:55 UTC](https://discourse.joplinapp.org/t/template-plugin/17470/10 "2021-05-26T09:55:47Z")

</div>

> [@JackGruber](#):
>
> I would love it if the templates can also be saved as a note in a notebook and not only in the template directory, so that they are syncronized across multiple devices and I don't have to maintain the templates over and over again on each device.

I was thinking about this, and yes maybe this is possible. Instead of storing the templates in a directory, they can be stored in a separate `notebook`.

The way this can be implemented is

1. Register a new setting that stores the `id` of the notebook the templates are in.
2. If the notebook doesn't exist we create one and update the setting.
3. The notes in these notebooks would represent templates.
4. This way `tags` can also be added to templates.

This all can be done using Joplin Data API and settings Plugin API. What do you guys think about it?

/cc @JackGruber @CalebJohn

---

_[View the full topic](https://discourse.joplinapp.org/t/template-plugin/17470)._
