{% extends "../templates/basic.njk" %} {% import "../components/_map.njk" as mapComponent %} {% set map = data.map %} {% set raceLeaderboard = data.raceLeaderboard %} {% set teamLeaderboard = data.teamLeaderboard %} {% set graphMap = data.graphMap %} {% block head %} DDStats - Maps! {% endblock %} {% block body %}

{{ map.map }}

{% if map.mappers[1] %} Mappers: {% else %} Mapper: {% endif %} {{ map.mappers.join(", ") }}
Category: {{ map.category }}
Rating: {% for i in range(0, map.stars) %}★{% endfor %} {% for i in range(0, 5 - map.stars) %}☆{% endfor %}
Points: {{ map.points }}
Released: {{ map.release }}
Total finishes: {{ map.finishes.total }}
Team finishes: {{ map.finishes.team }}
Unique finishes {{ map.finishes.unique }}
Median time: {{ map.times.median | round(2) }}
Average time: {{ map.times.average | round(2) }}

Records!

{% for record in raceLeaderboard %} {{ record.rank }} - {{ (record.time - (record.time % 60)) / 60 }}: {%- if record.time | round % 60 > 9 %} {{- record.time | round % 60 }} {%- else %} 0{{- record.time | round % 60 }} {% endif %} {{ record.player }}
{% endfor %}

Team records!

{% for record in teamLeaderboard %} {{ record.teamrank }} - {{ (record.time - (record.time % 60)) / 60 }}: {%- if record.time | round % 60 > 9 %} {{- record.time | round % 60 }} {%- else %} 0{{- record.time | round % 60 }} {% endif %} {{ record.players.join(", ") }}
{% endfor %}

Record over time

{% endblock %}