{% extends 'base.html' %} {% load custom_date %} {% block extra_head %} {{block.super}} {% endblock %} {% block content_header %}

Search

{% endblock %} {% block content_main %}
Help
{{ form.non_field_errors }}
Search for: {{ form.q }}
Startdate: {{ form.start_date }} {% if form.start_date.errors %} Enter a date in the form of YYYY-MM-DD {% else %} (Leave empty for full search) {% endif %}
Search in: {{ form.incl_forum.label_tag }} {{ form.incl_forum }} {{ form.incl_maps.label_tag }} {{ form.incl_maps }} {{ form.incl_wiki.label_tag }} {{ form.incl_wiki }} {{ form.incl_help.label_tag }} {{ form.incl_help }} {{ form.incl_news.label_tag }} {{ form.incl_news }}

{% if query %} {% if result %} {% if result.topics or result.posts %}

Forum:

{% if result.topics %}

Topics:

{% endif %} {% if result.posts %}

Posts:

{% endif %} {% endif%} {% if result.wiki %}

Wiki:

{% endif %} {% if result.news %}

News:

{% endif %} {% if result.maps %}

Maps:

{% endif %} {% if result.workers or result.buildings or result.wares %}

Encylopedia:

{% if result.workers %}

Workers:

{% endif %} {% if result.wares %}

Wares:

{% endif %} {% if result.buildings %}

Buildings:

{% endif %} {% endif %} {# Encyclopedia #} {% else %}

Nothing found... consider adjusting the start date when searching the Forum or News.

{% endif %} {# result #} {% else %}

Please enter a term to search for.

{% endif %} {# query #}
{% endblock %}