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#coordinates=from
+
|?Leg from=from
|?Leg to#coordinates=to
+
|?Leg to=to
 
|format=template
 
|format=template
 
|template=LegLine
 
|template=LegLine
Line 20: Line 20:
 
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]][[Leg to::+]]
 
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]][[Leg to::+]]
 
|mainlabel=-
 
|mainlabel=-
|?Leg from#coordinates=from
+
|?Leg from=from
|?Leg to#coordinates=to
+
|?Leg to=to
 
|sort=Leg wp_num
 
|sort=Leg wp_num
 
|format=template
 
|format=template

Revision as of 21:57, 27 November 2024

Template to display leg routes on OpenStreetMap.

Usage

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