After one template has been inserted, you’ve already got a file, and can’t treat as a new file anymore. This means that if you want to use another template on that file, you’ll need to use app.fileManager.processFrontMatter() to change the property/frontmatter section of that file. One way of doing this is exemplified in the post below: