Quick Add: Macro - Template + Capture

(In short, this article is to solve the problem of template and capture macro combination not working.)

Solution, in the form of a picture at the end of the topic.

Hello. When I tried to use Macros with the quick add plugin for Permanent and Fleeting notes, I encountered the problem that two notes were created or in YAML frontmatter, the templater codes did not work (for automatic date and time). After discussing with AI and searching on YouTube, I started working on it and did enough manipulation until it was fixed.

Similar problems in other topics:

A solution is provided:

This solution was not provided for Daily Notes, so I also included some screenshots of the macro structure to show the template being applied first, then the capture being applied.


At this point Template path and if you want your file name to be asked from {{Field: <Field name>}}


The folder path is also adjustable in the file name section, but I suggest using Folder Path


Here is the Capture Settings section.
Set the folder and half file path as before. (This time, like the image, the folder path and the file name must be adjusted together)
Set the template path as before.


Here are options like Insert After, Open, etc. to change your needs.


In this image, the settings are based on my Daily Note structure. (Maybe give you ideas)

There was a misspelling in the fourth picture.
Edit: set the file name and folder path as before.
Not half file XD