{% extends 'index.html' %} {% macro tree(id, item) %} {% if item is iterable %} {% if 0 in item|keys %} {{id}}:
    {% for key, value in item %}
  1. {{ _self.tree(0, value) }}
  2. {% endfor %}
{% elseif item.id and item.id == id and item.label %} {{item.id}}: {{item.label}} {% if 'values' in item|keys and item.values|length == 1 and 0 in item.values|keys %} = {{ _self.tree(0, item.values.0) }} {% else %} {% endif %} {% elseif item.id and item.label and item.id == item.label %} {{item.label}} {% if 'qualifiers' in item|keys and item.qualifiers|length == 0 %} {% else %} {% endif %} {% elseif id == 0 %} {% if item.id and item.label and 'value' in item|keys and item.value is not iterable %} {{item.id}}: {{item.label}} = {{item.value|json_encode(constant('JSON_UNESCAPED_SLASHES') b-or constant('JSON_UNESCAPED_UNICODE'))}} {% elseif item.id and item.label and 'qualifiers' in item|keys %} {% if item.qualifiers|length == 0 %} {{item.id}}: {{item.label}} {% else %} {% endif %} {% else %} {% endif %} {% elseif item|length == 0 %} {{id}} {% else %} {{id}}: {% endif %} {% elseif id == 0 %} {{item}} {% else %} {{id}}: {{item}} {% endif %} {% endmacro %} {% block content %}
{{actionTitle}} in {{dbConfig.name}} Entity Author Series
Wikidata Entity {{entityId}}

See cache entry

{% if entity|length > 0 and 'P18' in entity.properties|keys and entity.properties.P18.values|length > 0 %} {% set url = entity.properties.P18.values[0].id|split('/')|slice(-1) %} {% endif %} {% endblock content %}