Feature requirement
Apply a template to a new note via wiki-link using a delimiter.
Problem/Use-case
When I’m writing a new note: [[New_note]] , the note is created empty. To apply a template, I have to open it, either replacing my current note or in a new tab, and insert the template manually.
- I lose my place in the original note, especially 2–3 notes deep.
- A default template doesn’t help, because the notes I link to are different types and need different templates and properties.
Example: I’m writing one note that links to a place, an idea and a topic. Each needs a different template, e.g. [[Lalbagh>place]], [[Flow state>idea]].
Proposed solution
Obsidian already supports these wiki-links:
- Alias:
[[note_name|display_text]] - Heading:
[[note_name#heading]] - Block:
[[note_name#^block_id]]
I propose a + modifier that picks a template: [[note_name>template_name]]
- Typing
+inside a wikilink opens a suggester of templates from the folder set in the core Templates plugin, like#and^do today. - The template is applied when the note is created. If the note already exists, the modifier is ignored, so a link never edits an existing note.
- It combines with the alias modifier:
[[note_name+template_name|display_text]].
Alternatives
- Create the link → open the note → insert a template. This breaks my flow and I lose my chain of thought.
- Set a default template (core Templates or Templater). This gives one template per folder or vault, not a per-link choice.
Related requests
- Default template for new note (click to non-existing note): asks for a default, not a per-link choice.
- Templates for New Notes: includes similar per-link ideas in the replies.