Difference between revisions of "Template:Place"

From Transit.Wiki
m
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<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}}
 
<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}}
 +
<p align="right">{{#Widget:Bikemap|latlong={{{latlong|}}}|pagename={{PAGENAME}}}}</p>
 
</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}}}]]}}
 
<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>
 
<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>
 
<div>{{#if:{{{street|}}}|:{{{street}}}}}</div>
 
<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}}}}{{#if:{{{latlonghidden|}}}|{{#vardefine:latlonghidden|{{{latlonghidden}}}}}[[area latlong::{{{latlonghidden}}}| ]]}}</div>{{#description2:Transit guide to {{PAGENAME}}, located in {{{city|{{{county|}}}}}}. Bus routes and more to {{PAGENAME}}...}}{{#if:{{{placecat|}}}|[[Category:{{{placecat}}}]]}}</includeonly><noinclude>
+
<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:Transit guide to {{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:
  
Line 13: Line 14:
 
| street=
 
| street=
 
| latlong=
 
| latlong=
| latlonghidden=
 
 
| placecat=
 
| placecat=
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 00:34, 23 February 2024

Insert the following onto the page:

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