forked from MapComplete/MapComplete
Chore: regenerate docs
This commit is contained in:
parent
cbadd1e063
commit
3b7cc37b53
292 changed files with 34355 additions and 24710 deletions
|
@ -3,41 +3,42 @@
|
|||
# governments
|
||||
|
||||
|
||||
[object Object]
|
||||
|
||||
|
||||
This layer show governmental buildings. It was setup as commissioned layer for the client of OSOC '22
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- This layer is shown at zoomlevel **13** and higher
|
||||
|
||||
|
||||
|
||||
## Table of contents
|
||||
|
||||
1. [Themes using this layer](#themes-using-this-layer)
|
||||
2. [Basic tags for this layer](#basic-tags-for-this-layer)
|
||||
3. [Supported attributes](#supported-attributes)
|
||||
- [just_created](#just_created)
|
||||
- [nothing_known](#nothing_known)
|
||||
- [images](#images)
|
||||
- [phone](#phone)
|
||||
- [email](#email)
|
||||
- [website](#website)
|
||||
- [name](#name)
|
||||
- [leftover-questions](#leftover-questions)
|
||||
- [minimap](#minimap)
|
||||
- [nearby_images](#nearby_images)
|
||||
- [lod](#lod)
|
||||
- [favourite_status](#favourite_status)
|
||||
- [share](#share)
|
||||
- [qr_code](#qr_code)
|
||||
- [last_edit](#last_edit)
|
||||
- [all-tags](#all-tags)
|
||||
|
||||
## Themes using this layer
|
||||
|
||||
|
||||
|
||||
- [onwheels](https://mapcomplete.org/onwheels)
|
||||
- [personal](https://mapcomplete.org/personal)
|
||||
|
||||
|
||||
|
||||
## Basic tags for this layer
|
||||
|
||||
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:office' target='_blank'>office</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:office%3Dgovernment' target='_blank'>government</a>**
|
||||
|
@ -50,37 +51,18 @@ Elements must match the expression **<a href='https://wiki.openstreetmap.org/wik
|
|||
|
||||
| attribute | type | values which are supported by this layer |
|
||||
-----|-----|----- |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/id#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | Multiple choice | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/phone#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [phone](../SpecialInputElements.md#phone) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/email#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [email](../SpecialInputElements.md#email) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/website#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [url](../SpecialInputElements.md#url) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/name#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [string](../SpecialInputElements.md#string) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/phone#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/phone/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [phone](https://wiki.openstreetmap.org/wiki/Key:phone) | [phone](../SpecialInputElements.md#phone) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/email#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/email/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [email](https://wiki.openstreetmap.org/wiki/Key:email) | [email](../SpecialInputElements.md#email) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/website#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/website/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/name#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/name/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [name](https://wiki.openstreetmap.org/wiki/Key:name) | [string](../SpecialInputElements.md#string) | |
|
||||
|
||||
|
||||
|
||||
|
||||
### just_created
|
||||
This element shows a 'thank you' that the contributor has recently created this element
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/party.svg' style='width: 3rem; height: 3rem'> *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
|
||||
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+
|
||||
This tagrendering has labels
|
||||
`added_by_default_top`
|
||||
|
||||
### nothing_known
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
|
||||
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time>=300 & _backend~.+
|
||||
This tagrendering has labels
|
||||
`added_by_default_top`
|
||||
|
||||
### images
|
||||
This block shows the known images which are linked with the `image`-keys, but also via `mapillary` and `wikidata` and shows the button to upload new images
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
*{image_carousel()}{image_upload()}*
|
||||
|
||||
|
||||
|
||||
|
@ -88,11 +70,12 @@ _This tagrendering has no question and is thus read-only_
|
|||
### phone
|
||||
|
||||
The question is `What is the phone number of {title()}?`
|
||||
This rendering asks information about the property
|
||||
[phone](https://wiki.openstreetmap.org/wiki/Key:phone)
|
||||
This is rendered with `<a href='tel:{phone}'>{phone}</a>`
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/questions/phone.svg' style='width: 3rem; height: 3rem'> *<a href='tel:{contact:phone}'>{contact:phone}</a>* corresponds with contact:phone~.+
|
||||
- _This option cannot be chosen as answer_
|
||||
*<a href='tel:{phone}'>{phone}</a>* is shown if `phone` is set
|
||||
|
||||
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/questions/phone.svg' style='width: 3rem; height: 3rem'> *<a href='tel:{contact:phone}'>{contact:phone}</a>* is shown if with contact:phone~.+. _This option cannot be chosen as answer_
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`contact`
|
||||
|
@ -100,13 +83,13 @@ This tagrendering has labels
|
|||
### email
|
||||
|
||||
The question is `What is the email address of {title()}?`
|
||||
This rendering asks information about the property
|
||||
[email](https://wiki.openstreetmap.org/wiki/Key:email)
|
||||
This is rendered with `<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>`
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/envelope.svg' style='width: 3rem; height: 3rem'> *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* corresponds with contact:email~.+
|
||||
- _This option cannot be chosen as answer_
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/envelope.svg' style='width: 3rem; height: 3rem'> *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* corresponds with operator:email~.+
|
||||
- _This option cannot be chosen as answer_
|
||||
*<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>* is shown if `email` is set
|
||||
|
||||
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/envelope.svg' style='width: 3rem; height: 3rem'> *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* is shown if with contact:email~.+. _This option cannot be chosen as answer_
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/envelope.svg' style='width: 3rem; height: 3rem'> *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* is shown if with operator:email~.+. _This option cannot be chosen as answer_
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`contact`
|
||||
|
@ -114,11 +97,12 @@ This tagrendering has labels
|
|||
### website
|
||||
|
||||
The question is `What is the website of {title()}?`
|
||||
This rendering asks information about the property
|
||||
[website](https://wiki.openstreetmap.org/wiki/Key:website)
|
||||
This is rendered with `<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>`
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/icons/website.svg' style='width: 3rem; height: 3rem'> *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* corresponds with contact:website~.+
|
||||
- _This option cannot be chosen as answer_
|
||||
*<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>* is shown if `website` is set
|
||||
|
||||
|
||||
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/icons/website.svg' style='width: 3rem; height: 3rem'> *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* is shown if with contact:website~.+. _This option cannot be chosen as answer_
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`contact`
|
||||
|
@ -126,9 +110,7 @@ This tagrendering has labels
|
|||
### name
|
||||
|
||||
The question is `What is the name of this Governmental Office?`
|
||||
This rendering asks information about the property
|
||||
[name](https://wiki.openstreetmap.org/wiki/Key:name)
|
||||
This is rendered with `This Governmental Office is called {name}`
|
||||
*This Governmental Office is called {name}* is shown if `name` is set
|
||||
|
||||
|
||||
|
||||
|
@ -136,77 +118,24 @@ This is rendered with `This Governmental Office is called {name}`
|
|||
### leftover-questions
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
*{questions( ,)}*
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### minimap
|
||||
Shows a small map with the feature. Added by default to every popup
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### nearby_images
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`added_by_default_conditional`
|
||||
|
||||
### lod
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
*{linked_data_from_website()}*
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`added_by_default`
|
||||
|
||||
### favourite_status
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`added_by_default`
|
||||
|
||||
### share
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`added_by_default`
|
||||
|
||||
### qr_code
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
|
||||
|
||||
This tagrendering has labels
|
||||
`added_by_default`
|
||||
|
||||
### last_edit
|
||||
Gives some metainfo about the last edit and who did edit it - rendering only
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
|
||||
This tagrendering is only visible in the popup if the following condition is met: _last_edit:changeset~.+ & _last_edit:contributor~.+
|
||||
This tagrendering has labels
|
||||
`added_by_default`
|
||||
|
||||
### all-tags
|
||||
|
||||
_This tagrendering has no question and is thus read-only_
|
||||
|
||||
*{all_tags()}*
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue