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,14 +9,16 @@ This layer show governmental buildings. It was setup as commissioned layer for t
## 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)
- [phone](#phone)
- [email](#email)
- [website](#website)
- [name](#name)
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [lod](#lod)
## Themes using this layer
@ -24,6 +26,12 @@ This layer show governmental buildings. It was setup as commissioned layer for t
- [onwheels](https://mapcomplete.org/onwheels)
- [personal](https://mapcomplete.org/personal)
## Presets
The following options to create new points are included:
**a Governmental Office** which has the following tags:<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>
## 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>**
@ -49,9 +57,9 @@ _This tagrendering has no question and is thus read-only_
### 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`
@ -87,6 +95,11 @@ The question is `What is the name of this Governmental Office?`
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### move-button
_This tagrendering has no question and is thus read-only_
*{move_button()}*
### lod
_This tagrendering has no question and is thus read-only_