forked from MapComplete/MapComplete
Add unkown option to etymology
This commit is contained in:
parent
e5a3c1cab6
commit
4d919ec3fb
1 changed files with 10 additions and 2 deletions
|
@ -62,7 +62,8 @@
|
||||||
"render": {
|
"render": {
|
||||||
"en": "<h3>Wikipedia article of the name giver</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}",
|
"en": "<h3>Wikipedia article of the name giver</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}",
|
||||||
"nl": "<h3>Wikipedia artikel van de naamgever</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}"
|
"nl": "<h3>Wikipedia artikel van de naamgever</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}"
|
||||||
}
|
},
|
||||||
|
"condition":"name:etymology!=unknown"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "zoeken op inventaris onroerend erfgoed",
|
"id": "zoeken op inventaris onroerend erfgoed",
|
||||||
|
@ -85,6 +86,13 @@
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "name:etymology"
|
"key": "name:etymology"
|
||||||
},
|
},
|
||||||
|
"mappings": [
|
||||||
|
{"if":"name:etymology=unknown",
|
||||||
|
"then": {
|
||||||
|
"en": "The origin of this name is unknown in all literature",
|
||||||
|
"nl": "De oorsprong van deze naam is onbekend in de literatuur"
|
||||||
|
}}
|
||||||
|
],
|
||||||
"condition": {
|
"condition": {
|
||||||
"or": [
|
"or": [
|
||||||
"name:etymology~*",
|
"name:etymology~*",
|
||||||
|
@ -135,4 +143,4 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue