Allow a transcluded query to access the metadata of the host (transcluding) page

Obsidian is developing a core plugin called Bases, which is similar to Dataview.

It is faster that Dataview in returning and refreshing data, and it can be embedded in multiple files from a single point. Users can create a Base that references any note it is embedded in, so changes made to the Base are reflected in every note that has the Base / view embedded. Still in beta testing, but it might be worth waiting for (or becoming a beta tester).

For Dataview, take a look at the link below – probably worth reading the whole thread before you try anything. I used a version of the linked code for some time but it was slow and buggy. I have now switched to Bases.