{% if result_count > 0 %} {% for result in results %}
{% for langgroup in result.matches %} {% with langgroup_loop=forloop %} {% for match in langgroup.matches %} {% if not forloop.first %} {% endif %} {{match.match_string|safe}} {% if match.match.homonym %} ({{match.match.homonym}}){% endif %}{% if not forloop.last %}, {% endif %} {% endfor %} {% if not langgroup_loop.first %} {% endif %}{% if langgroup_loop.first %} {% endif %}{{langgroup.lang}}{% if not langgroup_loop.last %} {% endif %} {% endwith %} {% endfor %}
{% if result.priotext %}
{{result.search_result_title}}: {{result.priotext_paragraphs}} {% if result.priotext.lang != "sv" %}   {{result.priotext.lang}} {% endif %}
{% endif %} {% if result.other_lang %}
övriga språk: {{result.other_lang|join:", "}}
{% endif %} {% if result.kalla %}
källa: {{result.kalla.publisher}}: {{result.kalla.title}} {% if result.kalla.year %} | {{result.kalla.year}}{% endif %} {% if result.kalla.place %}, {{result.kalla.place}}{% endif %}
{% endif %}
{% endfor %} {% endif %} {% if more == True %}

Här visas bara de första {{result_count}} träffarna.

{% endif %}