Difference between revisions of "Template:Place"

From Transit.Wiki
(Change map service)
m
Line 1: Line 1:
{{#if:{{{latlong|}}}|[[latlong::{{{latlong}}}| ]] <div class="regmap">{{#display_point:coordinates={{{latlong}}}|zoom={{{mapzoom|15}}}|service=leaflet|layers=HERE.Street,HERE.Aerial}}
+
{{#if:{{{latlong|}}}|[[latlong::{{{latlong}}}| ]] <div class="regmap">{{#display_point:coordinates={{{latlong}}}|zoom={{{mapzoom|15}}}|service=leaflet|layers=layers={{#ifeq:{{{city|}}}|San Francisco|SFTransit,}}HERE.Transit,HERE.Aerial}}
 
</div>}}{{#vardefine:latlong|{{{latlong}}}}}
 
</div>}}{{#vardefine:latlong|{{{latlong}}}}}
 
{{#if:{{{city|}}}|'''City:''' [[City::{{{city}}}]]&nbsp;}}{{#if:{{{county|}}}|'''County:''' [[In county::{{{county}}}]]&nbsp;}}{{#if:{{{neighborhood|}}}|{{!}}&nbsp; [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]]}}
 
{{#if:{{{city|}}}|'''City:''' [[City::{{{city}}}]]&nbsp;}}{{#if:{{{county|}}}|'''County:''' [[In county::{{{county}}}]]&nbsp;}}{{#if:{{{neighborhood|}}}|{{!}}&nbsp; [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]]}}

Revision as of 14:02, 28 April 2019


Insert the following onto the page:

{{Place
| city=
| neighborhood=
| website=
| street=
| latlong=
| latlonghidden=
}}