> For the complete documentation index, see [llms.txt](https://wiki.owain.codes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.owain.codes/coding/snippets/untitled/dynamic-blocklist-label.md).

# 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>
