2020-11-21 15:36:05 +01:00
|
|
|
{
|
2020-11-24 12:52:01 +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}'><img src='./assets/svg/phone.svg'/></a>",
|
|
|
|
"condition": "phone~*"
|
|
|
|
},
|
|
|
|
"emaillink": {
|
|
|
|
"render": "<a href='mailto:{email}'><img src='./assets/svg/send_email.svg'/></a>",
|
|
|
|
"condition": "email~*"
|
|
|
|
},
|
2020-11-21 16:44:48 +01:00
|
|
|
"osmlink": {
|
|
|
|
"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>"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"sharelink": {
|
|
|
|
"render": "{share_link()}"
|
|
|
|
}
|
2020-11-21 15:36:05 +01:00
|
|
|
}
|