Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[Leg from::+]][[Leg to::+]]
 
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[Leg from::+]][[Leg to::+]]
 
|mainlabel=-
 
|mainlabel=-
|?Leg from
+
|?Leg from#coordinates
|?Leg to
+
|?Leg to#coordinates
 
|format=template
 
|format=template
 
|template=LegLine
 
|template=LegLine
|sep=;
+
|sep=:
 
}}
 
}}
 
{{#display_map:
 
{{#display_map:
Line 21: Line 21:
 
|?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 21:16, 27 November 2024

Template to display leg routes on OpenStreetMap.

Usage

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