Difference between revisions of "Template:Place"
m |
|||
Line 2: | Line 2: | ||
</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>{{#if:{{{website|}}}| | + | <div style="margin-left: 1.5em;">{{#if:{{{website|}}}|[{{{website}}} Web site]|[https://duckduckgo.com/?q={{urlencode:{{PAGENAME}} {{{city|{{{county|}}}}}}}} Web search 🔍]}}</div> |
− | |||
<div>{{#if:{{{street|}}}|:{{{street}}}}}</div> | <div>{{#if:{{{street|}}}|:{{{street}}}}}</div> | ||
<div>{{#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}}...}} | <div>{{#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}}...}} |
Revision as of 22:45, 21 November 2019
Insert the following onto the page:
{{Place | city= | neighborhood= | website= | street= | latlong= | latlonghidden= }}