Themes: add questions to pipeline

This commit is contained in:
Robin van der Linde 2025-09-07 00:59:26 +02:00
parent 1835ac6425
commit d7ddcd1eb2
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -46,7 +46,107 @@
}
],
"tagRenderings": [
"images"
"images",
{
"id": "location",
"question": {
"en": "Where is this pipeline located?",
"nl": "Waar is deze pijpleiding gelegen?"
},
"mappings": [
{
"if": "location=underground",
"then": {
"en": "This pipeline is located underground.",
"nl": "Deze pijpleiding is ondergronds gelegen."
}
},
{
"if": "location=overground",
"then": {
"en": "This pipeline is located above ground.",
"nl": "Deze pijpleiding is bovengronds gelegen."
}
},
{
"if": "location=overhead",
"then": {
"en": "This pipeline is located overhead.",
"nl": "Deze pijpleiding ligt enkele meters boven de grond."
}
},
{
"if": "location=underwater",
"then": {
"en": "This pipeline is located underwater.",
"nl": "Deze pijpleiding ligt onder water."
}
}
]
},
{
"id": "substance",
"question": {
"en": "What substance is transported in this pipeline?",
"nl": "Welke stof wordt in deze pijpleiding getransporteerd?"
},
"render": {
"en": "This pipeline transports {substance}",
"nl": "Deze pijpleiding transporteert {substance}"
},
"freeform": {
"key": "substance",
"type": "string",
"placeholder": {
"en": "Substance name",
"nl": "Naam van de stof"
}
},
"mappings": [
{
"if": "substance=gas",
"then": {
"en": "This pipeline transports gas.",
"nl": "Deze pijpleiding transporteert gas."
}
},
{
"if": "substance=oil",
"then": {
"en": "This pipeline transports oil.",
"nl": "Deze pijpleiding transporteert olie."
}
},
{
"if": "substance=water",
"then": {
"en": "This pipeline transports water.",
"nl": "Deze pijpleiding transporteert water."
}
},
{
"if": "substance=hot_water",
"then": {
"en": "This pipeline transports hot water.",
"nl": "Deze pijpleiding transporteert heet water."
}
},
{
"if": "substance=sewage",
"then": {
"en": "This pipeline transports sewage.",
"nl": "Deze pijpleiding transporteert rioolwater."
}
},
{
"if": "substance=rainwater",
"then": {
"en": "This pipeline transports rainwater.",
"nl": "Deze pijpleiding transporteert regenwater."
}
}
]
}
],
"allowMove": false
}