{# il2ks-template: templates/il2ks/aircraft/detail.html v1 - copy this line along when you override #} {% extends "il2ks/base.html" %}{% load i18n static il2ks %}{% comment %} One aircraft type (FR-WEB-8, FR-WEB-18). View: il2ks.web.views.aircraft.aircraft_detail. Context: stats (AircraftStats, all time: the side badge), tile (the counters of the tiles and the pilot count: the selected tour's `TourAircraftStats`, an empty one when nobody flew the type in it, or `stats` for all time), aircraft (GameObject), survived (tile's sorties without a death), hits (HitsToDestroy: kills, average, by_ammo (AmmoHits: name, kills, average), mixes / more_mixes (AmmoMixRow: parts (MixPart: name, designation, average), instances, average))), matchups (MatchupTable: rows (Matchup: enemy, kills, losses, rated), best, worst), tours / tour (the scope of the tiles and the matchups), role ("all", "air_superiority", "attack": filters every section with the tour and the modification filter), show_elo / show_ground (which top-pilots tables), intercept, can_intercept (false for the attack role: no toggle), min_encounters, all_fights_url, intercept_url, sort, elo_pilots (PlayerAircraft rows with .player and .elo; visible players only), ground_pilots (BoardRow: rank, player, stats, per_hour), ground_first (an attack type), rules (the leaderboard minimums), loadouts (Loadout: payload (AircraftPayload), elo, kills_per_sortie, kd, ground_hour; None = a dash), loadout_sort (?lsort=), mod_filters (ModFilter: mod_id, name, state "any" / "with" / "without"; only a type with significant weapon modifications has any), mod_filtered, mod_sets (ModSet: stats (AircraftMods), names, label, elo, kills_per_sortie, kd, ground_hour), mod_sort (?msort=), crumbs, page_title. Top pilots are ranked by skill: per-type Elo and ground score per hour on target (OQ-49), both from the stored columns. The totals include hidden players; only the top-pilots tables leave them out (FR-ADM-3). K/D and K/L use air kills (OQ-38). Blocks of this page: content. {% endcomment %} {% block head %}{% endblock %} {% block content %} {% breadcrumbs crumbs %}
{% blocktranslate with pilots=tile.pilots|num count n=tile.pilots %}Flown by {{ pilots }} pilot.{% plural %}Flown by {{ pilots }} pilots.{% endblocktranslate %}
{% translate "Everything on this page follows the selected tour, role and modifications; choose all time to see every tour. Matchups use the role and modifications of this aircraft's sortie, hits to destroy those of the aircraft that was shot down." %}
{% if absence %}{% blocktranslate asvar absent_message with name=aircraft|object_name tour=absence.tour|tour_title %}{{ name }} was not flown in {{ tour }}.{% endblocktranslate %}{% tour_absent absence absent_message %}{% endif %}{% translate "Only kills where both pilots flew an air superiority sortie (fighter against fighter); attack sorties are left out." %}
{% endif %} {% results_region %}| {% aircraft_icon m.enemy "aircraft-table__icon" %} {{ m.enemy|object_name }} | {{ m.kills|num }} | {{ m.losses|num }} | {{ m.encounters|num }} | {% if not m.rated %}—{% elif m.losses %}{{ m.kills|ratio:m.losses }}{% else %}{% translate "no losses" %}{% endif %} |
{% translate "Gun kills by a single attacker only." %}
| {% translate "Ammunition" %} | {% col_th _("Kills") numeric=True hint="mix_instances" %} {% col_th _("Average hits") numeric=True hint="hits_average" %}||
|---|---|---|
| {% translate "All gun ammunition" %} | {{ hits.kills }} | {{ hits.average }} |
| {% for part in mix.parts %}{% if not forloop.first %} + {% endif %}{% if part.designation %}{{ part.name }}{% else %}{{ part.name }}{% endif %}{% endfor %} | {{ mix.instances }} | {{ mix.averages }} |
{% blocktranslate with sorties=rules.min_attack_sorties|num minutes=rules.min_time_on_target_minutes|num %}Attack proficiency needs at least {{ sorties }} attack sorties and {{ minutes }} minutes on target.{% endblocktranslate %}
{% else %}{% blocktranslate with n=rules.min_air_superiority_sorties|num %}Average Elo shows the pilots' skill as much as the loadout's. Rates need at least {{ n }} air superiority sorties.{% endblocktranslate %}
{% endif %}| {% if p.payload_name %}{{ p.payload_name }}{% else %}{% translate "Unknown loadout" %}{% endif %} | {{ p.sorties|num }} | {% if loadout_role == "attack" %}{{ p.kills_ground|num }} | {{ p.deaths|num }} | {{ row.ground_hour|num:1 }} | {% else %}{{ p.kills_air|num }} | {{ p.deaths|num }} | {{ row.elo|num }} | {{ row.kills_per_sortie|num:2 }} | {{ row.kd|num:2 }} | {% endif %}
| {% if row.names %}{{ row.label }}{% else %}{% translate "No modifications" %}{% endif %}{% if role == "all" and p.combat_role %} {% role_badge p.combat_role %}{% endif %} | {{ p.sorties|num }} | {{ p.kills_air|num }} | {{ p.kills_ground|num }} | {{ p.deaths|num }} | {{ row.elo|num }} | {{ row.kills_per_sortie|num:2 }} | {{ row.kd|num:2 }} | {{ row.ground_hour|num:1 }} |