Difference between revisions of "Template:LegMapLines"

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

Latest revision as of 20:08, 12 February 2025

Usage

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