{# What it is, who made it and where it appeared: read before anything else. #}
{% if year %}{{ year }}{% endif %}
{# Built by the view so the role heading can pluralise — literature/ui/contributors.py. #}
{% if byline %}
{% for name in byline.names %}{{ name }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% endif %}
{% for group in other_contributors %}
{{ group.label }}:
{% for name in group.names %}{{ name }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% endfor %}
{% if object.container_title or publisher %}
{% if object.container_title %}
{{ object.container_title }}{% if numbering %}, {{ numbering }}{% endif %}
{% endif %}
{% if object.container_title and publisher %}·{% endif %}
{% if publisher %}{{ publisher }}{% endif %}
{% endif %}
{% if object.abstract %}
{{ object.abstract|linebreaksbr }}
{% endif %}
{% translate "Cite key" %}
{{ object.citation_key }}
{% for identifier in identifiers %}
{{ identifier.type }}
{# identifier.href is set by the view, and only for an allowlisted scheme or a DOI (FS-006). #}
{% if identifier.href %}
{{ identifier.value }}
{% else %}
{{ identifier.value }}
{% endif %}
{% endfor %}
{% if object.item_dates.all %}
{% for item_date in object.item_dates.all %}
{{ item_date.get_date_type_display }}
{% include "literature/ui/date_value.html" %}
{% endfor %}
{% endif %}
{# One section per field group, in the edit form's order; empty groups are left out. #}
{% for section in field_sections %}
{% for label, value in section.rows %}
{{ label|capfirst }}
{{ value }}
{% endfor %}
{% endfor %}
{% blocktranslate with created=object.created|date:"j M Y" modified=object.modified|date:"j M Y" %}Added {{ created }} · Updated {{ modified }}{% endblocktranslate %}