Template:OverpassWay
Jump to navigation
Jump to search
This documentation is transcluded from Template:OverpassWay/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template can be used for inserting permanent links to ways and areas. It uses the Overpass API to generate the links.
Usage
- icon=whatever {{Icon}} accepts
- query=the Overpass query
- tools=the tools to display
- state=the state as shown below
Examples
wiki code | produces |
---|---|
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} | Ludwigskirche (iD, JOSM, Potlatch2, history, XML) |
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=josm}} | Ludwigskirche (JOSM) |
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=no}} | Ludwigskirche |
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=mini}} | Ludwigskirche |
{{OverpassWay|Ludwigskirche|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]|tools=short} | Ludwigskirche (i j p h x) |
{{OverpassWay|Ludwigskirche|icon=a|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} | Ludwigskirche (iD, JOSM, Potlatch2, history, XML) |
{{OverpassWay|Ludwigskirche|icon=w|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} | Ludwigskirche (iD, JOSM, Potlatch2, history, XML) |
{{OverpassWay|Ludwigskirche|icon=c|query=area[name="Saarland"];way(area)[name="Ludwigskirche"]}} | Ludwigskirche (iD, JOSM, Potlatch2, history, XML) |
See also
- {{TranslationOf history}}, {{TranslationOf analyze}}, {{TranslationOf manage}}
- {{TranslationOf element not defined yet for}}
|