# Structure

To allow us to modify the templates, let us understand how they work.

Each template has an entry in the *system\_template* table in the database. Let's look at one existing record:

* id: 1: an automatic ID generated by the database
* title: TemplateTitleCourseTitle: a language variable name for the title to be shown, can be found in main/lang/\[language]/trad4all.inc.php. Can also be a plain title for single-language portals
* comment: TemplateTitleCourseTitleDescription: a language variable for the description
* image: coursetitle.gif: an image to represent the template in the left column. This image is located in app/home/default\_platform\_document/template\_thumb/
* content: ... the HTML content ... (the template itself)


---

# 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://docs.chamilo.org/1.11.x/developer-guide/document_templates/structure.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.
