Hm tp.file.title has been working for me just fine on Windows 11! If you hit Ctrl+Shift+i to get the developer tools and then click to the console tab, so you see any error messages when you try to resolve a template?
Are these templates that you are inserting manually, or do they run automatically when you create a note?
(Other potentially useful info: Which version of Obsidian are you on, and are your community plugins up to date?)
Thanks for your reply. Now they are working. I’m wondering if it has something to do with closing and reopening the vault.
Closing and restarting things is always a good strategy! Glad it is working now!