Difference between revisions of "Template:LegLine"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> Template to create OpenStreetMap line coordinates from leg's from/to locations. === Usage === <pre>{{LegLine |1=fromLocationId |2=toLocationId }}</pre> Category:...")
 
Line 8: Line 8:
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>
<includeonly>{{#ask: [[Loc id::{{{1}}}]] |?Loc latlon |format=plain |mainlabel=- |headers=hide}} {{#ask: [[Loc id::{{{2}}}]] |?Loc latlon |format=plain |mainlabel=- |headers=hide}}</includeonly>
+
<includeonly>{{#ask: [[Loc id::{{{1}}}]]  
 +
|?Loc latlon #
 +
|format=plain  
 +
|mainlabel=-  
 +
|headers=hide}}{{#ask: [[Loc id::{{{2}}}]]  
 +
|?Loc latlon #
 +
|format=plain  
 +
|mainlabel=-  
 +
|headers=hide}}</includeonly>

Revision as of 16:08, 27 November 2024

Template to create OpenStreetMap line coordinates from leg's from/to locations.

Usage

{{LegLine
|1=fromLocationId
|2=toLocationId
}}