{# il2ks-template: templates/il2ks/sorties/parts/damage_table.html v1 - copy this line along when you override #} {% load i18n il2ks %}{% comment %} A damage table. Context: rows (sortie_view.DamageRow: who, dealt, taken, hits_dealt, hits_taken). Players: percent of that aircraft's health. AI and ground objects: health units summed over all objects of a type. {% endcomment %}
| {% translate "Counterpart" %} | {% col_th _("Damage dealt") numeric=True hint="damage_dealt" %} {% col_th _("Hits dealt") numeric=True %} {% col_th _("Damage taken") numeric=True hint="damage_taken_from" %} {% col_th _("Hits taken") numeric=True %}||||
|---|---|---|---|---|
| {% include "il2ks/sorties/parts/who.html" with who=row.who %} | {{ row.dealt }} | {{ row.hits_dealt }} | {{ row.taken }} | {{ row.hits_taken }} |