Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
|zoom=12}}</pre>
 
|zoom=12}}</pre>
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude>
+
</noinclude><includeonly>
<includeonly>
 
 
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]][[Leg to::+]]
 
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]][[Leg to::+]]
 
|?Leg from
 
|?Leg from
Line 13: Line 12:
 
|format=template
 
|format=template
 
|template=LegLine
 
|template=LegLine
|sep=;}}
+
}}
 
{{#display_map:
 
{{#display_map:
 
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]]
 
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]]

Revision as of 16:16, 27 November 2024

Template to display leg routes on OpenStreetMap.

Usage

{{LegMap
|center=cityName
|zoom=12}}