Difference between revisions of "Template:LegMap"
Jump to navigation
Jump to search
(→Lines) |
|||
Line 7: | Line 7: | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{#vardefine: | + | {{#vardefine:leg_lines|{{#ask:[[-Has subobject::{{FULLPAGENAME}}]][[IsA::Leg]] |
|mainlabel=- | |mainlabel=- | ||
|?Leg from=from | |?Leg from=from | ||
Line 19: | Line 19: | ||
}}}} | }}}} | ||
== Lines == | == Lines == | ||
− | {{#var: | + | {{#var:leg_lines}} |
== Map == | == Map == | ||
{{#display_map: | {{#display_map: | ||
|lines= | |lines= | ||
− | {{#var: | + | {{#var:leg_lines}} |
~{{{title|Legs}}} | ~{{{title|Legs}}} | ||
~{{{subtitle|from subobjects}}} | ~{{{subtitle|from subobjects}}} |
Revision as of 23:08, 27 November 2024
Template to display leg routes on OpenStreetMap.
Usage
{{LegMap |center=cityName |zoom=12}}