{% if entity_type == "container" %}
{{ entity.name }}
{% if entity.extra.original_name %}
{{ entity.extra.original_name }}
{% endif %}
{% elif entity_type == "creator" %}
{{ entity.display_name }}
{% elif entity_type == "file" %}
{% elif entity_type == "fileset" %}
{% elif entity_type == "webcapture" %}
{% if entity.original_url %}
{{ entity.original_url }}
{% endif %}
{% elif entity_type == "release" %}
{{ entity.title }}
{% if entity.subtitle %}
{{ entity.subtitle }}
{% endif %}
{% if entity.original_title %}
{{ entity.original_title }}
{% endif %}
{% endif %}
{% if entity.ident %}
{{ entity_type }}_{{ entity.ident }}
{% elif entity.revision %}
{{ entity_type }}_rev_{{ entity.revision }}
{% endif %}
{% if editgroup %}
[as of editgroup_{{ editgroup.editgroup_id }}]
{% endif %}
{% if entity_type == "release" %}
{% if entity._authors and entity._authors != [] %} by
{% for contrib in entity._authors[:12] %}
{% if contrib.creator_id and contrib.creator and contrib.creator.display_name %}
{{ contrib.creator.display_name }}{% if not loop.last %}, {% endif %}
{% else %}
{% if contrib.raw_name != None %}{{ contrib.raw_name }}{% else %}Unknown{% endif %}{% if not loop.last %}, {% endif %}
{% endif %}
{% endfor %}
{% if entity._authors|count > 12 %} (+{{ entity._authors|length - 12 }} others)
{% endif %}
{% endif %}
{% elif entity_type == "container" %}
{% if entity.publisher %}
{{ entity.publisher }} {% endif %} {% endif %}