Difference between revisions of "Template:Place"

From Transit.Wiki
m
m (Text replacement - "Transit guide to" to "Public transportation guide for")
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{latlong|}}}|[[latlong::{{{latlong}}}| ]] <div class="map">{{#display_point:coordinates={{{latlong}}}|zoom={{{mapzoom|15}}}|width=400|height=400|controls=small, nav-label, scale}}
+
<includeonly>{{#if:{{{latlong|}}}|[[latlong::{{{latlong}}}| ]] <div class="regmap">{{#display_point:coordinates={{{latlong}}}|zoom={{{mapzoom|15}}}|service=leaflet|layers={{#ifeq:{{{city|}}}|San Francisco|SFTransit,}}HERE.Transit,HERE.Aerial}}
</div>}}
+
<p align="right">{{#Widget:Bikemap|latlong={{{latlong|}}}|pagename={{PAGENAME}}}}</p>
{{#if:{{{city|}}}|'''City:''' [[City::{{{city}}}]]&nbsp;}}{{#if:{{{neighborhood|}}}|{{!}}&nbsp; [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]]}}
+
</div>}}{{#vardefine:latlong|{{{latlong}}}}}
{{#if:{{{website|}}}|:[{{{website}}} Web site]}}
+
{{#if:{{{city|}}}|'''City:''' [[City::{{{city}}}]]&nbsp;}}{{#if:{{{county|}}}|'''County:''' [[In county::{{{county}}}]]&nbsp;}}{{#if:{{{neighborhood|}}}|{{!}}&nbsp; [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]]}}
{{#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}}}}
+
<div style="margin: 0 0 0.5em 1.5em;">{{#if:{{{website|}}}|[{{{website}}} Web site]|[https://duckduckgo.com/?q={{urlencode:{{PAGENAME}} in {{{city|{{{county|}}}}}}}} Web search 🔍]}}</div>
<noinclude>
+
<div>{{#if:{{{street|}}}|:{{{street}}}}}</div>
 +
<div style="margin: 0 0 1.5em 0;">{{#if:{{{latlong|}}}|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>{{#description2:Public transportation guide for {{PAGENAME}}, located in {{{city|{{{county|}}}}}}. Bus routes and more to {{PAGENAME}}...}}{{#if:{{{placecat|}}}|[[Category:{{{placecat}}}]]}}{{#set:Place name={{{name|{{PAGENAME}}}}}}}</includeonly><noinclude>
 
Insert the following onto the page:
 
Insert the following onto the page:
  
 
<pre>{{Place
 
<pre>{{Place
| city =  
+
| city=
| neighborhood =  
+
| neighborhood=
| website =  
+
| website=
| street =  
+
| street=
| latlong =  
+
| latlong=
 +
| placecat=
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 07:42, 7 May 2024

Insert the following onto the page:

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