Board Thread:Support Requests - Getting Technical/@comment-27713305-20160418011319/@comment-168424-20160418174226

Lua templating could be a good jumping off point. What you're asking for is not simple, but is much easier with Lua.