Difference between revisions of "Template:LegMapLines"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
(pushed from fahl by wikipush)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
= Usage =
 +
<pre>
 +
{{LegMapLines
 +
|lines=
 +
|zoom=
 +
|debug=
 +
}}
 +
</pre>
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude><includeonly>{{#display_map:
+
</noinclude><includeonly>{{#if:{{{debug|}}}|
|lines={{{lines|}}}
+
=== Lines ===
~{{{title|Legs}}}
+
→{{trim|{{{lines|}}}}}←
~{{{subtitle|from subobjects}}}
+
=== Map ===
~{{{color|blue}}}~0.6~10
+
}}{{#tag:html|
|center={{{center|Berlin}}}
+
<iframe
|zoom={{{zoom|12}}}
+
    width="{{{width|1200}}}"
|width={{{width|800}}}
+
    height="{{{height|600}}}"
|height={{{height|600}}}
+
    frameborder="0"
|fullscreen=on
+
    scrolling="no"
|service=leaflet}}
+
    marginheight="0"
 +
    marginwidth="0"
 +
    src="http://gpx.bitplan.com/lines?lines={{urlencode:{{trim|{{{lines|}}}}}}}&zoom={{{zoom|12}}}&auth_token=39f40ac94615c72d709310ce">
 +
</iframe>
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 20:08, 12 February 2025

Usage

{{LegMapLines
|lines=
|zoom=
|debug=
}}