# Bundles of templates

Telosys code generation is based on "**templates**".&#x20;

A template is a text file composed of static parts and dynamic parts using statements and references to variables. There is a template file for each type of file to generate.

### Templates organisation

The Telosys templates are organised in "**bundles**".&#x20;

A "**bundle of templates**" is a set of templates files designed to generate different target files that can work together.

For more information about "**bundles**" see:

* [Bundles of templates](/bundles/bundle-structure.md)

### Sample template bundles

Some examples are available here :&#x20;

* [Bundles for Telosys 4.x (latest version)](https://github.com/telosys-templates)
* [Bundles for Telosys 3.x](https://github.com/telosys-templates-v3)

### Templates language

A template is a file with a "**.vm**" extension written in "**Velocity Template Language** (VTL)". Velocity is a well known Open Source template engine ( <http://velocity.apache.org/> )&#x20;

The **Velocity engine** used in Telosys is **version 1.7**

For more information about "**templates**" see :

* [Velocity language](/bundles/velocity-language.md)
* [Velocity directives](/bundles/velocity-directives.md)
* [Velocity object types](/bundles/velocity-objects.md)
* [Telosys directives](/bundles/telosys-directives.md)
* [Telosys variables](/bundles/telosys-variables.md)
* [Telosys objects](/bundles/telosys-objects.md)
* [Code snippets](/bundles/code-snippets.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.telosys.org/bundles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
