Difference between revisions of "Template:Transit Center 2"
m |
m |
||
Line 1: | Line 1: | ||
− | <div class="map">{{: | + | {{#if:{{{latlong|}}}|[[latlong::{{{latlong}}}| ]] <div class="map">{{#display_point:coordinates={{{latlong}}}|zoom={{{mapzoom|16}}}|width=400|height=400|controls=small, type, scale|kml={{{kml|}}}}} |
+ | </div>}} | ||
{{#ifeq:{{{accessibility|}}}|Not accessible|{{#icon: Icon-accessible-greyed-44.png | Not accessible | 20}}|{{#icon: Icon-accessible-44.png | {{{accessibility}}} | 20}}}} {{#if:{{{restroom|}}}|{{#icon: Icon-restroom-44.png | {{{restroom}}} | 20}}|{{#icon: Icon-restroom-greyed-44.png | No Public restroom | 20}}}} | {{#ifeq:{{{accessibility|}}}|Not accessible|{{#icon: Icon-accessible-greyed-44.png | Not accessible | 20}}|{{#icon: Icon-accessible-44.png | {{{accessibility}}} | 20}}}} {{#if:{{{restroom|}}}|{{#icon: Icon-restroom-44.png | {{{restroom}}} | 20}}|{{#icon: Icon-restroom-greyed-44.png | No Public restroom | 20}}}} | ||
{{#if:{{{city|}}}| '''City:''' [[City::{{{city}}}]] }}{{#if:{{{neighborhood|}}}|{{!}} [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]] }}{{#if:{{{location|}}}|{{!}} {{{location|}}}}} | {{#if:{{{city|}}}| '''City:''' [[City::{{{city}}}]] }}{{#if:{{{neighborhood|}}}|{{!}} [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]] }}{{#if:{{{location|}}}|{{!}} {{{location|}}}}} | ||
− | + | <div>{{#if:{{{street|}}}|Directions [http://maps.google.com/maps?saddr=&daddr={{{street|}}}&hl=en to] and [http://maps.google.com/maps?saddr={{{street|}}}&daddr=&hl=en from] {{PAGENAME}}|Directions [http://maps.google.com/maps?saddr=&daddr={{urlencode:{{{latlong|}}}}}&hl=en to] and [http://maps.google.com/maps?saddr={{urlencode:{{{latlong|}}}}}&daddr=&hl=en from] {{PAGENAME}}}}</div> | |
− | {{#if:{{{street|}}}|Directions [http://maps.google.com/maps?saddr=&daddr={{{street|}}}&hl=en to] and [http://maps.google.com/maps?saddr={{{street|}}}&daddr=&hl=en from] {{PAGENAME}}}} | ||
| |