The URI needs to be in the following form:
platform:/plugin/plugin_name/path_in_plugin/template.docx
The plugin needs to be declared as a singleton in the MANIFEST.MF and a dependency to org.obeonetwork.m2doc.ide is also needed.
You can have a look at this post for example projects.