Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

Sub-templates provide a way for you to organize complex code generation processes from a master template. Just as subroutines in a computer program let you call bits of logic from a main program flow, sub-templates let you call bits of code generation logic from a master template.

To use a sub-template, you must first register the sub-template in the parent template. You can then merge properties from the sub-template into the parent template, copy properties from the sub-template to the sub-template, set properties in the sub-template, and render the sub-template.

 

Here's a video tutorial for more on Sub-Templates!

  • No labels