Templater and variable


When I deploy a template, I want to set a variable to the user. This variable corresponds most of the time to the title of the page without spaces.
It will be positioned in several places:

  • as a tag
  • to perform dataview queries in the page


the user create the Page " Project A " based with templater.
a prompt ask the user the value of the variable.
He enters " ProjectA ".

the value has to be stored in :
tags: #projectA

and :
TABLE file.tags
FROM " Meetings "
WHERE contains(file.tags, “#projectA”) AND contains(file.tags, “#meeting”)

How can I ask the user for this value once and then set it multiple times when the page is created?


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.