{% if accessible_label is not defined %} {% set collector_name = (collector is defined and collector) ? collector.name : name %} {% set collector_name_parts = collector_name|split('.') %} {% set accessible_label = collector_name_parts|length > 1 ? (collector_name_parts|first|replace({_: ' '})|title ~ ' ' ~ collector_name_parts|last|replace({_: ' '})|title) : collector_name_parts|first|replace({_: ' '})|title %} {% endif %}
{% if link is not defined or link %}{% endif %}
{{ icon|default('') }}
{% if link|default(false) %}
{% endif %}