Difference between revisions of "Template:LegMap"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[IsA::Leg]] | + | {{#vardefine:lines|{{#ask:[[-Has subobject::{{FULLPAGENAME}}]] [[IsA::Leg]] |
|mainlabel=- | |mainlabel=- | ||
|?Leg from=from | |?Leg from=from | ||
Line 17: | Line 17: | ||
|named args=yes | |named args=yes | ||
|sep=: | |sep=: | ||
− | }} | + | }}}} |
+ | {{#var:lines}} | ||
{{#display_map: | {{#display_map: | ||
− | |lines={{# | + | |lines={{#var:lines}}~{{{title|Legs}}}~{{{subtitle|from subobjects}}}~{{{color|blue}}}~0.42~10 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}~{{{title|Legs}}}~{{{subtitle|from subobjects}}}~{{{color|blue}}}~0.42~10 | ||
|center={{{center|Berlin}}} | |center={{{center|Berlin}}} | ||
|zoom={{{zoom|12}}} | |zoom={{{zoom|12}}} |
Revision as of 22:50, 27 November 2024
Template to display leg routes on OpenStreetMap.
Usage
{{LegMap |center=cityName |zoom=12}}