Themes(wayside_shrine): add mother mary as rendering and common option

This commit is contained in:
Pieter Vander Vennet 2025-04-01 03:06:08 +02:00
parent 20808ee772
commit b71c275025
4 changed files with 114 additions and 0 deletions

View file

@ -9,6 +9,16 @@
"https://panoramax.mapcomplete.org"
]
},
{
"path": "mary.svg",
"license": "CC-BY-SA-4.0",
"authors": [
"pietervdvn"
],
"sources": [
"https://chatgpt.com"
]
},
{
"path": "shrine.svg",
"license": "CC0-1.0",

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: pietervdvn
SPDX-License-Identifier: CC-BY-SA-4.0

View file

@ -51,6 +51,10 @@
"if": "historic=wayside_cross",
"then": "./assets/layers/wayside_shrine/wayside_cross.svg"
},
{
"if": "subject:wikidata=Q345",
"then": "./assets/layers/wayside_shrine/mary.svg"
},
{
"if": "historic=wayside_shrine",
"then": "./assets/layers/wayside_shrine/shrine.svg"
@ -132,6 +136,20 @@
"description": {
"en": "A wayside cross is a christian cross that is placed by a road or pathway. This cross is mounted on a wall"
}
},
{
"title": {
"en": "a mother mary shrine on the first floor"
},
"tags": [
"historic=wayside_shrine",
"level=1",
"religion=christian",
"subject:wikidata=Q345"
],
"snapToLayer": [
"walls_and_buildings"
]
}
],
"tagRenderings": [
@ -480,6 +498,47 @@
]
}
},
{
"id": "subject:wikidata",
"condition": "religion=christian",
"question": {
"en": "Who is depicted?"
},
"multiAnswer": true,
"mappings": [
{
"if": "subject:wikidata=Q345",
"then": {
"en": "Mother mary is depicted"
}
},
{
"if": "subject:wikidata=Q942467",
"then": {
"en": "Jesus Christ as a child is depicted"
}
},
{
"if": "subject:wikidata=Q302",
"then": {
"en": "Jesus Christ (as an adult) is depicted"
}
},
{
"if": "subject:wikidata=Q164294",
"then": {
"en": "Saint Anne (mother of Mary) is depicted"
}
}
],
"render": {
"*": "{wikipedia(subject:wikidata)}"
},
"freeform": {
"key": "subject:wikidata",
"type": "wikidata"
}
},
"level"
],
"deletion": {