{# il2ks-template: templates/il2ks/aircraft/list.html v1 - copy this line along when you override #} {% extends "il2ks/base.html" %}{% load i18n static il2ks %}{% comment %} Aircraft (FR-WEB-8, FR-WEB-18): one row per aircraft type flown in the selected tour (?tour=, default the current tour, `all` = all time; context tours / tour), sortable with ?sort= (a whitelist in the view). View: il2ks.web.views.aircraft.aircraft_list. Default columns (maintainer 2026-10-05): aircraft, sorties, Elo, K/L, survival, attack proficiency; the others are optional (`?cols=`, web.columns.AIRCRAFT_COLUMNS, cells read the row). Context: rows (AircraftRow: stats (AircraftStats with .aircraft), hits (HitsToDestroy: kills, average), elo_text), sort (resolved), page_title, optional_columns (the columns a visitor can add), columns (the chosen ones, ?cols=), colspan, role (?role=: "all", "air_superiority" or "attack": the rows count only sorties of that combat role; hits to destroy stay all roles). K/D and K/L use air kills (OQ-38). The main link of a row carries `stretched-link`, which makes the whole row clickable. Hits to destroy count only kills where one attacker did all the damage (as in the old il2_stats module). Blocks of this page: content. {% endcomment %} {% block head %}{% endblock %} {% block content %}
| {% aircraft_icon stats.aircraft "aircraft-table__icon" %} {{ stats.aircraft|object_name }} {% if stats.aircraft.propulsion == "jet" %}{% badge _("Jet") "purple" %}{% elif stats.aircraft.propulsion == "prop" %}{% badge _("Prop") "teal" %}{% endif %} {% if stats.side %}{% coalition_icon stats.side %}{% endif %} | {{ stats.sorties|num }} | {{ row.elo_text }} | {{ stats.kills_air|ratio:stats.planes_lost }} | {{ row.survived|percent:stats.sorties }} | {{ stats.score_ground_attack|per_hour:stats.time_on_target_s }} | {% for column in columns %}{{ column|cell:row }} | {% endfor %}
{% translate "Elo rates the aircraft types against each other: every kill between two players in air superiority sorties is a game won by the killer's type. Attack proficiency is the ground score per hour on target. More columns are under Extra columns." %}
{% endresults_region %} {% endblock %}