Difference between revisions of "Template:LegLine"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{{#ask: [[Loc id::{{{from}}}]]|?Loc latlon|format=template|template=LocFormat|mainlabel=-|headers=hide}} | + | <includeonly>{{#ask: [[Loc id::{{{from}}}]]|?Loc latlon|format=template|template=LocFormat|format=float|directional=no|mainlabel=-|headers=hide}},{{#ask: [[Loc id::{{{to}}}]]|?Loc latlon|format=Template|template=LocFormat|format=float|directional=no|mainlabel=-|headers=hide}}{{#if:{{{transport|}}}|,{{{transport}}}|}}</includeonly> |
Revision as of 10:06, 19 January 2025
Template to create Map line coordinates from leg's from/to locations.
Parameters
- from: Starting location ID (required)
- to: Ending location ID (required)
- transport: Mode of transport (optional)
Usage
{{LegLine |from=fromLocationId |to=toLocationId |transport=transport }}
Examples
Parameters | Example | Output |
---|---|---|
Basic usage | {{LegLine|from=nancy|to=meerbusch}} |
48.689858° N, 6.175906° E, 51.269222° N, 6.625467° E |
With transport | {{LegLine|from=nancy|to=meerbusch|transport=train}} |
48.689858° N, 6.175906° E, 51.269222° N, 6.625467° E,train |