The Sempare Template Engine has been around for 5 years, being applied to traditional apps as well as to web. Further, it has support for XE4+.
Here is a new article on the Template Registry that can help you to scale template management within your application.
https://dev.to/sempare/the-sempare-template-engine-advanced-template-registry-features-29o9