Chore: formatting

This commit is contained in:
Pieter Vander Vennet 2024-06-16 16:06:26 +02:00
parent 35eff07c80
commit c08fe03ed0
422 changed files with 31594 additions and 43019 deletions

View file

@ -25,21 +25,21 @@ A layer showing hospital grounds
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)
- [name](#name)
- [inpatient](#inpatient)
- [phone](#phone)
- [email](#email)
- [website](#website)
- [oh-visitor](#oh-visitor)
- [leftover-questions](#leftover-questions)
- [lod](#lod)
- [minimap](#minimap)
- [last_edit](#last_edit)
- [favourite_status](#favourite_status)
- [qr_code](#qr_code)
- [share](#share)
- [all-tags](#all-tags)
- [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)
Themes using this layer
-------------------------
@ -92,211 +92,148 @@ 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:visitors#values) [opening_hours:visitors](https://wiki.openstreetmap.org/wiki/Key:opening_hours:visitors) | [opening_hours](../SpecialInputElements.md#opening_hours) |
### just_created
### this.id
This element shows a 'thank you' that the contributor has recently created this element
_This tagrendering has no question and is thus read-only_
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`
### this.id
The question is `What is the name of this hospital?`
This rendering asks information about the property
[name](https://wiki.openstreetmap.org/wiki/Key:name)
This is rendered with `This hospital is called {name}`
- *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
### this.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~.+`
The question is `Does this facility admit inpatients?`
This tagrendering has labels `added_by_default`
- *This is a clinic - patients can not stay overnight* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dclinic' target='_blank'>clinic</a>
- *This is a hospital - patients can be admitted here for multiple days* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital' target='_blank'>hospital</a>
### name
### this.id
The question is `What is the phone number of {title()}?`
This rendering asks information about the property
[phone](https://wiki.openstreetmap.org/wiki/Key:phone)
This is rendered with `<a href='tel:{phone}'>{phone}</a>`
- *<a href='tel:{contact:phone}'>{contact:phone}</a>* corresponds with contact:phone~.+
- _This option cannot be chosen as answer_
This tagrendering has labels
`contact`
The question is *What is the name of this hospital?*
### this.id
This rendering asks information about the property [name](https://wiki.openstreetmap.org/wiki/Key:name) This is rendered with `This hospital is called {name}`
The question is `What is the email address of {title()}?`
This rendering asks information about the property
[email](https://wiki.openstreetmap.org/wiki/Key:email)
This is rendered with `<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>`
- *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* corresponds with contact:email~.+
- _This option cannot be chosen as answer_
- *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* corresponds with operator:email~.+
- _This option cannot be chosen as answer_
This tagrendering has labels
`contact`
### this.id
### inpatient
The question is `What is the website of {title()}?`
This rendering asks information about the property
[website](https://wiki.openstreetmap.org/wiki/Key:website)
This is rendered with `<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>`
- *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* corresponds with contact:website~.+
- _This option cannot be chosen as answer_
This tagrendering has labels
`contact`
### this.id
The question is *Does this facility admit inpatients?*
The question is `When are visitors allowed to visit?`
This rendering asks information about the property
[opening_hours:visitors](https://wiki.openstreetmap.org/wiki/Key:opening_hours:visitors)
This is rendered with `<h3>Opening hours for visitors</h3>Regular visitors are allowed at the following moments: {opening_hours_table(opening_hours:visitors)}<p class='subtle'>Some wands might have different opening hours. Many hospitals allow visits during emergencies too.</p>`
### this.id
- *This is a clinic - patients can not stay overnight* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dclinic' target='_blank'>clinic</a>
- *This is a hospital - patients can be admitted here for multiple days* corresponds with <a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital' target='_blank'>hospital</a>
_This tagrendering has no question and is thus read-only_
### phone
### this.id
_This tagrendering has no question and is thus read-only_
The question is *What is the phone number of {title()}?*
This rendering asks information about the property [phone](https://wiki.openstreetmap.org/wiki/Key:phone) This is rendered with `<a href='tel:{phone}'>{phone}</a>`
- *<a href='tel:{contact:phone}'>{contact:phone}</a>* corresponds with contact:phone~.+
- _This option cannot be chosen as answer_
This tagrendering has labels `contact`
### email
The question is *What is the email address of {title()}?*
This rendering asks information about the property [email](https://wiki.openstreetmap.org/wiki/Key:email) This is rendered with `<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>`
- *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* corresponds with contact:email~.+
- _This option cannot be chosen as answer_
- *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* corresponds with operator:email~.+
- _This option cannot be chosen as answer_
This tagrendering has labels `contact`
### website
The question is *What is the website of {title()}?*
This rendering asks information about the property [website](https://wiki.openstreetmap.org/wiki/Key:website) This is rendered with `<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>`
- *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* corresponds with contact:website~.+
- _This option cannot be chosen as answer_
This tagrendering has labels `contact`
### oh-visitor
The question is *When are visitors allowed to visit?*
This rendering asks information about the property [opening_hours:visitors](https://wiki.openstreetmap.org/wiki/Key:opening_hours:visitors) This is rendered with `<h3>Opening hours for visitors</h3>Regular visitors are allowed at the following moments: {opening_hours_table(opening_hours:visitors)}<p class='subtle'>Some wands might have different opening hours. Many hospitals allow visits during emergencies too.</p>`
### leftover-questions
This tagrendering has no question and is thus read-only
### lod
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### minimap
This tagrendering has labels
`added_by_default`
### this.id
Shows a small map with the feature. Added by default to every popup
This tagrendering has no question and is thus read-only
_This tagrendering has no question and is thus read-only_
### last_edit
### this.id
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 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`
This tagrendering is only visible in the popup if the following condition is met: `_last_edit:changeset~.+ & _last_edit:contributor~.+`
### this.id
This tagrendering has labels `added_by_default`
### favourite_status
This tagrendering has no question and is thus read-only
_This tagrendering has no question and is thus read-only_
### qr_code
### this.id
_This tagrendering has no question and is thus read-only_
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 tagrendering has labels
`added_by_default`
### this.id
_This tagrendering has no question and is thus read-only_
### share
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### all-tags
This tagrendering has no question and is thus read-only
This document is autogenerated from [assets/layers/hospital/hospital.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/hospital/hospital.json)