{# il2ks-template: templates/il2ks/sorties/parts/kills.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} Kills and assists made by this sortie. Context: sortie, detail (air_kills, ground, assists, friendly). Air kills: player victims (Kill rows) and AI aircraft (timeline). Ground kills: the total and the collapsible breakdown by category (kills_ground_*) with the static share (OQ-33); the single kills are in the timeline. Friendly kills are never counted as kills (FR-ING-23) and are marked as such. {% endcomment %}
{% blocktranslate with players=sortie.kills_air_pvp|num ai=sortie.kills_air_ai|num %}{{ players }} player aircraft, {{ ai }} AI aircraft{% endblocktranslate %}
{% endif %} {% if detail.air_kills %} {% translate "Victim" as victim_label %}{% include "il2ks/sorties/parts/kill_table.html" with rows=detail.air_kills victim_label=victim_label %} {% else %}{% translate "No air kills." %}
{% endif %}| {% translate "Target" %} | {% translate "Kills" %} | {% translate "Share" %} |
|---|---|---|
| {% icon row.icon %} {{ row.label }} | {{ row.count|num }} | {{ row.share }} |
| {% translate "Total" %} | {{ detail.ground.total|num }} |
{% blocktranslate with n=detail.ground.static|num %}{{ n }} of them were static objects (not moving), such as parked vehicles, fences and crates.{% endblocktranslate %}
{% endaccordion %} {% else %}{% translate "No ground kills." %}
{% endif %}{% blocktranslate with air=sortie.assists_air|num ground=sortie.assists_ground|num %}{{ air }} on aircraft, {{ ground }} on ground targets{% endblocktranslate %}
{% translate "Target" as victim_label %}{% include "il2ks/sorties/parts/kill_table.html" with rows=detail.assists victim_label=victim_label %} {% endif %} {% if detail.friendly %} {% notice "warning" title=_("Friendly fire") %}{% blocktranslate with n=sortie.friendly_kills|num %}{{ n }} friendly kills in this sortie. They do not count as kills.{% endblocktranslate %}{% endnotice %} {% translate "Friendly victim" as victim_label %}{% include "il2ks/sorties/parts/kill_table.html" with rows=detail.friendly victim_label=victim_label %} {% endif %}