> For the complete documentation index, see [llms.txt](https://support.attackforge.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.attackforge.com/attackforge-enterprise/modules/reporting/template-tables.md).

# Template - Tables

> UPDATED: Please head over to our new GitHub Support Site for help, examples, tips and tricks: <https://github.com/AttackForge/ReportGen>

You can add tables with repeating rows as follows:

![](/files/WgNawwWVwrtvyEeoJEco)

The output in your report will appear as follows:

![](/files/De7Hic0CS9CTYoomt0S4)

## Adding Logic to Tables

You can combine this with Conditions to colour-code the relevant sections:

![](/files/uzt1krbhOsX3yVggsOVV)

The output will appears as follows:

![](/files/PEYziMOkoT8k0nLqKFS7)

## **Dynamic Rows & Conditions**

You can add custom logic to your table rows, for example to render the background of a cell different based on certain conditions.

![](/files/WG5rRfJ8ogTADEYSEnH1)

![](/files/6920mPe7Jf8lQQnV4a1X)


---

# 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 dynamically by asking a question.

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

```
GET https://support.attackforge.com/attackforge-enterprise/modules/reporting/template-tables.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.
