{# il2ks-template: templates/il2ks/aircraft/top_elo.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} top_elo.html: a type's best pilots by their Elo in it (OQ-49), on the aircraft detail page. Context: elo_pilots (PlayerAircraft rows, or PlayerTourAircraft in a tour, with .player, .elo, .elo_games), rules (min_elo_games), primary (show the empty message when nobody qualifies; the secondary ranking is left out instead). {% endcomment %}{% if elo_pilots or primary %}

{% translate "Top pilots by Elo" %}

{% blocktranslate count games=rules.min_elo_games %}Air-to-air Elo in this aircraft, from kills between air superiority sorties. Pilots with at least {{ games }} encounter.{% plural %}Air-to-air Elo in this aircraft, from kills between air superiority sorties. Pilots with at least {{ games }} encounters.{% endblocktranslate %}

{% col_th _("Elo") numeric=True hint="elo" %} {# Translators: Elo-rated PvP air kills between two pilots (each counts as an encounter); not all kills and losses #} {% col_th _("Encounters") numeric=True hint="elo_games" %} {% for row in elo_pilots %} {% empty %} {% empty_row 5 _("No pilot has enough encounters in this aircraft yet.") %} {% endfor %}
# {% translate "Pilot" %}{% translate "Sorties" %}
{{ forloop.counter }} {{ row.player.current_name }} {{ row.elo|num }} {{ row.elo_games|num }} {{ row.sorties|num }}
{% endif %}