Docs: fix multiline issues in docs

This commit is contained in:
Pieter Vander Vennet 2024-08-25 01:47:49 +02:00
parent 0c4d81916f
commit d875dffe1c
284 changed files with 484 additions and 19532 deletions

View file

@ -8,15 +8,12 @@ The theme introduction reads:
This theme contains the following layers:
- [cycle_highways_no_highway (defined in this theme)](#cycle_highways_no_highway)
- [cycle_highways_under-construction (defined in this theme)](#cycle_highways_under-construction)
- [cycle_highways](../Layers/cycle_highways.md)
Available languages:
- en
- de
- it
@ -31,7 +28,6 @@ Available languages:
- pl
- zh_Hant
# Table of contents
- [Cycle highways ( cycle_highways )](#cycle-highways-(-cycle_highways-))
@ -65,21 +61,11 @@ Available languages:
These layers can not be reused in different themes.
# cycle_highways_no_highway
This layer is based on [cycle_highways](../Layers/cycle_highways.md)
- This layer is shown at zoomlevel **6** and higher
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
No themes use this layer
## Basic tags for this layer
@ -102,59 +88,39 @@ Elements must match **all** of the following expressions:
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/state#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/state/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [state](https://wiki.openstreetmap.org/wiki/Key:state) | [string](../SpecialInputElements.md#string) | [proposed](https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed) [proposed](https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed) [proposed](https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed) [temporary](https://wiki.openstreetmap.org/wiki/Tag:state%3Dtemporary) [](https://wiki.openstreetmap.org/wiki/Tag:state%3D) |
| <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) | |
### cycle_highways-name
The question is `What is the name of this cycle highway?`
*The name is <b>{name}</b>* is shown if `name` is set
### cycle_highways-ref
The question is `What is the reference number of this cycle highway?`
*Referentienummer is <b>{ref}</b>* is shown if `ref` is set
### cycle_highways-state
The question is `What is the state of this link?`
*The current state of this link is {state}* is shown if `state` is set
- *This is a proposed route which can be cycled* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed' target='_blank'>proposed</a> & note:state=
- *This is a proposed route which has missing links (thus: some parts don't even have a building permit yet)* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed' target='_blank'>proposed</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:note:state' target='_blank'>note:state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:note:state%3Dhas_highway_no' target='_blank'>has_highway_no</a>
- *This is a proposed route which has some links which are under construction* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed' target='_blank'>proposed</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:note:state' target='_blank'>note:state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:note:state%3Dhas_highway_under_construction' target='_blank'>has_highway_under_construction</a>
- *This is a temporary deviation* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dtemporary' target='_blank'>temporary</a>
- *This link is operational and signposted* is shown if with state=
### cycle-highway-length
_This tagrendering has no question and is thus read-only_
*This part is {_length:km}km long*
### 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 src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/icons/website.svg' style='width: 3rem; height: 3rem'> *<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`
@ -163,66 +129,37 @@ Shows a table with all the tags of the feature
_This tagrendering has no question and is thus read-only_
*{all_tags()}*
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### 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 |
-----|-----|----- |
| name-alt.0 | Name contains 'alt' | name~^(.*alt.*)$ |
| id | question | osmTags |
-----|-----|----- |
| name-wenslijn.0 | Name contains 'wenslijn' | name~^(.*wenslijn.*)$ |
| id | question | osmTags |
-----|-----|----- |
| name-omleiding.0 | Name contains 'omleiding' | name~^(.*omleiding.*)$ |
| id | question | osmTags |
-----|-----|----- |
| ref-alt.0 | Reference contains 'alt' | ref~^(.*aAlt.*)$ |
| id | question | osmTags |
-----|-----|----- |
| missing_link.0 | *No filter* (default) | |
@ -230,11 +167,6 @@ This tagrendering has labels
| missing_link.2 | Has links which are under construction (note:state=has_highway_under_construction) | note:state=has_highway_under_construction |
| missing_link.3 | Has links which are proposed (note:state=has_highway_proposed) | note:state=has_highway_proposed |
| id | question | osmTags |
-----|-----|----- |
| proposed.0 | *No filter* (default) | |
@ -243,25 +175,13 @@ This tagrendering has labels
| proposed.3 | state unset | state= |
| proposed.4 | Other state | state~.+ & state!=proposed & state!=temporary |
# cycle_highways_under-construction
This layer is based on [cycle_highways](../Layers/cycle_highways.md)
- This layer is shown at zoomlevel **6** and higher
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
No themes use this layer
## Basic tags for this layer
@ -284,59 +204,39 @@ Elements must match **all** of the following expressions:
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/state#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/state/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [state](https://wiki.openstreetmap.org/wiki/Key:state) | [string](../SpecialInputElements.md#string) | [proposed](https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed) [proposed](https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed) [proposed](https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed) [temporary](https://wiki.openstreetmap.org/wiki/Tag:state%3Dtemporary) [](https://wiki.openstreetmap.org/wiki/Tag:state%3D) |
| <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) | |
### cycle_highways-name
The question is `What is the name of this cycle highway?`
*The name is <b>{name}</b>* is shown if `name` is set
### cycle_highways-ref
The question is `What is the reference number of this cycle highway?`
*Referentienummer is <b>{ref}</b>* is shown if `ref` is set
### cycle_highways-state
The question is `What is the state of this link?`
*The current state of this link is {state}* is shown if `state` is set
- *This is a proposed route which can be cycled* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed' target='_blank'>proposed</a> & note:state=
- *This is a proposed route which has missing links (thus: some parts don't even have a building permit yet)* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed' target='_blank'>proposed</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:note:state' target='_blank'>note:state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:note:state%3Dhas_highway_no' target='_blank'>has_highway_no</a>
- *This is a proposed route which has some links which are under construction* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dproposed' target='_blank'>proposed</a> & <a href='https://wiki.openstreetmap.org/wiki/Key:note:state' target='_blank'>note:state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:note:state%3Dhas_highway_under_construction' target='_blank'>has_highway_under_construction</a>
- *This is a temporary deviation* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:state' target='_blank'>state</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:state%3Dtemporary' target='_blank'>temporary</a>
- *This link is operational and signposted* is shown if with state=
### cycle-highway-length
_This tagrendering has no question and is thus read-only_
*This part is {_length:km}km long*
### 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 src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/layers/icons/website.svg' style='width: 3rem; height: 3rem'> *<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`
@ -345,66 +245,37 @@ Shows a table with all the tags of the feature
_This tagrendering has no question and is thus read-only_
*{all_tags()}*
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### 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 |
-----|-----|----- |
| name-alt.0 | Name contains 'alt' | name~^(.*alt.*)$ |
| id | question | osmTags |
-----|-----|----- |
| name-wenslijn.0 | Name contains 'wenslijn' | name~^(.*wenslijn.*)$ |
| id | question | osmTags |
-----|-----|----- |
| name-omleiding.0 | Name contains 'omleiding' | name~^(.*omleiding.*)$ |
| id | question | osmTags |
-----|-----|----- |
| ref-alt.0 | Reference contains 'alt' | ref~^(.*aAlt.*)$ |
| id | question | osmTags |
-----|-----|----- |
| missing_link.0 | *No filter* (default) | |
@ -412,11 +283,6 @@ This tagrendering has labels
| missing_link.2 | Has links which are under construction (note:state=has_highway_under_construction) | note:state=has_highway_under_construction |
| missing_link.3 | Has links which are proposed (note:state=has_highway_proposed) | note:state=has_highway_proposed |
| id | question | osmTags |
-----|-----|----- |
| proposed.0 | *No filter* (default) | |
@ -427,5 +293,4 @@ This tagrendering has labels
This document is autogenerated from [assets/themes/cycle_highways/cycle_highways.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/cycle_highways/cycle_highways.json)