{{ resource.displayname }}
System Reference Numbers
Primary Reference Number: {{ resource_data|val_from_key:"System Reference Numbers"|val_from_key:"PrimaryReferenceNumber"|val_from_key:"Primary Reference Number"|val_from_key:"@display_value" }}
Legacy ID: {{ resource_data|val_from_key:"System Reference Numbers"|val_from_key:"LegacyID"|val_from_key:"Legacy ID"|val_from_key:"@display_value" }}
{% endif %} {# Monument Names #} {% if resource_data|has_key:"Names" %}
Monument Names
{% endif %} {# Designation and Protection Assignment #} {% if resource_data|has_key:"Designation and Protection Assignment" %}
Designation and Protection Assignment
{% endif %} {# Location Data #} {% if resource_data|has_key:"Location Data" %}
Location Information
National Grid References
{% if resource_data|val_from_key:"Location Data"|has_key:"National Grid References" %} {% with ngr_check=resource_data|val_from_key:"Location Data"|val_from_key:"National Grid References" %} {% if ngr_check.0|has_key:"National Grid Reference" %} {% for ngr in resource_data|val_from_key:"Location Data"|val_from_key:"National Grid References" %} {{ ngr|val_from_key:"National Grid Reference"|val_from_key:"@display_value" }} {% endfor %} {% else %} {{ resource_data|val_from_key:"Location Data"|val_from_key:"National Grid References"|val_from_key:"National Grid Reference"|val_from_key:"@display_value" }} {% endif %} {% endwith %} {% endif %}
Localities/Administrative Areas
{% if resource_data|val_from_key:"Location Data"|has_key:"Localities/Administrative Areas" %} {% for area in resource_data|val_from_key:"Location Data"|val_from_key:"Localities/Administrative Areas" %} {# there is a bug that passes a dict if there are no addresses in this branch... let's check for a key to stop this from causing odd artifacts #} {% if area|val_from_key:"Area Type"|has_key:"@display_value" %} {{ area|val_from_key:"Area Type"|val_from_key:"@display_value" }}: {{ area|val_from_key:"Area Names"|val_from_key:"Area Name"|val_from_key:"@display_value" }} {% else %} {{ area|val_from_key:"Area Names"|val_from_key:"Area Name"|val_from_key:"@display_value" }} {% endif %} {% endfor %} {% endif %}
Addresses
{% endif %} {# Descriptions #} {% if resource_data|has_key:"Descriptions" %}
Descriptions
Description Type :{{ desc|val_from_key:"Description Type"|val_from_key:"@display_value" }}
{{ desc|val_from_key:"Description"|val_from_key:"@display_value"|safe }}
Description Type :{{ desc|val_from_key:"Description Type"|val_from_key:"@display_value" }}
{{ desc|val_from_key:"Description"|val_from_key:"@display_value"|safe }}
Description Type: {{ desc|val_from_key:"Description Type"|val_from_key:"@display_value" }}
{{ desc|val_from_key:"Description"|val_from_key:"@display_value"|safe }}
{% endif %} {# Bibliographic Source Citation #} {% if resource_data|has_key:"Bibliographic Source Citation" %}
Bibliographic Source Citations
{% endif %} {# Aircraft_Construction Phase #} {% if resource_data|has_key:"Aircraft_Construction_Phase" %}
Aircraft Construction Phases
{% endif %} {# Crash Event #} {% if resource_data|has_key:"Crash_Event" %}
Crash Event
Date of Loss: {{ resource_data|val_from_key:"Crash_Event"|val_from_key:"Last Flight Timespan"|val_from_key:"Date of Loss"|val_from_key:"@display_value" }}
{% endif %} {# Associated Monuments/Areas/Artefacts/Maritime Vessels/Historic Aircraft #} {% if resource_data|has_key:"Associated Monuments, Areas and Artefacts" %}
Associated Monuments, Areas and Artefacts
{% endif %} {# Associated Activities #} {% if resource_data|has_key:"Associated Activities" %}
Associated Activities
{% endif %} {# External Cross References #} {% if resource_data|has_key:"External Cross References" %}
External Cross References
{% endif %} {% endwith %}
{% endif %} {% endwith%} {% endfor %}