forked from MapComplete/MapComplete
Improve wikidata search with filtering, add search box for species to trees
This commit is contained in:
parent
1271f24160
commit
389e3f18a0
7 changed files with 249 additions and 113 deletions
|
@ -314,6 +314,34 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tree-species-wikidata",
|
||||
"question": {
|
||||
"en": "What species is this tree?"
|
||||
},
|
||||
"render": {
|
||||
"*":"{wikipedia(species:wikidata):max-height: 25rem}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "species:wikidata",
|
||||
"type": "wikidata",
|
||||
"helperArgs": [
|
||||
"species",
|
||||
{
|
||||
"instanceOf": [10884, 16521]
|
||||
}]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tree-wikipedia",
|
||||
"#": "If this tree has a wikipedia article, show it. People can _only_ set the species though!",
|
||||
"render": {
|
||||
"*":"{wikipedia()}"
|
||||
},
|
||||
"condition": {
|
||||
"or": ["wikipedia~*","wikidata~*"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"render": {
|
||||
"nl": "Naam: {name}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue