Improve documentation

This commit is contained in:
Pieter Vander Vennet 2022-12-08 00:48:44 +01:00
parent ae146606e0
commit 4d930ae985
123 changed files with 4874 additions and 4239 deletions

View file

@ -89,11 +89,11 @@ This tagrendering has no question and is thus read-only
The question is What is the name of this bicycle library?
The question is *What is the name of this bicycle library?*
This rendering asks information about the property [name](https://wiki.openstreetmap.org/wiki/Key:name)
This is rendered with This bicycle library is called {name}
This is rendered with `This bicycle library is called {name}`
@ -103,17 +103,17 @@ This is rendered with This bicycle library is called {name}
The question is What is the website of {title()}?
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}' target='_blank'>{website}</a>
This is rendered with `<a href='{website}' target='_blank'>{website}</a>`
- <a href='{contact:website}' target='_blank'>{contact:website}</a> corresponds with `contact:website~.+`
- *<a href='{contact:website}' target='_blank'>{contact:website}</a>* corresponds with `contact:website~.+`
- This option cannot be chosen as answer
@ -123,17 +123,17 @@ This is rendered with <a href='{website}' target='_blank'>{website}</a>
The question is What is the phone number of {title()}?
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>
This is rendered with `<a href='tel:{phone}'>{phone}</a>`
- <a href='tel:{contact:phone}'>{contact:phone}</a> corresponds with `contact:phone~.+`
- *<a href='tel:{contact:phone}'>{contact:phone}</a>* corresponds with `contact:phone~.+`
- This option cannot be chosen as answer
@ -143,17 +143,17 @@ This is rendered with <a href='tel:{phone}'>{phone}</a>
The question is What is the email address of {title()}?
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'>{email}</a>
This is rendered with `<a href='mailto:{email}' target='_blank'>{email}</a>`
- <a href='mailto:{contact:email}' target='_blank'>{contact:email}</a> corresponds with `contact:email~.+`
- *<a href='mailto:{contact:email}' target='_blank'>{contact:email}</a>* corresponds with `contact:email~.+`
- This option cannot be chosen as answer
@ -163,11 +163,11 @@ This is rendered with <a href='mailto:{email}' target='_blank'>{email}</a>
The question is What are the opening hours of {title()}?
The question is *What are the opening hours of {title()}?*
This rendering asks information about the property [opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours)
This is rendered with <h3>Opening hours</h3>{opening_hours_table(opening_hours)}
This is rendered with `<h3>Opening hours</h3>{opening_hours_table(opening_hours)}`
@ -177,18 +177,18 @@ This is rendered with <h3>Opening hours</h3>{opening_hours_table(opening_hours)
The question is How much does lending a bicycle cost?
The question is *How much does lending a bicycle cost?*
This rendering asks information about the property [charge](https://wiki.openstreetmap.org/wiki/Key:charge)
This is rendered with Lending a bicycle costs {charge}
This is rendered with `Lending a bicycle costs {charge}`
- Lending a bicycle is free corresponds 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>`
- Lending a bicycle costs €20/year and €20 warranty corresponds 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 href='https://wiki.openstreetmap.org/wiki/Key:charge' target='_blank'>charge</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:charge%3D€20warranty + €20/year' target='_blank'>€20warranty + €20/year</a>`
- *Lending a bicycle is free* corresponds with `fee=no`
- *Lending a bicycle costs €20/year and €20 warranty* corresponds with `fee=yes&charge=€20warranty + €20/year`
@ -197,15 +197,15 @@ This is rendered with Lending a bicycle costs {charge}
The question is Who can loan bicycles here?
The question is *Who can loan bicycles here?*
- Bikes for children available corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:bicycle_library:for' target='_blank'>bicycle_library:for</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:bicycle_library:for%3Dchild' target='_blank'>child</a>`
- Bikes for adult available corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:bicycle_library:for' target='_blank'>bicycle_library:for</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:bicycle_library:for%3Dadult' target='_blank'>adult</a>`
- Bikes for disabled persons available corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:bicycle_library:for' target='_blank'>bicycle_library:for</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:bicycle_library:for%3Ddisabled' target='_blank'>disabled</a>`
- *Bikes for children available* corresponds with `bicycle_library:for=child`
- *Bikes for adult available* corresponds with `bicycle_library:for=adult`
- *Bikes for disabled persons available* corresponds with `bicycle_library:for=disabled`
@ -214,11 +214,11 @@ The question is Who can loan bicycles here?
The question is Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>
The question is *Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>*
This rendering asks information about the property [description](https://wiki.openstreetmap.org/wiki/Key:description)
This is rendered with {description}
This is rendered with `{description}`