$template is the tool used for getting a template’s information.


$template.getName()

Return the name of a template.

 Name Type Description 
 Parameter(s) -
Return java.lang.String Return a template
name.


$template.getResourcesLocation()

Return the folder location of the resource file.

 Name Type Description 
Parameter(s)  -
 Return - java.lang.String The location of a
resource file folder.


$template.getTemplateFile()

Return a template filename.

 Name Type Description 
Parameter(s)  -
 Return -  java.lang.StringReturn a template
filename.


$template.getTemplateLocation()

In case, there is an included template, the latest included template location would be returned, otherwise, the main location of a template file will be returned.

  NameType Description 
Parameter(s)  -
 Return -java.lang.String The location of the
latest included
template file folder.


$template.getMainTemplateLocation()

Return the folder location of the main template file.

  NameType Description 
Parameter(s)  -
 Return -java.lang.String 

The location of
a main template
file folder.


$template.getOutputFile()

Return the output filename.

  NameType Description 
Parameter(s) 
Return java.lang.String Return an
output filename. 


$template.getOutputFileNoExt()

Return the output name.

 Name Type Description 
Parameter(s) 
Return -java.lang.StringAn output name
without a filename
extension.


$template.getOutputLocation()

Return the folder location of the output file.

 Name Type Description 
Parameter(s) 
Return  java.lang.String Return the location
of an output file folder.