{% extends "wlmaps/base.html" %} {% comment %} vim:ft=htmldjango {% endcomment %} {% load custom_date %} {% load wlprofile_extras %} {% load threadedcommentstags %} {% load pagination_tags %} {% load ratings %} {% block content_header %}

Maps

{% endblock %} {% block content_tabbing %} {% endblock %} {% block content_main %}

The map files have to be placed in the Widelands map directory to be found by the game. Check the Technical FAQ to find the map directory.

{% autopaginate maps maps_per_page as object_list %} {% paginate using "pagination/pagination_mod.html" %}
{% for map in object_list %} {% endfor %}
{{ map.name }}

{{ map.name }}

{% get_comment_count for map as ccount %} {% if not map.world_name %} {% endif %}
Author:{{ map.author }} Dimensions:{{ map.w }} x {{ map.h }}
World: {% if map.world_name %} {{ map.world_name|title }} {% else %} One World {% endif %} Max. Players:{{ map.nr_players }}
Rating: {% ratings map read_only template_name='star_rating/average.html' %} Comments:{{ ccount }}
Upload: by {{ map.uploader|user_link }} at {{ map.pub_date|custom_date:user }}
This map requires a version of Widelands newer than build {% if map.nr_players > 8 %} 19! {% else %} 18! {% endif %}
Downloads:{{ map.nr_downloads }} Direct Download

{% paginate %}
{% endblock %}