Fix bug in documentation generation

This commit is contained in:
Pieter Vander Vennet 2024-06-18 21:11:42 +02:00
parent ee9a504af6
commit 2ce9c67204
175 changed files with 14896 additions and 11522 deletions

View file

@ -25,25 +25,27 @@ A sport pitch
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-)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [this.id](#thisid)
- [just_created](#just_created)
- [nothing_known](#nothing_known)
- [images](#images)
- [sport_pitch-sport](#sport_pitch-sport)
- [basketball-hoops](#basketball-hoops)
- [sport_pitch-surface](#sport_pitch-surface)
- [sport-pitch-access](#sport-pitch-access)
- [sport-pitch-reservation](#sport-pitch-reservation)
- [sport_pitch-phone](#sport_pitch-phone)
- [sport_pitch-email](#sport_pitch-email)
- [sport_pitch-opening_hours](#sport_pitch-opening_hours)
- [questions](#questions)
- [sport-pitch-reviews](#sport-pitch-reviews)
- [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)
+ [Filters](#filters)
Themes using this layer
@ -96,16 +98,25 @@ attribute | type | values which are supported by this layer
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/opening_hours#values) [opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours) | [opening_hours](../SpecialInputElements.md#opening_hours) | [24/7](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D24/7)
### this.id
### 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_
- *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`
`added_by_default_top`
### this.id
### 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_
@ -113,7 +124,7 @@ _This tagrendering has no question and is thus read-only_
### this.id
### sport_pitch-sport
The question is `Which sport can be played here?`
This rendering asks information about the property
@ -130,7 +141,7 @@ This is rendered with `{sport} is played here`
### this.id
### basketball-hoops
The question is `How much basketball hoops does this pitch have?`
@ -142,7 +153,7 @@ The question is `How much basketball hoops does this pitch have?`
This tagrendering is only visible in the popup if the following condition is met: sport~^((^|.*;)basketball(;.*|$))$
### this.id
### sport_pitch-surface
The question is `Which is the surface of this sport pitch?`
This rendering asks information about the property
@ -158,7 +169,7 @@ This is rendered with `The surface is <b>{surface}</b>`
### this.id
### sport-pitch-access
The question is `Is this sport pitch publicly accessible?`
@ -171,7 +182,7 @@ The question is `Is this sport pitch publicly accessible?`
### this.id
### sport-pitch-reservation
The question is `Does one have to make an appointment to use this sport pitch?`
@ -182,7 +193,7 @@ The question is `Does one have to make an appointment to use this sport pitch?`
### this.id
### sport_pitch-phone
The question is `What is the phone number of the operator?`
This rendering asks information about the property
@ -192,7 +203,7 @@ This is rendered with `<a href='tel:{phone}'>{phone}</a>`
### this.id
### sport_pitch-email
The question is `What is the email address of the operator?`
This rendering asks information about the property
@ -202,7 +213,7 @@ This is rendered with `<a href='mailto:{email}' target='_blank' rel='noopener'>{
### this.id
### sport_pitch-opening_hours
The question is `When is this pitch accessible?`
This rendering asks information about the property
@ -214,7 +225,7 @@ This is rendered with `Openingsuren: {opening_hours_table()}`
This tagrendering is only visible in the popup if the following condition is met: access~.+
### this.id
### questions
Show the questions block at this location
_This tagrendering has no question and is thus read-only_
@ -222,7 +233,7 @@ _This tagrendering has no question and is thus read-only_
### this.id
### sport-pitch-reviews
_This tagrendering has no question and is thus read-only_
@ -230,7 +241,24 @@ _This tagrendering has no question and is thus read-only_
### this.id
### 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_
@ -239,15 +267,34 @@ _This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### this.id
Shows a small map with the feature. Added by default to every popup
### 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.id
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_
@ -256,33 +303,7 @@ This tagrendering is only visible in the popup if the following condition is met
This tagrendering has labels
`added_by_default`
### this.id
_This tagrendering has no question and is thus read-only_
### this.id
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### this.id
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### this.id
### all-tags
_This tagrendering has no question and is thus read-only_