ilidio
October 16, 2025, 9:34am
1
I think this is a very minor and intuitive syntactic addition that would enable so many workflows.
Use case or problem
Enabling template inheritance (similar to child classes in object-oriented approaches).
Proposed solution
Add a directive {{[[link to parent template]]}} that applies the linked template to the current one (calling the import template command).
Current workaround (optional)
Calling the insert template command multiple times and manually selecting each parent template in the correct order.
Templater plugin (which I think is way overkill for this).
Related feature requests (optional)
Hi there,
I need some help with the following templater code, but first I’ll describe shortly my use case:
I want to create “insight notes” out of my “source notes” and I want, that my “insight notes” inherit all the yaml of the “source note” it originates from (“source note” = “parent note” and “insight note” = “child note”).
The following templater code is heavily inspired by this thread and the solution of @holroy :
<%*
const dv = this.app.plugins.plugins["dataview"].api
const curr = t…
2 Likes
Another workaround:
Make multiple variant templates. (Prepare for tedium when you change the part they have in common.)
I have a bunch of variant templates for different types of log entries, media types, and projects. I would love to be able to make templates for the common parts they share.
I’m surprised there isn’t already a request for this! I thought there must be but I don’t see one.
2 Likes