> For the complete documentation index, see [llms.txt](https://aurelia-1.gitbook.io/v1-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aurelia-1.gitbook.io/v1-docs/templates.md).

# Templates

- [Template syntax](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax.md)
- [Binding](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/binding.md)
- [Attribute binding](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/attribute-binding.md)
- [Event binding](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/event-binding.md)
- [Delegate vs trigger](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/delegate-vs-trigger.md)
- [Text interpolation](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/text-interpolation.md)
- [Element content](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/element-content.md)
- [Function references](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/function-references.md)
- [Element references](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/element-references.md)
- [Contextual properties](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/contextual-properties.md)
- [Expression syntax](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/expression-syntax.md)
- [Computed properties](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/computed-properties.md)
- [Let element](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/let-element.md)
- [Binding engine internals](https://aurelia-1.gitbook.io/v1-docs/templates/template-syntax/binding-engine-internals.md)
- [Custom attributes](https://aurelia-1.gitbook.io/v1-docs/templates/custom-attributes.md)
- [Value converters (pipes)](https://aurelia-1.gitbook.io/v1-docs/templates/value-converters-pipes.md)
- [Binding behaviors](https://aurelia-1.gitbook.io/v1-docs/templates/binding-behaviors.md)
- [Form inputs](https://aurelia-1.gitbook.io/v1-docs/templates/form-inputs.md)
- [CSS classes and styling](https://aurelia-1.gitbook.io/v1-docs/templates/css-classes-and-styling.md)
- [List rendering (repeaters)](https://aurelia-1.gitbook.io/v1-docs/templates/list-rendering-repeaters.md): Aurelia's repeat.for feature is your go-to tool for handling arrays and maps efficiently. It's like JavaScript's for loop, but tailored for the view.
- [Conditional rendering](https://aurelia-1.gitbook.io/v1-docs/templates/conditional-rendering.md)
- [HTML & SVG attributes](https://aurelia-1.gitbook.io/v1-docs/templates/html-and-svg-attributes.md)
- [The as-element (element aliasing)](https://aurelia-1.gitbook.io/v1-docs/templates/the-as-element-element-aliasing.md)
- [View Resource pipeline](https://aurelia-1.gitbook.io/v1-docs/templates/view-resource-pipeline.md)
- [View and Compilation Spies](https://aurelia-1.gitbook.io/v1-docs/templates/view-and-compilation-spies.md)
- [HTML behaviors](https://aurelia-1.gitbook.io/v1-docs/templates/html-behaviors.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://aurelia-1.gitbook.io/v1-docs/templates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
