mapcomplete/assets/questions/questions.json

55 lines
1.8 KiB
JSON
Raw Normal View History

2020-10-27 01:01:34 +01:00
{
"images": {
"render": "{image_carousel()}{image_upload()}"
},
"osmlink": {
2020-11-17 16:29:51 +01:00
"render": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>",
"mappings": [
{
"if": "id~=-",
"then": "<span class='alert'>Uploading...</alert>"
}
]
2020-10-27 01:01:34 +01:00
},
"wikipedialink": {
"render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/svg/wikipedia.svg' alt='WP'/></a>",
"condition": "wikipedia~*"
},
"phonelink": {
"render": "<a href='tel:{phone}' target='_blank'><img src='./assets/svg/phone.svg'/></a>",
"condition": "phone~*"
},
"description": {
"question": {
"nl": "Zijn er extra zaken die je niet in de bovenstaande vragen kwijt kon? Zet deze in de description<span style='font-size: small'>Herhaal geen antwoorden die je reeds gaf</span>",
"en": "Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>"
},
"render": "{description}",
"freeform": {
"key": "description"
},
"mappings": [
{
"if": "description=",
"then": {
"nl": "<span style='font-size: small'>Geen extra beschrijving</span>",
"en": "<span style='font-size: small'>No extra description</span>"
}
}
]
2020-10-27 01:01:34 +01:00
},
"website": {
"question": {
"en": "What is the website of {name}?",
"nl": "Wat is de website van {name}?",
"fr": "Quel est le site internet de {name}?",
"gl": "Cal é a páxina web de {name}?"
},
"render": "<a href='{website}' target='_blank'>{website}</a>",
"freeform": {
"key": "website",
"type": "url"
}
}
}