{% for language in term_post.languages %} {% with language_loop=forloop %} {% for termgroup in language.termgroups %} {% with termgroup_loop=forloop %} {% for term in termgroup.group %} {% endfor %} {% endwith %} {% endfor %} {% for textrow in language.texts %} {% endfor %} {% if language_loop.first and term_post.seealso %} {% endif %} {% if language_loop.first and term_post.seeunder %} {% endif %} {% endwith %} {% endfor %} {% if term_post.classifications %} {% endif %}
{% if forloop.first %} {% if termgroup.key.termtype == "formula" %} {{ termgroup.term_group_formula }}: {% elif termgroup.key.termtype == "phrase" %} {{ termgroup.term_group_phrase }}: {% else %} {{ termgroup.term_group_term }}: {% endif %} {% endif %} {% if language_loop.first and termgroup_loop.first and forloop.first %} {% endif %} {% if term.lang == "ar" %} {{term.term_post_name}} {% else %} {{term.term_post_name|safe}} {% endif %} {% if term.narrowing %}({{term.narrowing}}){% endif %} {% if language_loop.first and termgroup_loop.first and forloop.first %} {% endif %} {% if term.abbreviation %} ({{iftexts.textmisc.abbreviation}})  {% elif term.full_form %} ({{iftexts.textmisc.fullform}})  {% endif %} {% if term.gender %} ({{term.formated_gender}})  {% endif %} {% if term.grammar or term.pos_not_obvious %} {% if term.grammar %}({{term.grammar}}) {% endif %} {% if term.pos_not_obvious %}{{term.position}} {% endif %} {% endif %} {% if term.pronunciation %} [{{term.pronunciation}}]  {% endif %} {% if term.geo %} /{{term.geo}}/  {% endif %} {% if term.inflection %} {% for inflection in term.inflection %} {% if not forloop.first %} el. {% endif %} {% if inflection.0.definite_or_neuter %} {{inflection.0.definite_or_neuter}} {% endif %} {% if inflection.0.plural %} {{inflection.0.plural}} {% endif %} {% endfor -%} {% endif %} {% if term.source %} (Källa: {{term.source}})  {% endif %}
{{textrow.text_type}}: {% if textrow.type == "domain" %} {{textrow.paragraphs.0.formated_text|safe}} {% else %}
{% for paragraph in textrow.paragraphs %}

{{paragraph.formated_text|safe}} {% if textrow.source and forloop.last %} (Källa: {{textrow.source}})  {% endif %}

{% endfor %}
{% endif %}
{{term_post.iftexts.texttype.seealso}}:

{% for term in term_post.seealso %} {{term.terms.0.term}}{% if not forloop.last %},{% endif %} {% endfor %}

{{term_post.iftexts.texttype.seeunder}}:

{% for term in term_post.seeunder %} {{term.terms.0.term}}{% if not forloop.last %},{% endif %} {% endfor %}

 
{{term_post.iftexts.texttype.classification}}: {% for classification in term_post.classifications %} {{classification.value}} [{{classification.system.short_name}}] {% endfor %}
{{term_post.iftexts.texttype.source}}: {% if term_post.is_source_in_public %} {% if term_post.kalla.publisher %}{{term_post.kalla.publisher}}{% endif %}: {% if term_post.kalla.title %}{{term_post.kalla.title}}{% endif %}{% if term_post.kalla.year %} | {{term_post.kalla.year}}{% endif %}{% if term_post.kalla.comment %} [{{term_post.kalla.comment}}]{% endif %}{% if term_post.kalla.place %}, {{term_post.kalla.place}}{% endif %} {% else %} {% if term_post.kalla.publisher %}{{term_post.kalla.publisher}}{% endif %}: {% if term_post.kalla.title %}{{term_post.kalla.title}}{% endif %}{% if term_post.kalla.year %} | {{term_post.kalla.year}}{% endif %}{% if term_post.kalla.comment %} [{{term_post.kalla.comment}}]{% endif %}{% if term_post.kalla.place %}, {{term_post.kalla.place}}{% endif %} {% endif %}