Prompt for template field values when creating a note from a template
🚀 The feature, motivation and pitch
As requested!
There are a few powerful Obsidian plugins for templates, with Templater and QuickAdd++ being among the best. One of their greatest features is getting a prompt for entering values for template fields.
Given a template like:
I went to ...
{{ place }}
with ...
{{ people }}
for
{{ reason }}
A powerful template plugin would, upon creating a new note with this template, prompt sequentially for values for place, people and reason and then fill those values in.
Alternatives
No response
Additional context
I know we can define custom template values based on functions, but these are limited to being somewhat "predefined" (even if dynamic, like a date function) and don't allow live entry of arbitrary values.
I'm not suggesting that obsidian.vim recognize the dynamic values of a template and prompt for them - that seems way outside scope. But is it possible with LUA and vimscript to define "prompty" functions in the obsidian.vim template configs?
Examples of how I use a similar system in Obsidian:
- Meeting/call notes. Prompts for:
- who was present
- when the meeting took place
- the context
- the template drops me into the
notesheading
- Reference / source / podcast, etc. to take notes on. Prompts for:
- title
- who (author, podcaster, etc)
- link to original material
- type of media
These get added to a literature-notes directory which are used as citations in other permanent-notes.
- Read later:
- link to the thing
- where I found it
- when I found it
- brief description
These go into a capture directory to function as a personal "read later" list. The brief description is used in other plugins (like Dataview, where the "read these things sometime" table surfaces up the description in a column).