{
"type": "overpass",
"name": {
"en": "Etymology"
},
"query": {
"16": [
"(",
"nwr[\"name:etymology\"];",
"nwr[\"name:etymology:wikidata\"];",
"nwr[\"name:etymology:wikipedia\"];",
");"
]
},
"feature": {
"description": [
"{{ attribute(tags, \"name:etymology\")|enumerate }}",
"{% if attribute(tags, \"name:start_date\") %}(since {{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"short\" }) }}){% endif %}"
],
"popupDescription": " ",
"body": [
"{{ keyTrans('name:etymology') }}: {{ attribute(tags, \"name:etymology\")|enumerate }}
",
"{{ keyTrans('name:start_date') }}: {% if attribute(tags, \"name:start_date\") %}{{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"long\" }) }}{% else %}{{ trans('unknown') }}{% endif %}
",
"{% if tags.old_name %}{{ keyTrans('old_name') }}: {{ tags.old_name|enumerate }}
{% endif %}",
"{% if attribute(tags, 'old_name:etymology') %}{{ keyTrans('old_name:etymology') }}: {{ attribute(tags, 'old_name:etymology')|enumerate }}
{% endif %}",
""
]
}
}