{# il2ks-template: templates/il2ks/players/detail_killboard.html v1 - copy this line along when you override #} {% load i18n il2ks il2ks_boards %}{% comment %} detail_killboard.html: the profile's killboard (FR-WEB-9): the five opponents the player shot down most and the five who shot the player down most (PvP air kill credits; assists in their own column when site.killboard_assists), with a link to the full killboard. Reads its own rows with {% killboard_top player tour as board %}: all time, or the selected tour's. Context: player, tour (None = all time), site. Shows nothing without a PvP encounter. {% endcomment %}{% killboard_top player tour as board %}{% if board.victims or board.nemeses %}

{% translate "Killboard" %}

{% translate "Full killboard" %} →

{% translate "Shot down most" %}

{% if site.killboard_assists %}{% col_th _("Assists") numeric=True hint="assists" %}{% endif %}{% for row in board.victims %}{% include "il2ks/players/_killboard_rows.html" %} {% empty %}{% empty_row 4|add:site.killboard_assists _("Nobody shot down yet.") %}{% endfor %}
{% translate "Opponent" %}{% translate "Kills" %}{% translate "Deaths" %}{% translate "Last" %}

{% translate "Shot down by most" %}

{% if site.killboard_assists %}{% col_th _("Assists") numeric=True hint="assists" %}{% endif %}{% for row in board.nemeses %}{% include "il2ks/players/_killboard_rows.html" %} {% empty %}{% empty_row 4|add:site.killboard_assists _("Never shot down by a player.") %}{% endfor %}
{% translate "Opponent" %}{% translate "Kills" %}{% translate "Deaths" %}{% translate "Last" %}
{% endif %}