Blocks:template

Checks whether a variable is not null

template(string $name [, array $rest = array ])


 * name : the sub-template name, that's how you will call it, if you use an existing plugin name it will overwrite the default one
 * rest : list of arguments and optional default values (the argument 'name' is reserved for the template name itself)

Also see {load_templates} that allow to load multiple templates from one file much like you include functions/classes from an external file in php.

Recursive menu example:

With $menuTree being this array:

Output: > Foo > Foo-Sub > Foo-Sub2 > Bar > Baz