{% 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 entity._authors and entity._authors != [] %} by
{% for contrib in entity._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 entity._authors|count > 12 %} (+{{ entity._authors|length - 12 }} others)
{% endif %}
{% endif %}
{% endif %}