Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
(pushed from fahl by wikipush)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
Template to display leg routes on a Map.
 
Template to display leg routes on a Map.
 +
see {{Link|target=:Template:LegMapLines}}
 
=== Usage ===
 
=== Usage ===
 
<pre>{{LegMap
 
<pre>{{LegMap
 
|center=cityName
 
|center=cityName
|zoom=12}}</pre>
+
|zoom=12
 +
|debug=false}}</pre>
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 18: Line 20:
 
|sep=:
 
|sep=:
 
}}}}
 
}}}}
 +
{{#if:{{{debug|}}}|
 
== Lines ==
 
== Lines ==
 
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]][[Leg_from::+]]
 
{{#ask:[[-Has subobject::{{FULLPAGENAME}}]][[Leg_from::+]]
Line 31: Line 34:
  
 
== LegMapLines ==
 
== LegMapLines ==
 +
}}
 
{{LegMapLines
 
{{LegMapLines
 
|lines={{#var:leg_lines}}
 
|lines={{#var:leg_lines}}
Line 40: Line 44:
 
|width={{{width|800}}}
 
|width={{{width|800}}}
 
|height={{{height|600}}}
 
|height={{{height|600}}}
 +
|debug={{{debug|}}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 15:37, 19 January 2025

Template to display leg routes on a Map. see Template:LegMapLines

Usage

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