Difference between revisions of "Template:LegMapLines"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
(pushed from fahl by wikipush)
 
(3 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 ===
{{#tag:html|
+
}}{{#tag:html|
 
<iframe  
 
<iframe  
     width="{{{width|800}}}"  
+
     width="{{{width|1200}}}"  
 
     height="{{{height|600}}}"  
 
     height="{{{height|600}}}"  
 
     frameborder="0"  
 
     frameborder="0"  
Line 28: Line 21:
 
     marginheight="0"  
 
     marginheight="0"  
 
     marginwidth="0"  
 
     marginwidth="0"  
     src="https://gpx.bitplan.com/lines?lines={{urlencode:{{trim|{{{lines|}}}}}}}&title={{urlencode:{{{title|Legs}}}}}&subtitle={{urlencode:{{{subtitle|from subobjects}}}}}&color={{urlencode:{{{color|blue}}}}}&center={{urlencode:{{{center|}}}}}&zoom={{{zoom|12}}}&line_width={{{line_width|15}}}&service={{urlencode:{{{service|leaflet}}}}}">
+
     src="http://gpx.bitplan.com/lines?lines={{urlencode:{{trim|{{{lines|}}}}}}}&zoom={{{zoom|12}}}&auth_token=39f40ac94615c72d709310ce">
 
</iframe>
 
</iframe>
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 20:08, 12 February 2025

Usage

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