{{ 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 %} {# Historic Landscape Characterization Names #} {% if resource_data|has_key:"Names" %}
Historic Landscape Characterization Names
{% 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"|safe }}
{{ desc|val_from_key:"Description"|val_from_key:"@display_value"|safe }}
Description Type: {{ desc|val_from_key:"Description Type"|val_from_key:"@display_value"|safe }}
{{ desc|val_from_key:"Description"|val_from_key:"@display_value"|safe }}
{% endif %} {# Location Data #} {% if resource_data|has_key:"Localities/Administrative Areas" or resource_data|has_key:"National Grid References" %}
Location Information
National Grid References
{% if resource_data|has_key:"National Grid References" %} {% with ngr_check=resource_data|val_from_key:"National Grid References" %} {% if ngr_check.0|has_key:"National Grid Reference" %} {% for ngr in resource_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:"National Grid References"|val_from_key:"National Grid Reference"|val_from_key:"@display_value" }} {% endif %} {% endwith %} {% endif %}
Localities/Administrative Areas
{% if resource_data|has_key:"Localities/Administrative Areas" %} {% for area in resource_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|has_key:"Area Type" %} {% 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 %} {% endif %} {% endfor %} {% endif %}
{% endif %} {# HLC Phases #} {% if resource_data|has_key:"HLC Phase" %}
HLC Phases
{% endif %} {% if hlcphase|val_from_key:"HLC Phase Classification"|val_from_key:"Broad Type"|has_key:"HLC Type" %} HLC Type: {{hlcphase|val_from_key:"HLC Phase Classification"|val_from_key:"Broad Type"|val_from_key:"HLC Type"|val_from_key:"@display_value"}}
{% endif %} {% if hlcphase|val_from_key:"HLC Phase Classification"|has_key:"Historic Map" %} Historic Map: {{hlcphase|val_from_key:"HLC Phase Classification"|val_from_key:"Historic Map"|val_from_key:"@display_value"}}
{% endif %}
{% endif %} {# Historic Land Use Character Attributes #} {% if resource_data|has_key:"Historic Land Use Character Attributes" %}
Historic Land Use Character Attributes
Street Frontage: {{ resource_data|val_from_key:"Historic Land Use Character Attributes"|val_from_key:"Street Frontage"|val_from_key:"@display_value" }}
Average Height: {{ resource_data|val_from_key:"Historic Land Use Character Attributes"|val_from_key:"Average Height"|val_from_key:"@display_value" }}
Rear Gardens: {{ resource_data|val_from_key:"Historic Land Use Character Attributes"|val_from_key:"Rear Gardens"|val_from_key:"@display_value" }}
Street Pattern: {{ resource_data|val_from_key:"Historic Land Use Character Attributes"|val_from_key:"Street Pattern"|val_from_key:"@display_value" }}
{% endif %} {# Bibliographic Source Citation #} {% if resource_data|has_key:"Bibliographic Source Citation" %}
Bibliographic Source Citations
{% endif %} {# Associated Monuments/Areas/Artefacts #} {% if resource_data|has_key:"Associated Monuments, Areas and Artefacts" %}
Associated Monuments, Areas and Artefacts
{% endif %} {# External Cross References #} {% if resource_data|has_key:"External Cross References" %}
External Cross References
{% endif %} {% endwith %}
{% endif %} {% endwith%} {% endfor %}