{% set hasDescription = tagsPrefix(tags, 'description:') %}
{% if tags.description or hasDescription %}
-
{{ localizedTag(tags, 'description')|default(attribute(tags, 'description:' ~ hasDescription|keys[0])) }}
{% endif %}
{% set address = tagsPrefix(tags, 'addr:') %}
{% if address %}
-
{{ keyTrans('address') }}:
{{ attribute(tags, 'addr:street') }}
{{ attribute(tags, 'addr:housenumber') }},
{{ attribute(tags, 'addr:postcode') }}
{{ attribute(tags, 'addr:city') }}
{% endif %}
{% set address = tagsPrefix(tags, 'contact:') %}
{% if address %}
-
{{ keyTrans('address') }}:
{{ attribute(tags, 'contact:street') }}
{{ attribute(tags, 'contact:housenumber') }},
{{ attribute(tags, 'contact:postcode') }}
{{ attribute(tags, 'contact:city') }}
{% endif %}
{% if attribute(tags, 'name:etymology') %}
-
{{ keyTrans('name:etymology') }}:
{{ enumerate(attribute(tags, "name:etymology")) }}
{% endif %}
{% if tags.website %}
-
{{ keyTrans('website') }}:
{{ tags.website }}
{% endif %}
{% if attribute(tags, 'contact:website') %}
-
{{ keyTrans('website') }}:
{{ attribute(tags, 'contact:website') }}
{% endif %}
{% if tags.phone %}
-
{{ keyTrans('phone') }}:
{{ tags.phone }}
{% endif %}
{% if attribute(tags, 'contact:phone') %}
-
{{ keyTrans('phone') }}:
{{ attribute(tags, 'contact:phone') }}
{% endif %}
{% if attribute(tags, 'contact:email') %}
-
{{ keyTrans('email') }}:
{{ attribute(tags, 'contact:email') }}
{% endif %}
{% if attribute(tags, 'email') %}
-
{{ keyTrans('email') }}:
{{ attribute(tags, 'email') }}
{% endif %}
{% if tags.opening_hours %}
-
{{ keyTrans('opening_hours') }}:
{{ tags.opening_hours }}
{% endif %}
{% set payment = tagsPrefix(tags, 'payment:') %}
{% if payment %}
-
{{ keyTrans('payment') }}:
{% set i = 0 %}
{% for k, tag in payment %}
{%- if i > 0 %},{% endif %}
{% if tags[tag] == 'no' %}
{{ keyTrans(tag, { default: k }) }}{% else %}{{ keyTrans(tag, { default: k }) }}{% endif -%}
{% set i = i + 1 -%}
{% endfor %}
{% endif %}
{% if attribute(tags, 'wheelchair') %}
-
{{ trans('facilities') }}:
{% if attribute(tags, 'wheelchair') %}
-
{{ keyTrans('wheelchair') }}:
{{ tagTrans('wheelchair', tags.wheelchair) }}
{% if attribute(tags, 'toilets:wheelchair') %}
-
🚽
{{ keyTrans('toilets:wheelchair') }}:
{{ tagTrans('toilets:wheelchair', attribute(tags, 'toilets:wheelchair')) }}
{% endif %}
{% endif %}
{% endif %}
{% if tags.year_of_construction or tags.start_date or tags.opening_date or tags.end_date %}
-
{% if tags.year_of_construction %}
{{ keyTrans('year_of_construction') }}:
{{ tags.year_of_construction|osmFormatDate }}
{% endif %}
{% if tags.start_date %}
{{ keyTrans('start_date') }}:
{{ tags.start_date|osmFormatDate }}
{% endif %}
{% if tags.opening_date %}
{{ keyTrans('opening_date') }}:
{{ tags.opening_date|osmFormatDate }}
{% endif %}
{% if tags.end_date %}
{{ keyTrans('end_date') }}:
{{ tags.end_date|osmFormatDate }}
{% endif %}
{% endif %}