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,7 +3,9 @@
|
|||
# lighthouse
|
||||
|
||||
|
||||
[object Object]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -11,31 +13,30 @@
|
|||
|
||||
|
||||
- This layer is shown at zoomlevel **5** 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)
|
||||
- [wikipedia](#wikipedia)
|
||||
- [lighthouse-height](#lighthouse-height)
|
||||
- [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
|
||||
|
||||
|
||||
|
||||
- [lighthouses](https://mapcomplete.org/lighthouses)
|
||||
- [personal](https://mapcomplete.org/personal)
|
||||
|
||||
|
||||
|
||||
## Basic tags for this layer
|
||||
|
||||
Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:man_made' target='_blank'>man_made</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dlighthouse' target='_blank'>lighthouse</a>**
|
||||
|
@ -48,35 +49,16 @@ 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/wikidata#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [wikidata](../SpecialInputElements.md#wikidata) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/height#values'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a>] [object Object] | [pfloat](../SpecialInputElements.md#pfloat) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/wikidata#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/wikidata/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [wikidata](https://wiki.openstreetmap.org/wiki/Key:wikidata) | [wikidata](../SpecialInputElements.md#wikidata) | |
|
||||
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/height#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/height/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [height](https://wiki.openstreetmap.org/wiki/Key:height) | [pfloat](../SpecialInputElements.md#pfloat) | |
|
||||
|
||||
|
||||
|
||||
|
||||
### 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()}*
|
||||
|
||||
|
||||
|
||||
|
@ -84,22 +66,20 @@ _This tagrendering has no question and is thus read-only_
|
|||
### wikipedia
|
||||
Shows a wikipedia box with the corresponding wikipedia article; the wikidata-item link can be changed by a contributor
|
||||
The question is `What is the corresponding Wikidata entity?`
|
||||
This rendering asks information about the property
|
||||
[wikidata](https://wiki.openstreetmap.org/wiki/Key:wikidata)
|
||||
This is rendered with `{wikipedia():max-height:25rem}`
|
||||
- *{wikipedia():max-height:25rem}* corresponds with wikipedia~.+
|
||||
- _This option cannot be chosen as answer_
|
||||
- *No Wikipedia page has been linked yet* corresponds with wikidata=
|
||||
- _This option cannot be chosen as answer_
|
||||
*{wikipedia():max-height:25rem}* is shown if `wikidata` is set
|
||||
|
||||
|
||||
- *{wikipedia():max-height:25rem}* is shown if with wikipedia~.+. _This option cannot be chosen as answer_
|
||||
- *No Wikipedia page has been linked yet* is shown if with wikidata=. _This option cannot be chosen as answer_
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### lighthouse-height
|
||||
|
||||
The question is `What is the height of this lighthouse, in metres?`
|
||||
This rendering asks information about the property
|
||||
[height](https://wiki.openstreetmap.org/wiki/Key:height)
|
||||
This is rendered with `The height of this lighthouse is {height} metres.`
|
||||
*The height of this lighthouse is {height} metres.* is shown if `height` is set
|
||||
|
||||
|
||||
|
||||
|
@ -107,77 +87,24 @@ This is rendered with `The height of this lighthouse is {height} metres.`
|
|||
### 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