{% from 'reporting/fragments/macros.html' import generate_footnote, create_footnote, create_evidence_linklist with context %} {% macro create_place(_p) %} {%- set footnotes.has_footnotes = false -%} {%- set p = _p.place -%} {%- set uris = _p.external_uris -%} {%- set alternative_names = _p.alternative_names -%} {%- set footnotes.footnote_keys = [] -%}

{{p.name}}

{% if p.place_type == 'Unknown' %} Unspecified place {% else %} {{ p.place_type }} {% endif %} at {{ p.geoloc | render_geoloc | safe }} ({{ p.confidence or 'unknown confidence of location' }}) {%- if p.comment -%} : {{ p.comment }} {%- else -%} . {%- endif -%}

{{ create_evidence_linklist(p.evidence_ids, before='', middle=' in this place: ', after='') }}

{% if alternative_names %}

{{ p.name }} is also known as:

{% endif %} {% if uris %}

{{ p.name }} is linked to:

{% endif %} {% if footnotes.has_footnotes %} {% endif %}
{% endmacro %}