# Dynamic BlockList Label

```
{{ imageCards.contentData.length == 1 ? imageCards.contentData.length + ' Image Copy card' : imageCards.contentData.length + 'Image Copy cards' }}
```

In this example, it counts how many imageCards I have on a blocklist and shows a different label depending on the number. imageCards is the alias on the element block : \
\
![](/files/bV5QtdhvvBJyWx6lr0RZ)

&#x20;I can add as many "image cards" to this property as I like.&#x20;

This is how it displays&#x20;

<figure><img src="/files/bycU9hJOJ8yI2K8McUIg" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1u2mJHtOZw23M6QUeSWf" alt=""><figcaption></figcaption></figure>


---

# 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://wiki.owain.codes/coding/snippets/untitled/dynamic-blocklist-label.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.
