{% extends "base.html" %} {% macro entity_tab(name, text, url_suffix, count=None) %} {{ text }}{% if count != None %} ({{ count }}){% endif %} {% endmacro %} {% block fullmain %}
{{ entity_type }}_{{ entity.ident }}
{% if authors and authors != [] %} by
{% for contrib in authors[:12] %}
{% if contrib.creator_id %}
{{ contrib.raw_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 authors|count > 12 %} (+{{ authors|length - 12 }} others)
{% endif %}
{% endif %}
{% endif %}