[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)

# tool_library

A tool library is a place where people from the general public can borrow tools

 - This layer is shown at zoomlevel **3** and higher

## Table of contents

1. [Themes using this layer](#themes-using-this-layer)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
  - [images](#images)
  - [phone](#phone)
  - [email](#email)
  - [website](#website)
  - [facebook](#facebook)
  - [opening_hours_by_appointment](#opening_hours_by_appointment)
  - [membership](#membership)
  - [membership_charge](#membership_charge)
  - [fee](#fee)
  - [leftover-questions](#leftover-questions)
  - [move-button](#move-button)
  - [delete-button](#delete-button)
  - [spacer](#spacer)
  - [lod](#lod)
6. [Filters](#filters)

## Themes using this layer

 - [circular_economy](https://mapcomplete.org/circular_economy)
 - [personal](https://mapcomplete.org/personal)

## Presets

The following options to create new points are included:

 - **a tool library** 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%3Dtool_library' target='_blank'>tool_library</a>

## Basic tags for this layer

Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dtool_library' target='_blank'>tool_library</a>**

[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22amenity%22%3D%22tool_library%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%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 |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/phone#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/phone/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [phone](https://wiki.openstreetmap.org/wiki/Key:phone) | [phone](../SpecialInputElements.md#phone) |  |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/email#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/email/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [email](https://wiki.openstreetmap.org/wiki/Key:email) | [email](../SpecialInputElements.md#email) |  |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/website#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/website/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) |  |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/contact:facebook#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/contact%3Afacebook/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [contact:facebook](https://wiki.openstreetmap.org/wiki/Key:contact:facebook) | [url](../SpecialInputElements.md#url) |  |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/opening_hours#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/opening_hours/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours) | [opening_hours](../SpecialInputElements.md#opening_hours) | ["by appointment"](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment") |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/membership#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/membership/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [membership](https://wiki.openstreetmap.org/wiki/Key:membership) | Multiple choice | [no](https://wiki.openstreetmap.org/wiki/Tag:membership%3Dno) [required](https://wiki.openstreetmap.org/wiki/Tag:membership%3Drequired) [optional](https://wiki.openstreetmap.org/wiki/Tag:membership%3Doptional) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/charge:membership#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/charge%3Amembership/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [charge:membership](https://wiki.openstreetmap.org/wiki/Key:charge:membership) | [currency](../SpecialInputElements.md#currency) |  |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/fee#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/fee/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [fee](https://wiki.openstreetmap.org/wiki/Key:fee) | Multiple choice | [no](https://wiki.openstreetmap.org/wiki/Tag:fee%3Dno) [no](https://wiki.openstreetmap.org/wiki/Tag:fee%3Dno) [yes](https://wiki.openstreetmap.org/wiki/Tag:fee%3Dyes) [donation](https://wiki.openstreetmap.org/wiki/Tag:fee%3Ddonation) |

## Featureview elements and TagRenderings

| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images) <br/> _(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ |  | _Multiple choice only_ |
| [phone](#phone) <br/> _(Original in [questions](./BuiltinQuestions.md#phone))_ | What is the phone number of ?<br/>_{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}_<br/>1 options | contact | *[phone](https://wiki.osm.org/wiki/Key:phone)* ([phone](../SpecialInputElements.md#phone)) |
| [email](#email) <br/> _(Original in [questions](./BuiltinQuestions.md#email))_ | What is the email address of ?<br/>_<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>_<br/>2 options | contact | *[email](https://wiki.osm.org/wiki/Key:email)* ([email](../SpecialInputElements.md#email)) |
| [website](#website) <br/> _(Original in [questions](./BuiltinQuestions.md#website))_ | What is the website of ?<br/>_<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>_<br/>1 options | contact | *[website](https://wiki.osm.org/wiki/Key:website)* ([url](../SpecialInputElements.md#url)) |
| [facebook](#facebook) <br/> _(Original in [questions](./BuiltinQuestions.md#facebook))_ | What is the facebook page of of ?<br/>_{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}<div class='subtle text-sm'>Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives</div>_ |  | *[contact:facebook](https://wiki.osm.org/wiki/Key:contact:facebook)* ([url](../SpecialInputElements.md#url)) |
| [opening_hours_by_appointment](#opening_hours_by_appointment) <br/> _(Original in [questions](./BuiltinQuestions.md#opening_hours_by_appointment))_ | What are the opening hours of ?<br/>_<h3>Opening hours</h3>{opening_hours_table(opening_hours)}_<br/>3 options |  | *[opening_hours](https://wiki.osm.org/wiki/Key:opening_hours)* ([opening_hours](../SpecialInputElements.md#opening_hours)) |
| [membership](#membership)  | Is a membership required to borrow tools here?<br/>3 options |  | _Multiple choice only_ |
| [membership_charge](#membership_charge)  | How much does a membership cost?<br/>_A membership costs {charge:membership}_ |  | *[charge:membership](https://wiki.osm.org/wiki/Key:charge:membership)* ([currency](../SpecialInputElements.md#currency)) |
| [fee](#fee)  | Is a fee asked to borrow tools?<br/>4 options |  | _Multiple choice only_ |
| [leftover-questions](#leftover-questions)  | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
| [move-button](#move-button)  | _{move_button()}_ |  | _Multiple choice only_ |
| [delete-button](#delete-button)  | _{delete_button()}_ |  | _Multiple choice only_ |
| [spacer](#spacer)  | _<div class='m-4'/>_ |  | _Multiple choice only_ |
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |

### 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_

*{image_carousel()}{image_upload()}*

### phone
The question is `What is the phone number of {title()}?`

*{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}* is shown if `phone` is set.

 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/phone.svg'> *{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`

### email
The question is `What is the email address of {title()}?`

*<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>* is shown if `email` is set.

 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/svg/envelope.svg'> *<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>* is shown if with contact:email~.+. _This option cannot be chosen as answer_
 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/svg/envelope.svg'> *<a href='mailto:{operator:email}' target='_blank' rel='noopener'>{operator:email}</a>* is shown if 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()}?`

*<a href='{website}' rel='nofollow noopener noreferrer' target='_blank'>{website}</a>* is shown if `website` is set.

 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/icons/website.svg'> *<a href='{contact:website}' rel='nofollow noopener noreferrer' target='_blank'>{contact:website}</a>* is shown if with contact:website~.+. _This option cannot be chosen as answer_

This tagrendering has labels `contact`

### facebook
Shows and asks for the facebook handle
The question is `What is the facebook page of of {title()}?`

*{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}<div class='subtle text-sm'>Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives</div>* is shown if `contact:facebook` is set.

### opening_hours_by_appointment
The question is `What are the opening hours of {title()}?`

*<h3>Opening hours</h3>{opening_hours_table(opening_hours)}* is shown if `opening_hours` is set.

 -  *Only by appointment* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment"' target='_blank'>"by appointment"</a>
 -  *Only by appointment* is shown if with opening_hours~^("by appointment"|by appointment)$. _This option cannot be chosen as answer_
 -  *Marked as closed for an unspecified time* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:opening_hours' target='_blank'>opening_hours</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3Dclosed' target='_blank'>closed</a>. _This option cannot be chosen as answer_

### membership
The question is `Is a membership required to borrow tools here?`

 -  *No membership is required to borrow tools here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:membership' target='_blank'>membership</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:membership%3Dno' target='_blank'>no</a>
 -  *A <b>membership is required</b> to use this tool library* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:membership' target='_blank'>membership</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:membership%3Drequired' target='_blank'>required</a>
 -  *A <b>membership is possible</b> but not required to use this tool library* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:membership' target='_blank'>membership</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:membership%3Doptional' target='_blank'>optional</a>

### membership_charge
The question is `How much does a membership cost?`

*A membership costs {charge:membership}* is shown if `charge:membership` is set.

This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:membership' target='_blank'>membership</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:membership%3Drequired' target='_blank'>required</a>

### fee
The question is `Is a fee asked to borrow tools?`

 -  *Borrowing tools is free (if one has a membership)* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:fee' target='_blank'>fee</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fee%3Dno' target='_blank'>no</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:membership' target='_blank'>membership</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:membership%3Drequired' target='_blank'>required</a>
 -  *Borrowing tools is free* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:fee' target='_blank'>fee</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fee%3Dno' target='_blank'>no</a>
 -  *A fee is asked when borrowing tools* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:fee' target='_blank'>fee</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fee%3Dyes' target='_blank'>yes</a>
 -  *A donation can be given when borrowing tools* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:fee' target='_blank'>fee</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:fee%3Ddonation' target='_blank'>donation</a>

### leftover-questions
_This tagrendering has no question and is thus read-only_

*{questions( ,hidden)}*

This tagrendering has labels `ignore-docs` `added_by_default`

### move-button
_This tagrendering has no question and is thus read-only_

*{move_button()}*

### delete-button
_This tagrendering has no question and is thus read-only_

*{delete_button()}*

### spacer
_This tagrendering has no question and is thus read-only_

*<div class='m-4'/>*

### lod
_This tagrendering has no question and is thus read-only_

*{linked_data_from_website()}*

This tagrendering has labels `added_by_default`

## Filters

| id | question | osmTags |
-----|-----|----- |
| open_now.0 | Now open | _isOpen=yes |



This document is autogenerated from [assets/layers/tool_library/tool_library.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/tool_library/tool_library.json)
