Mediawiki-style transclusion in Obsidian

I’d like to have wikipedia style transclusion like having a note that’s used for transclusion, imagine it’s called NoteToSelf.md and contains this:

> Note to self:
> **{{{text}}}**

Then i could have a page that contains:

The powerhouse of the cell.
{{NoteToSelf|"Add more content"}}

And it would display as:


The powerhouse of the cell.

Note to self:
Add more content


I can’t find a plugin to do this. Normal transclusion with ![[...]] can’t accept parameters AFAIK.

This isn’t quite what you want, but you can transclude headings or blocks.

For your example, you’d have something like

The powerhouse of the cell.

Add more content
^block-id

Which you’d then reference like this

> Note to self:
> ![[NoteToSelf#^block-id]]

Which would display as

> Note to self:
> Add more content

This is more a workaround than an actual solution to what you’re looking for, but it may be sufficient if you can’t find what you’re actually looking for.