# Common Jinja examples

- [Conditional statements and logical operators](https://docs.rewst.help/documentation/jinja/common-jinja-examples/conditional-statements-and-logical-operators.md)
- [Jinja macros](https://docs.rewst.help/documentation/jinja/common-jinja-examples/jinja-macros.md)
- [Date-time comparisons](https://docs.rewst.help/documentation/jinja/common-jinja-examples/date-time-comparisons.md)
- [Block scope](https://docs.rewst.help/documentation/jinja/common-jinja-examples/block-scope.md)
- [Try-catch blocks](https://docs.rewst.help/documentation/jinja/common-jinja-examples/understanding-try-catch-blocks.md)
- [Generate CSVs dynamically with Jinja](https://docs.rewst.help/documentation/jinja/common-jinja-examples/creating-csvs.md)
- [Split strings, replace characters, and combine strings](https://docs.rewst.help/documentation/jinja/common-jinja-examples/splitting-strings-replacing-characters-and-combining-strings.md)
- [Dictionary unpacking](https://docs.rewst.help/documentation/jinja/common-jinja-examples/dictionary-unpacking.md)
- [Loops in Jinja](https://docs.rewst.help/documentation/jinja/common-jinja-examples/loops-in-jinja.md)
- [Mimick switch statements in Jinja](https://docs.rewst.help/documentation/jinja/common-jinja-examples/mimicking-switch-statements-in-jinja.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://docs.rewst.help/documentation/jinja/common-jinja-examples.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.
