Get AI summaries of any video or article — Sign up free
Using the Obsidian Templater Plugin thumbnail

Using the Obsidian Templater Plugin

5 min read

Based on Nicole van der Hoeven's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

Templater enables dynamic, condition-based note formatting that goes beyond the mostly static behavior of Obsidian’s core Templates plugin.

Briefing

Templater turns Obsidian notes into structured, semi-automated documents by letting users define reusable formats that can be filled in dynamically—far beyond simple copy-paste templates. Instead of manually typing the same headings, dates, and metadata every time, Templater can insert values based on the note’s title, frontmatter fields, the day of the week, or even which folder the note lives in. That shift matters because it reduces repetitive work while also enforcing consistent note layouts across meetings, people contacts, and even complex role-playing game logs.

A key distinction drives the workflow: Obsidian’s built-in Templates plugin is mostly static, with only a limited set of dynamic fields like date/time or title. Templater, by contrast, supports programmable replacements—so nearly anything can change depending on conditions. The tutorial demonstrates this with “single line templates,” which are written between special delimiters (left arrow, percent, percent, right arrow). One common example replaces the template line with the current file title (using a Templater expression like `tp.file.title`). Another pulls values from frontmatter parameters (for instance, inserting `tp.frontmatter.type` into a meeting note so the note automatically reflects metadata such as “type: meeting”).

From there, the workflow scales up. A meeting template is built as a reusable note skeleton that inserts the date and links the heading to the note title, keeping the heading consistent even if the underlying file name changes. A separate person template adds more automation: when a new person note is created, Templater can automatically move it into the `people` folder and populate a standard structure. It also includes a Dataview query that lists related meetings for that person, so the database updates as new notes appear.

The automation becomes “hands-off” through Templater settings. By enabling triggers on new file creation and assigning default folder templates, creating a new note in a specific folder automatically applies the right template. The result is a fast flow: create a meeting note and it already contains the date and structure; create a person note and it lands in the correct folder with the expected metadata and linked meeting list.

For a more advanced example, the tutorial showcases a tabletop role-playing (TTRPG) system that combines Templater with user scripts and multiple plugins, including Buttons, QuickAdd, Callouts, Fantasy Calendar, and Dataview. An index page tracks active campaigns (“worlds”). Clicking “Add New World” creates a new world page, then “Add Session” creates session notes that auto-increment numbering, pull in campaign/world context, and generate recap sections that summarize prior sessions. When new NPC/location notes are created during a session, Templater applies a frontmatter template automatically based on note type, so the system stays organized without manual tagging.

The approach is presented as niche and setup-heavy, but the payoff is speed and consistency: predefined fields save time, while repeatable structures keep notes comparable across weeks and campaigns. The tutorial also notes that Dataview won second place in the Obsidian Gems of the Year for 2021, positioning it as a powerful (and potentially overwhelming) complement to Templater’s automation.

Cornell Notes

Templater for Obsidian replaces repetitive note formatting with reusable templates that can insert dynamic content—like file titles, dates, and frontmatter values—based on conditions such as the note’s folder. Unlike Obsidian’s built-in Templates plugin (mostly static copy/paste with limited dynamics), Templater supports programmable replacements and can even run user scripts. The workflow scales from “single line templates” (e.g., `tp.file.title`, `tp.frontmatter.<param>`) to full meeting and person templates that auto-apply when new files are created in specific folders. For advanced users, Templater plus JavaScript user functions and plugins can generate an entire TTRPG system with auto-incremented sessions, recaps, and automatically typed NPC/location notes. This matters because it saves time and keeps notes consistent across many recurring workflows.

What makes Templater different from Obsidian’s built-in Templates plugin?

Templates (core) is mostly a copy/paste structure: it can insert a small set of dynamic fields like date/time or title, but the result is largely static. Templater (community) is more flexible because it can programmatically change content based on conditions—such as the day of the week or which folder the note is in—so it can populate many more fields and adjust layouts dynamically.

How do single line templates work in Templater, and what are two common replacements?

Single line templates are written between Templater delimiters: left arrow, percent, instruction, percent, right arrow. A common replacement is the current note title using `tp.file.title` (similar to Templates’ title behavior). Another is pulling a frontmatter parameter using `tp.frontmatter.<parameter>`, such as inserting `tp.frontmatter.type` into a meeting note so the note reflects metadata like `type: meeting`.

Why link the heading to the file title in meeting/person templates?

The tutorial uses a link-style heading so the heading stays consistent with the file name. If the file name changes later, a linked heading can remain aligned, avoiding mismatches between the note’s title and the visible heading text.

How does folder-based automation reduce manual steps when creating notes?

In Templater settings, users can enable triggers on new file creation and assign default templates per folder. With this setup, creating a new note inside a folder like `meetings` automatically applies the meeting template (including date and structure). Creating a note inside `people` applies the person template and can also move the note into the correct folder automatically.

What does the TTRPG workflow automate beyond basic meeting notes?

It uses Templater plus user scripts and plugins to generate an entire campaign/session system. “Add New World” creates a world page; “Add Session” creates session notes that auto-increment session numbering (e.g., 001, 002) and pull in campaign/world context. Recap sections update based on previous sessions, and when NPC/location notes are created during play, Templater applies the appropriate frontmatter template automatically.

What role do Templater user scripts play in the advanced setup?

Templater can run JavaScript user functions via scripts stored in a configured scripts folder. These scripts can fetch lists (like campaign lists), create structured pages (like world/session creation), and perform custom logic that goes beyond built-in variables—enabling the “few button clicks” experience for the TTRPG workflow.

Review Questions

  1. How would you decide whether to use a single line template versus a full folder-triggered template in Templater?
  2. What kinds of dynamic values can be pulled from a note using Templater variables (give at least two examples)?
  3. In the TTRPG workflow, what mechanisms keep session numbering and recaps consistent as new sessions are added?

Key Points

  1. 1

    Templater enables dynamic, condition-based note formatting that goes beyond the mostly static behavior of Obsidian’s core Templates plugin.

  2. 2

    Single line templates use special delimiters and can insert values like `tp.file.title` and frontmatter parameters such as `tp.frontmatter.type`.

  3. 3

    Full meeting and person templates can standardize headings, dates, and section layouts while keeping headings consistent with file names via link-style headings.

  4. 4

    Folder templates plus “trigger on new file creation” allow automatic template application when notes are created in specific folders like `meetings` and `people`.

  5. 5

    Person templates can automatically move newly created notes into the correct folder and include Dataview queries that update related meeting lists.

  6. 6

    Advanced TTRPG workflows combine Templater with JavaScript user scripts and plugins to auto-create worlds, auto-increment sessions, generate recaps, and apply NPC/location frontmatter automatically.

  7. 7

    The payoff is reduced manual formatting and improved consistency, but the setup is niche and requires an initial investment of time.

Highlights

Templater can populate notes with metadata and dynamic fields based on the note’s context—especially folder location—so the same structure appears consistently without manual repetition.
Using frontmatter variables like `tp.frontmatter.<param>` lets meeting notes automatically reflect structured attributes (e.g., meeting type) stored in the file.
Folder-triggered templates turn note creation into a workflow: create a note in the right folder and the correct template applies automatically.
The TTRPG system demonstrates how Templater plus user scripts can generate an entire campaign/session database with auto-incremented sessions and recap updates.
Dataview is identified as the Obsidian Gems of the Year 2021 winner in the plugins category, and it pairs naturally with Templater’s automation.

Topics

Mentioned