forked from MapComplete/MapComplete
Merge branch 'develop'
# Conflicts: # assets/themes/climbing/climbing.json # assets/themes/mapcomplete-changes/mapcomplete-changes.json # css/index-tailwind-output.css
This commit is contained in:
commit
ecba715265
90 changed files with 2564 additions and 2545 deletions
|
@ -31,6 +31,28 @@
|
|||
"es": "Árbol"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": ["name~*","species:wikidata~*"]
|
||||
},
|
||||
"then": {
|
||||
"*": "{name} ({wikidata_label(species:wikidata)})"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": ["name~*"]
|
||||
},
|
||||
"then": {
|
||||
"*": "{name}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "species:wikidata~*",
|
||||
"then": {
|
||||
"*": "{wikidata_label(species:wikidata)}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "species~*",
|
||||
"then": {
|
||||
|
@ -334,6 +356,41 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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