{% load i18n %} {% comment %} — everyone credited on the record, as a grid of faces. With nobody credited it says so. Hovering a face shows the name; clicking it opens the contributor's page. Three rows are shown; the rest are counted, linked to the full list. Attributes: people – {shown: [contributor], more: int, total: int} all_url – where the full list lives, shown as "See all" and on the count title – the card's title (default "People") empty – what to say when nobody is shown (default "No one is credited yet.") class – extra classes on the card {% endcomment %} {% if all_url %} {% endif %} {% if people.shown %}
    {% for contributor in people.shown %} {# The name opens towards the middle of the row, so a long one never runs off the page. #}
  • {% endfor %}
{% if people.more %} {% if all_url %} {% blocktranslate count counter=people.more %}and {{ counter }} other contributor{% plural %}and {{ counter }} other contributors{% endblocktranslate %} {% else %}

{% blocktranslate count counter=people.more %}and {{ counter }} other contributor{% plural %}and {{ counter }} other contributors{% endblocktranslate %}

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

{{ empty|default:_("No one is credited yet.") }}

{% endif %}