Difference between revisions of "Template:Place"
m |
m |
||
Line 3: | Line 3: | ||
{{#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}}}]]}} | ||
{{#if:{{{website|}}}|:[{{{website}}} Web site]}} | {{#if:{{{website|}}}|:[{{{website}}} Web site]}} | ||
− | {{#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}}|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:{{{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}}|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|}}}|[[latlong::{{{latlonghidden}}}| ]]}} |
<noinclude> | <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= |
+ | | latlonghidden= | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |