{# il2ks-template: templates/il2ks/players/_type_killboard.html v1 - copy this line along when you override #}
{% load i18n il2ks %}{% comment %}
_type_killboard.html: the two tables of the killboard by aircraft type (FR-WEB-9): the enemy aircraft types the player
shot down most, and the types that shot the player down most, each with the player's own aircraft most used in those
fights. Context: types (queries.boards.TypeBoard: victims / nemeses, PlayerTypeKillboard rows with .enemy_aircraft,
.kills_with, .deaths_in), level (heading level of the two tables, default 3; 4 under the profile's h3). Player-versus-player air kill credits only (no assists); hidden players count.
{% endcomment %}
{% translate "Aircraft shot down most" %}
| {% translate "Enemy aircraft" %} | {% translate "Kills" %} |
{% comment %}Translators: column in a list of enemy aircraft the player shot down; the cell is the player's own aircraft type they flew in most of those kills.{% endcomment %}
{% translate "Flown most" %} |
{% for row in types.victims %}
| {% aircraft_icon row.enemy_aircraft "aircraft-table__icon" %} {{ row.enemy_aircraft|object_name }} |
{{ row.kills|num }} |
{% if row.kills_with %}{{ row.kills_with|object_name }}{% endif %} |
{% empty %}{% empty_row 3 _("Nobody shot down yet.") %}{% endfor %}
{% translate "Aircraft that shot down this pilot most" %}
| {% translate "Enemy aircraft" %} | {% translate "Deaths" %} |
{% comment %}Translators: column in a list of enemy aircraft that shot the player down; the cell is the player's own aircraft type they were flying in most of those deaths.{% endcomment %}
{% translate "Flown most" %} |
{% for row in types.nemeses %}
| {% aircraft_icon row.enemy_aircraft "aircraft-table__icon" %} {{ row.enemy_aircraft|object_name }} |
{{ row.deaths|num }} |
{% if row.deaths_in %}{{ row.deaths_in|object_name }}{% endif %} |
{% empty %}{% empty_row 3 _("Never shot down by a player.") %}{% endfor %}