{% load filters i18n %}
{% if claim.type == 'wikibase-item' %}

{{ entity.label }}

{% if entity.description %} {% if claim.property.identifier == 'P50' or claim.property.identifier == 'P123' or claim.property.identifier == 'P767' %}

{{ entity.description }}

{% endif %} {% endif %} {% else %}

{% if claim.text|isDate %} {{ claim.text|asDate }} {% else %} {{ claim.text|urlize }} {% endif %}

{% endif %}