is there a possibility (and if so, how do I do it?) to have an addon create a new template? It needs to be linked to that addon so it will be removed on uninstall.
Let's assume a user adds something through the addon which at the end needs a template for itself. The addon should create a template then so the user can edit it.
However, I want to have it removed on uninstall, so it should be linked to that addon.
Is that possible and how?