-
{% for claim in item.claims %}
{% if claim.property.id == 'P1' %}
- {{ claim.object.label.text }} {% endif %} {% endfor %}
-
{% for claim in item.claims %}
{% if claim.property.id == 'P9' %}
- {{ claim.object.label.text }} {% endif %} {% endfor %}
-
{% for claim in item.claims %}
{% if claim.property.id == 'P15' or claim.property.id == 'P15' %}
- {{ claim.object.label.text }} {% endif %} {% endfor %}
{{ item.label.text }}
{# max 3 images #} {% if item.claims|selectattr('type', 'equalto', 'localMedia')|list|length > 0 %}
{% for claim in (item.claims|selectattr('type', 'equalto', 'localMedia')|list)[:3] %}
{% endfor %}
{% if item.claims|selectattr('type', 'equalto', 'localMedia')|list|length > 3 %}
{% endif %}
{#
{% set images = item.claims|selectattr('type', 'equalto', 'localMedia')|list %}
{% if images|length > 0 %}
...
{% endif %}
{% for claim in images[:3] %}
{% endfor %}
{% if images|length > 3 %}
{% else %}
...
{% endif %}
#}
{{ item.description.text }}
-
{% for claim in item.claims %}
{% if claim.property.id == 'P1' %}
- {{ claim.object.label.text }} {% endif %} {% endfor %}
{{ item.label.text }}
{{ item.description.text }}