Difference between revisions of "Template:Place"
m (Text replacement - "Transit guide to" to "Public transportation guide for") |
|||
(10 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}}}]] }}{{#if:{{{county|}}}|'''County:''' [[In county::{{{county}}}]] }}{{#if:{{{neighborhood|}}}|{{!}} [[Area::{{{neighborhood}}}, {{{city}}}|{{{neighborhood}}}]]}} | {{#if:{{{city|}}}|'''City:''' [[City::{{{city}}}]] }}{{#if:{{{county|}}}|'''County:''' [[In county::{{{county}}}]] }}{{#if:{{{neighborhood|}}}|{{!}} [[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}} | + | <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: | ||
Line 13: | Line 14: | ||
| street= | | street= | ||
| latlong= | | latlong= | ||
− | |||
| placecat= | | 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= }}