Here is the structure of a text template:
[#package packageName] ([#import importName])* [#template visibility templateName(templateParameters)] (body statement)* [/#template]
Text template