Difference between revisions of "Template:LegLine"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
<includeonly>{{#ask: [[Loc id::{{{from}}}]]  
 
<includeonly>{{#ask: [[Loc id::{{{from}}}]]  
 
|?Loc latlon
 
|?Loc latlon
|format=plain
+
|format=template
 +
|template=LocFormat
 
|mainlabel=-  
 
|mainlabel=-  
 
|headers=hide}}:{{#ask: [[Loc id::{{{to}}}]]  
 
|headers=hide}}:{{#ask: [[Loc id::{{{to}}}]]  
 
|?Loc latlon
 
|?Loc latlon
|format=plain
+
|format=Template
 +
|template=LocFormat
 
|mainlabel=-  
 
|mainlabel=-  
 
|headers=hide}}</includeonly>
 
|headers=hide}}</includeonly>

Revision as of 22:10, 27 November 2024

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

Usage

{{LegLine
|from=fromLocationId
|to=toLocationId
}}