Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]]
+
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]][[Leg to::+]]
 
|?Leg from
 
|?Leg from
 
|?Leg to
 
|?Leg to
Line 19: Line 19:
 
|?Leg to
 
|?Leg to
 
|format=template
 
|format=template
|template=LegLine
+
|template=LegLine}}
|sep=;}}
 
 
|center={{{center|Berlin}}}
 
|center={{{center|Berlin}}}
 
|zoom={{{zoom|12}}}
 
|zoom={{{zoom|12}}}

Revision as of 16:09, 27 November 2024

Template to display leg routes on OpenStreetMap.

Usage

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