In a package
The most common way to use templates is from a package script. The script prepares data in global
For dynamic services
You can link a template to a service of type "HTML" to create a dynamic web page.
For static content
A template linked to a service can serve static content without any package processing the request.