Difference between revisions of "Template:Oba map KCM"
m |
m |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>Bus stop map for [[{{BASEPAGENAME}}]]. | + | <includeonly>Bus stop map for [[{{BASEPAGENAME}}]]. Stop list is below the map. |
It is possible that not every trip serve every stop. See timetable for details. | It is possible that not every trip serve every stop. See timetable for details. | ||
Line 8: | Line 8: | ||
|use xpath | |use xpath | ||
|data=routeid=/response/data/list/route/id,routename=/response/data/list/route/shortname | |data=routeid=/response/data/list/route/id,routename=/response/data/list/route/shortname | ||
− | |filters=/response/data/list/route/shortname={{{route | + | |filters=/response/data/list/route/shortname={{{route|{{#show:{{BASEPAGENAME}}| ?rvalue}}}}} |
}} | }} | ||
Line 18: | Line 18: | ||
}} | }} | ||
− | <div class=bigmap>{{#ask: [[-Place::{{BASEPAGENAME}}]] OR [[-Busway::{{BASEPAGENAME}}]]|?latlong|format=googlemaps|width=100%|height=100%|icon= | + | <div class=bigmap>{{#ask: [[-Place::{{BASEPAGENAME}}]] OR [[-Busway::{{BASEPAGENAME}}]]|?latlong|format=googlemaps|scrollwheelzoom=yes|width=100%|height=100%|icon=images/f/f5/Mm_20_red.png |
|locations={{#for_external_table: | |locations={{#for_external_table: | ||
− | {{{latitude}}},{{{longitude}}}~{{{displayname}}} ({{{direction}}})~Stop id: [ | + | {{{latitude}}},{{{longitude}}}~{{{displayname}}} ({{{direction}}})~Stop id: [{{SERVER}}/Departure_times_(Seattle)?id={{{id}}}&provider={{urlencode:{{#show:{{BASEPAGENAME}}|?provider}}}}&linkfrom={{urlencode:{{BASEPAGENAME}}}} {{{code}}} (real time departures)] ~File:Bus20.png; |
}} | }} | ||
}}</div> | }}</div> | ||
Line 26: | Line 26: | ||
''Public transit data powered by OneBusAway.'' | ''Public transit data powered by OneBusAway.'' | ||
− | {|class=" | + | {|class="infodata broadtable sortable" |
! Stop name !! Direction !! Stop code | ! Stop name !! Direction !! Stop code | ||
{{#for_external_table:<nowiki/> | {{#for_external_table:<nowiki/> | ||
Line 32: | Line 32: | ||
{{!}}{{{displayname}}} | {{!}}{{{displayname}}} | ||
{{!}}{{{direction}}} | {{!}}{{{direction}}} | ||
− | {{!}}[ | + | {{!}}[{{SERVER}}/Departure_times_(Seattle)?id={{{id}}}&provider={{urlencode:{{#show:{{BASEPAGENAME}}|?provider}}}}&linkfrom={{urlencode:{{BASEPAGENAME}}}} {{{code}}}] |
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly> |