{% extends 'base/base.html' %} {% load static %} {% block title %}{{ park.name }} - ThrillWiki{% endblock %} {% block content %}

{{ park.name }}

{{ park.get_formatted_location }}

{% if park.website %} Visit Website {% endif %} {% if user.is_authenticated %} Edit {% if perms.media.add_photo %} {% endif %} {% endif %}
{{ park.get_status_display }} {% if park.average_rating %} {{ park.average_rating|floatformat:1 }}/10 {% endif %}
{% if park.photos.exists %}

Photos

{% include "media/partials/photo_display.html" with photos=park.photos.all content_type="parks.park" object_id=park.id %}
{% endif %}
{{ rides.count }}
Total Attractions
{% with roller_coasters=rides|dictsortreversed:"category"|slice:":RC" %} {{ roller_coasters|length }} {% endwith %}
Roller Coasters
{{ areas.count }}
Areas
{% if park.description %}

About

{{ park.description|linebreaks }}
{% endif %} {% if areas %}

Areas

{% for area in areas %}

{{ area.name }}

{% if area.description %}

{{ area.description }}

{% endif %}
{{ area.rides.count }} attractions
{% endfor %}
{% endif %}

Attractions

View All
{% for ride in rides %}

{{ ride.name }}

{{ ride.get_category_display }} {{ ride.get_status_display }}
{% if ride.coaster_stats %}
{% if ride.coaster_stats.height_ft %}
Height: {{ ride.coaster_stats.height_ft }}ft
{% endif %} {% if ride.coaster_stats.speed_mph %}
Speed: {{ ride.coaster_stats.speed_mph }}mph
{% endif %}
{% endif %}
{% empty %}

No attractions found.

{% endfor %}

Quick Facts

{% if park.owner %} {% endif %}
Location
{{ park.get_formatted_location }}
{% if park.opening_date %}
Opening Date
{{ park.opening_date }}
{% endif %} {% if park.closing_date %}
Closing Date
{{ park.closing_date }}
{% endif %} {% if park.operating_season %}
Operating Season
{{ park.operating_season }}
{% endif %} {% if park.size_acres %}
Size
{{ park.size_acres }} acres
{% endif %}

History

{% for record in history %}
{{ record.history_date|date:"M d, Y H:i" }} {% if record.history_user %} by {{ record.history_user.username }} {% endif %}
{% for field, change in record.diff_against_previous %}
{{ field }}: {{ change.old }} → {{ change.new }}
{% endfor %}
{% empty %}

No history available.

{% endfor %}
{% if perms.media.add_photo %}

Upload Photos

{% include "media/partials/photo_upload.html" with content_type="parks.park" object_id=park.id %}
{% endif %} {% endblock %}