Difference between revisions of "Template:Transit Center 4"
m |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#description2: | + | {{#description2:Located in {{{city|}}}. {{#show:{{PAGENAME}}|?served by|link=none|intro=It is served by_|outro=.|default=..}} {{#if:{{#show:{{PAGENAME}}|?Realtimeinfo}}|Real time departures available.}} {{#show:{{PAGENAME}}|?-by stop|link=none|intro=Nearby destinations include_|outro=.|default=..}} Bus and more to {{PAGENAME}}...}}{{#arraydefine:tc4latlong|{{{latlong|}}}|;}}<!-- |
− | -->{{#if:{{{rname|}}}|[[rname::{{{rname}}}| ]]}}{{#if:{{{ | + | -->{{#if:{{{rname|}}}|[[rname::{{{rname}}}| ]]}}{{#if:{{{latlong|}}}|{{#set:latlong={{{latlong}}}|+sep=;}} <div class="regmap">{{#display_points:coordinates={{{latlong}}}|zoom={{{mapzoom|16}}}|service=leaflet|layers={{#ifeq:{{{city|}}}|San Francisco|SFTransit,}}HERE.Transit,HERE.Aerial}} |
− | </div>}}{{#vardefine:latlong|{{ | + | </div>}}{{#vardefine:latlong|{{#arrayindex:tc4latlong|0}}}} |
{{#ifeq:{{{accessibility|}}}|Not accessible|[[file:Wheelchair - grey.svg|20px|Not accessible|link=]]|[[file:Wheelchair.svg|20px|{{{accessibility}}}|link=]]}} {{#if:{{{restroom|}}}|[[file:Restroom.svg|20px|{{{restroom}}}|link=]]|[[file:Restroom - grey.svg|20px|No Public restroom|link=]]}} | {{#ifeq:{{{accessibility|}}}|Not accessible|[[file:Wheelchair - grey.svg|20px|Not accessible|link=]]|[[file:Wheelchair.svg|20px|{{{accessibility}}}|link=]]}} {{#if:{{{restroom|}}}|[[file:Restroom.svg|20px|{{{restroom}}}|link=]]|[[file:Restroom - grey.svg|20px|No Public restroom|link=]]}} | ||
{{#if:{{{city|}}}| '''City:''' [[City::{{{city}}}]] }} | {{#if:{{{city|}}}| '''City:''' [[City::{{{city}}}]] }} | ||
{{#if:{{{neighborhood|}}}|{{!}} [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]] }}{{#if:{{{location|}}}|{{!}} {{{location|}}}}} | {{#if:{{{neighborhood|}}}|{{!}} [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]] }}{{#if:{{{location|}}}|{{!}} {{{location|}}}}} | ||
− | <div> | + | <div>Directions [http://maps.google.com/maps?saddr=&daddr={{urlencode:{{#arrayindex:tc4latlong|0}}}}&hl=en to] and [http://maps.google.com/maps?saddr={{urlencode:{{#arrayindex:tc4latlong|0}}}}&daddr=&hl=en from] {{PAGENAME}} | Nearby {{#Widget:Bikemap|latlong={{#arrayindex:tc4latlong|0}}|pagename={{PAGENAME}}}}</div> |
| |