Prerequisite is that you have VHS installed on your system and the namespace exists in the template. Then you can use the following:
<v:render.template file="EXT:extkey/Resources/Private/Partials/Foo/Bar.html" variables="{param1: param1}" />