Chore: regenerate documentation with more preset explanations

This commit is contained in:
Pieter Vander Vennet 2024-09-04 00:06:39 +02:00
parent 5b45e427a0
commit eb89427bfc
200 changed files with 2606 additions and 994 deletions

View file

@ -9,8 +9,9 @@ A layer showing restaurants and fast-food amenities (with a special rendering fo
## 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)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
- [images](#images)
- [reviews](#reviews)
- [Name](#name)
@ -53,7 +54,7 @@ A layer showing restaurants and fast-food amenities (with a special rendering fo
- [move-button](#move-button)
- [delete-button](#delete-button)
- [lod](#lod)
4. [Filters](#filters)
5. [Filters](#filters)
## Themes using this layer
@ -67,6 +68,16 @@ A layer showing restaurants and fast-food amenities (with a special rendering fo
- [ski](https://mapcomplete.org/ski)
- [stations](https://mapcomplete.org/stations)
## Presets
The following options to create new points are included:
**a restaurant** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Drestaurant' target='_blank'>restaurant</a>
**a fastfood** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfast_food' target='_blank'>fast_food</a>
**a fries shop** which has the following tags:<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfast_food' target='_blank'>fast_food</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:cuisine' target='_blank'>cuisine</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cuisine%3Dfriture' target='_blank'>friture</a>
## Basic tags for this layer
Elements must match **any** of the following expressions:
@ -167,9 +178,9 @@ This tagrendering has labels
### phone
The question is `What is the phone number of {title()}?`
*<a href='tel:{phone}'>{phone}</a>* is shown if `phone` is set
*{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}* 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_
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/questions/phone.svg' style='width: 3rem; height: 3rem'> *{link(&LBRACEcontact:phone&RBRACE,tel:&LBRACEcontact:phone&RBRACE,,,,)}* is shown if with contact:phone~.+. _This option cannot be chosen as answer_
This tagrendering has labels
`contact`
@ -455,7 +466,7 @@ The question is `What is the network name for the wireless internet access?`
- *Telekom* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:internet_access:ssid' target='_blank'>internet_access:ssid</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:internet_access:ssid%3DTelekom' target='_blank'>Telekom</a>
This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:internet_access' target='_blank'>internet_access</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:internet_access%3Dwlan' target='_blank'>wlan</a>
This tagrendering is only visible in the popup if the following condition is met: internet_access~^(.*wlan.*)$
This tagrendering has labels
`internet-all`