This document provides an overview of Twig's syntax and semantics for template designers. Some key points:
- Templates contain variables, expressions surrounded by {{ }}, and tags surrounded by {% %} to control logic.
- Variables can access object attributes using dot notation or array syntax.
- Filters modify variables, chained with pipes. Functions generate content.
- Common structures include for loops, if statements, macros, and template inheritance.
- Twig has built-in filters, functions, tags and globals to help generate dynamic content.