chore: regenerate docs

This commit is contained in:
Pieter Vander Vennet 2023-03-08 19:17:03 +01:00
parent 8c73cc022c
commit 3aba46ce32
17 changed files with 246 additions and 110 deletions

View file

@ -378,7 +378,7 @@ This tagrendering has labels `bench-questions`
The question is *Does this bench have an inscription?<div class='subtle text-lg'>E.g. on a mounted plaque, in the backrest, ...</div>*
The question is *Does this bench have an inscription?*
This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription)

View file

@ -225,7 +225,7 @@ This tagrendering has labels `bench-questions`
The question is *Does this bench have an inscription?<div class='subtle text-lg'>E.g. on a mounted plaque, in the backrest, ...</div>*
The question is *Does this bench have an inscription?*
This rendering asks information about the property [inscription](https://wiki.openstreetmap.org/wiki/Key:inscription)
@ -248,7 +248,7 @@ This tagrendering has labels `bench-questions`
The question is *Does this bench have an artistic element?<div class='subtle text-lg'>E.g. it has an integrated painting, statue or other non-trivial, creative work</div>*
The question is *Does this bench have an artistic element?*

View file

@ -214,7 +214,7 @@ The question is *Who can loan bicycles here?*
The question is *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>*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -518,7 +518,7 @@ This is rendered with `Using the cleaning service costs {service:bicycle:cleani
The question is *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>*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -85,7 +85,7 @@ This tagrendering has no question and is thus read-only
The question is *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>*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -153,7 +153,7 @@ This is rendered with `This route has {climbing:bolts} bolts <div class='subtle
The question is *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>*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -140,7 +140,7 @@ The question is *What type of entrance is this?*
The question is *What is the type of this door?<br/><span class='subtle'>Wether or not the door is automated is asked in the next question</span>*
The question is *What is the type of this door?*

176
Docs/Layers/icons.md Normal file
View file

@ -0,0 +1,176 @@
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
icons
=======
A layer acting as library for icon-tagrenderings, especially to show as badge next to a POI
- This layer is shown at zoomlevel **0** and higher
- Elements don't have a title set and cannot be toggled nor will they show up in the dashboard. If you import this layer in your theme, override `title` to make this toggleable.
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
Basic tags for this layer
---------------------------
Elements must have the all of following tags to be shown on this layer:
- id~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%20%20%20%20nwr%5B%22id%22%5D(%7B%7Bbbox%7D%7D)%3B%0A)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
Supported attributes
----------------------
Warning:
this quick overview is incomplete
attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/wikipedia#values) [wikipedia](https://wiki.openstreetmap.org/wiki/Key:wikipedia) | Multiple choice | [](https://wiki.openstreetmap.org/wiki/Tag:wikipedia%3D)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/_isOpen#values) [_isOpen](https://wiki.openstreetmap.org/wiki/Key:_isOpen) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3Dno) [](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3D) [parse_error](https://wiki.openstreetmap.org/wiki/Tag:_isOpen%3Dparse_error)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/smoking#values) [smoking](https://wiki.openstreetmap.org/wiki/Key:smoking) | Multiple choice | [no](https://wiki.openstreetmap.org/wiki/Tag:smoking%3Dno) [yes](https://wiki.openstreetmap.org/wiki/Tag:smoking%3Dyes)
### wikipedialink
This tagrendering has no question and is thus read-only
- *<a href='https://www.wikidata.org/wiki/{wikidata}' target='_blank'><img src='./assets/svg/wikidata.svg' alt='WD'/></a>* corresponds with ``
This tagrendering is only visible in the popup if the following condition is met: `wikipedia~.+|wikidata~.+`
This tagrendering has labels `defaults`
### isOpen
This tagrendering has no question and is thus read-only
- *clock:#0f0;ring:#0f0* corresponds with `_isOpen=yes`
- *circle:#f00;clock:#fff* corresponds with `_isOpen=no`
- *clock:#ff0;ring:#ff0* corresponds with `opening_hours~.+`
- *circle:#f0f;clock:#fff* corresponds with `_isOpen=parse_error&opening_hours~.+`
This tagrendering has labels `defaults`
### phonelink
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `phone~.+`
This tagrendering has labels `defaults`
### emaillink
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `email~.+`
This tagrendering has labels `defaults`
### smokingicon
This tagrendering has no question and is thus read-only
- *<img textmode='🚭️' alt='no-smoking' src='./assets/tagRenderings/no_smoking.svg'/>* corresponds with `smoking=no`
- *<img textmode='🚬️' alt='smoking-allowed' src='./assets/tagRenderings/smoking.svg'/>* corresponds with `smoking=yes`
This tagrendering has labels `defaults`
### sharelink
This tagrendering has no question and is thus read-only
This tagrendering has labels `defaults`
### osmlink
This tagrendering has no question and is thus read-only
- ** corresponds with `id~^(.*\/-.*)$`
- *<a href='{_backend}/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>* corresponds with `_backend~.+`
This tagrendering is only visible in the popup if the following condition is met: `id~^((node|way|relation)\/[0-9]*)$`
This tagrendering has labels `defaults`
This document is autogenerated from [assets/layers/icons/icons.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/icons/icons.json)

View file

@ -247,6 +247,24 @@ This tagrendering has no question and is thus read-only
id | question | osmTags
---- | ---------- | ---------
accessibility.0 | Publicly accessible | access=yes\|access=public|
id | question | osmTags
---- | ---------- | ---------
available_sports.0 | All sports (default) |
available_sports.1 | Basketball fields | sport=basketball
available_sports.2 | Soccer fields | sport=soccer
available_sports.3 | Ping-pong table | sport=table_tennis
available_sports.4 | Tennis field | sport=tennis
id | question | osmTags
---- | ---------- | ---------
open_now.0 | Opened now | _isOpen=yes

View file

@ -348,7 +348,7 @@ The question is *Does one have to bring their own toilet paper to this toilet?*
The question is *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>*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)

View file

@ -311,7 +311,7 @@ The question is *Does one have to bring their own toilet paper to this toilet?*
The question is *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>*
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.*
This rendering asks information about the property [toilets:description](https://wiki.openstreetmap.org/wiki/Key:toilets:description)

View file

@ -52,6 +52,7 @@ this quick overview is incomplete
attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-pictures-license#values) [mapcomplete-pictures-license](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-pictures-license) | Multiple choice | [CC0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC0) [CC-BY 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY 4.0) [CC-BY-SA 4.0](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-pictures-license%3DCC-BY-SA 4.0)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-show-all-questions#values) [mapcomplete-show-all-questions](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-show-all-questions) | Multiple choice | [true](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-show-all-questions%3Dtrue) [false](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-show-all-questions%3Dfalse)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-translation-mode#values) [mapcomplete-translation-mode](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-translation-mode) | Multiple choice | [false](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dfalse) [true](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dtrue) [mobile](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dmobile)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/mapcomplete-translation-mode#values) [mapcomplete-translation-mode](https://wiki.openstreetmap.org/wiki/Key:mapcomplete-translation-mode) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:mapcomplete-translation-mode%3Dyes)
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/_translation_percentage#values) [_translation_percentage](https://wiki.openstreetmap.org/wiki/Key:_translation_percentage) | Multiple choice | [100](https://wiki.openstreetmap.org/wiki/Tag:_translation_percentage%3D100)
@ -81,6 +82,22 @@ The question is *Under what license do you want to publish your pictures?*
### all-questions-at-once
The question is *Should questions for unknown data fields appear one-by-one or together?*
- *Show all questions in the infobox together* corresponds with `mapcomplete-show-all-questions=true`
- *Show questions one-by-one* corresponds with `mapcomplete-show-all-questions=false`
### translations-title