First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.
What I’m trying to do
(Windows desktop app 1.13.4) I want to automatically put a creation date in my template properties. When I create a new note and then insert a tempate, the day’s date is added. But when I right-click on a folder and click on “create new note from template” i get the “null” error and no date.
Any idea how to fix this?
I’m pretty sure Create new note from template is a Templater (with an “r”) command. Whereas Insert template and the date syntax you showed are for the core plugin Templates (with an “s”).
To use both, easiest path might be to make a “whatever (core).md” template and a “whatever (Templater).md” template and set/choose the right one as needed.
There’s no single syntax for both.
Short of writing a separate script, I think Templater doesn’t offer the kind of logic and timing that a single template would require (but have never looked it up).