Difference between revisions of "Template:Place"
m |
|||
Line 1: | Line 1: | ||
− | {{#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}} |
</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}}}}{{#if:{{{latlonghidden|}}}|{{#vardefine:latlonghidden|{{{latlonghidden}}}}}[[area latlong::{{{latlonghidden}}}| ]]}}</div>{{#description2:Transit guide to {{PAGENAME}}, located in {{{city|{{{county|}}}}}}. Bus routes and more to {{PAGENAME}}...}}<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}}}}{{#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> |
Insert the following onto the page: | Insert the following onto the page: | ||
Line 14: | Line 14: | ||
| latlong= | | latlong= | ||
| latlonghidden= | | latlonghidden= | ||
+ | | placecat= | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 13:48, 7 December 2019
Insert the following onto the page:
{{Place | city= | neighborhood= | website= | street= | latlong= | latlonghidden= | placecat= }}