{% 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 %}
{% 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.start_date %}
-
{{ keyTrans('start_date') }}:
{{ enumerate(tags.start_date) }}
{% endif %}
{% if tags.opening_date %}
-
{{ keyTrans('opening_date') }}:
{{ enumerate(tags.opening_date) }}
{% endif %}