Add unkown option to etymology

This commit is contained in:
pietervdvn 2021-10-10 00:04:49 +02:00
parent e5a3c1cab6
commit 4d919ec3fb

View file

@ -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 @@
} }
] ]
} }
} }