Automatically trigger a templater folder template after having use templater to move the note in this folder

How about using a Prompt Template with
<%-tp.file.include("[[template_name]]")-%> lines
in an if - else if - else conditional trio? This way you can default back to a template that you can use for anything else.

<%-* let filetype = await tp.system.suggester(["Auteur", "Contact", "Personnalité"], ["Auteur", "Contact", "Personnalité"], false, "Which template do you want to use?") -%>
<%-* if (filetype === "Auteur") {  -%>
<%-tp.file.include("[[Templatename1]]")-%>
<%-* } else if (filetype === "Contact") {  -%>
<%-tp.file.include("[[Templatename2]]")-%>
<%-* } else if (filetype === "Personnalité") {  -%>
<%-tp.file.include("[[Templatename3]]")-%>
<%-* } else { -%>
<%-tp.file.include("[[DefaultTemplateName]]")-%>
<%-* } -%>

But you could incorporate the template in a meta templater.
I set it up using this guide many moons ago:

1 Like