Skip to content

Template Variables

Templates support dynamic variables that get replaced with actual values when a note is created. This is especially useful for calendar notes where you want dates filled in automatically.

Variables use curly braces: {variable_name}

When a note is created from a template, variables are replaced with their values based on the context (the date or week being created).

VariableDescriptionExample Output
{year}Year2025
{week}ISO week number2
{month}Month nameJanuary
{day}Day nameMonday
{date}Full date (YYYY-MM-DD)2025-01-06
{monday}Monday’s date2025-01-06
{tuesday}Tuesday’s date2025-01-07
{wednesday}Wednesday’s date2025-01-08
{thursday}Thursday’s date2025-01-09
{friday}Friday’s date2025-01-10
{saturday}Saturday’s date2025-01-11
{sunday}Sunday’s date2025-01-12
## Week {week} Review
### Monday - {monday}
**Accomplishments:**
**Challenges:**
### Tuesday - {tuesday}
**Accomplishments:**
**Challenges:**
### Wednesday - {wednesday}
**Accomplishments:**
**Challenges:**
### Thursday - {thursday}
**Accomplishments:**
**Challenges:**
### Friday - {friday}
**Accomplishments:**
**Challenges:**
---
## Weekly Summary
**Key wins:**
**Lessons learned:**
**Next week focus:**

When you create a weekly note for Week 2 of 2025, the output becomes:

## Week 2 Review
### Monday - 2025-01-06
**Accomplishments:**
...
# {day} - {date}
Week {week} of {year}
## Morning
**Energy level:**
**Top 3 priorities:**
1.
2.
3.
## Evening
**What went well:**
**What could improve:**
**Gratitude:**

When you create a daily note for January 6, 2025 (a Monday), the output becomes:

# Monday - 2025-01-06
Week 2 of 2025
## Morning
...

Variables are resolved based on how the note is created:

  • {date} = the selected date
  • {day} = day name of that date
  • {week} = ISO week number containing that date
  • Weekday variables = dates for that week
  • {week} = the selected week number
  • {year} = the ISO week-numbering year
  • Weekday variables = dates for that specific week
  • {date} = Monday of that week

When creating a note via “New from Template” in the command palette, the current date is used as context.

If you use a variable that doesn’t exist, it stays as-is in the output. For example, {custom} would remain {custom} in the created note.

Variables only work inside template content. The template name itself does not support variables.