Sub-templates do not exist as such in the templating system.
The fact is that you can include sub-templates into a main template, which is not a rare process. Some frameworks, not only in haXe, have even made this standard behavior.
So, there are two ways of doing this:
No credit card required