{# input: list #}
{% set singleList=(list|length<=maxItemsForFlatList) or (list|length>maxItemsForMultiPageList) %}
{% if singleList %}
{% endif %}
{% with index=list|alphaIndex:'name' %}
{% for section in index %}
{% if not singleList or letter=='' or section.letter==letter %}
{% if not singleList %}
- {{ section.letter }} -
{% endif %}
{% for nameList in section.items|groupBy:'name' %}
{% spaceless %}
{% for item in nameList|listsort:'{{item.file.name}}' %}
{% if forloop.first %}
{{ item.name }}{% if (item.isFunction or item.isSignal or item.isSlot) and not item.isObjCMethod %}(){% endif %} :
{% endif %}
{% with obj=item scope=item|get:scope text=scope.name %}
{% include 'htmlobjlink.tpl' %}
{% endwith %}
{% if not forloop.last %},
{% else %}
{% endif %}
{% endfor %}
{% endspaceless %}
{% endfor %}
{% if not singleList %}