Storing data and view (markdown template) in separate files

Is it possible to implement such a scenario (maybe with plugins):

There are 100 files, let’s say named movie1.md , movie 2.md , movie 3.md , etc
Each one stores only data and a link to the markdown template file which should render this data.

Sample file movie1.md:
---
title: Title1
poster: PosterLink1
director: Director1
year: Year1
rating: Rating1
---
<< templateMovie.md >>

And there is one file templateMovie.md which looks something like this:
#### {{ title }}
![[ {{ poster }} ]]
- Author: {{ author }}
- Rating: {{ rating }}

That is, during rendering of movie1.md it is necessary that the file templateMovie.md was loaded, then all template variables in it were replaced with the actual ones from movie1.md , and after that markdown was rendered and inserted into the file movie1.md (movie1.md itself should not be modified)