Templates: Variables not filled in

Things I have tried

What I’m trying to do

Hi! I am new to Obsidian and encountered a problem with using templates. I tried to find the answer in the help docs and the forum but didn’t find the very information that I am looking for.

I created a template that includes variables like [[title]] and [[date]]. I was able to insert this template in a new note (after setting the templates folder location). The problem is that the title and date are not replaced with the respective title and date of that note. Instead, it just says “title” and “date”.

How can I fix this? Thanks in advance for your help!

The template tags use curly brackets, not square ones: {{title}}, not [[title]]. Square brackets make links.