{% extends "../templates/basic.njk" %} {% import "../components/_map.njk" as mapComponent %} {% import "../components/_utils.njk" as utils %} {% 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: {{ utils.fancyTime(map.times.median) }}
Average time: {{ utils.fancyTime(map.times.average) }}

Records!

{% for record in raceLeaderboard %}

{{ record.rank }}.

{{ record.player }}

{{ utils.fancyTime(record.time) }}

{% endfor %}
{% if map.finishes.team %}

Team records!

{% for record in teamLeaderboard %}

{{ record.teamrank }}.

{{ record.players.join(", ") }}

{{ utils.fancyTime(record.time) }}

{% endfor %}
{% endif %}

Record over time

{% endblock %}