Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[Leg from::+]][[Leg to::+]]
+
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[IsA::Leg]]
 
|mainlabel=-
 
|mainlabel=-
 
|?Leg from=from
 
|?Leg from=from
Line 18: Line 18:
 
}}
 
}}
 
{{#display_map:
 
{{#display_map:
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]][[Leg to::+]]
+
|lines={{#ask:[[-Has subobject::{{FULLPAGENAME}}]][[IsA::Leg]]
 
|mainlabel=-
 
|mainlabel=-
 
|?Leg from=from
 
|?Leg from=from

Revision as of 22:34, 27 November 2024

Template to display leg routes on OpenStreetMap.

Usage

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