Difference between revisions of "Template:LA Metro bus map"
(Created page with "<includeonly>Bus stop map for [[{{BASEPAGENAME}}]]. Not every trip serve every stop. See timetable for details. {{#get_web_data: url=http://api.metro.net/agencies/lametro/ro...") |
m |
||
Line 4: | Line 4: | ||
{{#get_web_data: | {{#get_web_data: | ||
− | url=http://api.metro.net/agencies/lametro/routes/{{#show:{{BASEPAGENAME}}| ?rnum}}/ | + | url=http://api.metro.net/agencies/lametro/routes/{{#show:{{BASEPAGENAME}}| ?rnum}}/stops/ |
|format=json | |format=json | ||
|use xpath | |use xpath | ||
Line 12: | Line 12: | ||
{{#ask: [[-Place::{{BASEPAGENAME}}]]|?latlong|height=550|format=googlemaps|width=90%|icon=mm_20_red.png | {{#ask: [[-Place::{{BASEPAGENAME}}]]|?latlong|height=550|format=googlemaps|width=90%|icon=mm_20_red.png | ||
|locations={{#for_external_table: | |locations={{#for_external_table: | ||
− | {{{latitude}}},{{{longitude}}}~{{{displayname}}}~ ~File:Bus20.png; | + | {{{latitude}}},{{{longitude}}}~{{{displayname}}} - [{{canonicalurl:Departure times}}?id={{{id}}}&agency=lametro {{{id}}}]~ ~File:Bus20.png; |
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
</div> | </div> | ||
</includeonly> | </includeonly> |