{# il2ks-template: templates/il2ks/components/stat_mark.html v1 - copy this line along when you override #} {% load i18n %}{% comment %} stat_mark.html ({% stat_mark "survival" %}, {% sortie_mark marks "air_kills" %}): a small badge after a number that is among the best (FR-WEB-22). Context: band ("top1" = best 1%, "top5", "top10", "top25"; empty renders nothing), min_sorties (the minimum the comparison was made with), unit ("sorties", "games" = Elo encounters, "seconds" = time on target, "flight_seconds" = air superiority flight time; min_sorties is in that unit; "sortie_tour" / "sortie_all" = the sortie page: the number of one sortie against all counted pilot sorties of its tour / of all time). Text and tooltip, never colour alone; the tooltip names the tier; low values are never marked. {% endcomment %}{% if band %}{% if band == "top1" %}{% translate "Top 1%" %}{% elif band == "top5" %}{% translate "Top 5%" %}{% elif band == "top10" %}{% translate "Top 10%" %}{% else %}{% translate "Top 25%" %}{% endif %}{% endif %}