{ "type": "overpass", "name": { "ca": "Nadal", "cs": "Vánoce", "de": "Weihnachten", "en": "Christmas", "es": "Navidades", "fr": "Noël", "gl": "Nadal", "hu": "Karácsony", "it": "Natale", "ja": "クリスマス", "nb": "Jul", "nl": "Kerstmis", "oc": "Calendas", "pl": "Święta", "pt-br": "Natal", "ro": "Crăciun", "ru": "Рождество", "sr": "Божић", "tr": "Noel" }, "query": { "13": [ "(", "node[\"xmas:feature\"];", "way[\"xmas:feature\"];", "relation[\"xmas:feature\"];", ")" ] }, "feature": { "pre": [ "{% set isCurrent = meta.timestamp >= \"now\"|date_modify('-10 month')|date('Y') %}", "{% set bgColor = isCurrent ? '#f2756a' : 'red' %}" ], "title": "{{ attribute(tags, \"xmas:name\")|default(tags.name) }}", "description": "{{ tagTransList(\"xmas:feature\", attribute(tags, \"xmas:feature\")) }}", "body": [ "{% if not isCurrent %}", "
{{ markerCircle({})|raw }} {{ icon|raw }} | ",
" {{ tagTrans('xmas:feature', value) }} | ", "
{{ markerCircle({\"fillColor\":\"red\"})|raw }} | ", "{{ repoTrans('outdated feature') }} | ", "