Difference between revisions of "Template:Place"

From Transit.Wiki
m
m
Line 1: Line 1:
 
{{#if:{{{latlong|}}}|[[latlong::{{{latlong}}}| ]] <div class="map">{{#display_point:coordinates={{{latlong}}}|zoom={{{mapzoom|15}}}|width=400|height=400|controls=small, type, scale}}
 
{{#if:{{{latlong|}}}|[[latlong::{{{latlong}}}| ]] <div class="map">{{#display_point:coordinates={{{latlong}}}|zoom={{{mapzoom|15}}}|width=400|height=400|controls=small, type, scale}}
 
</div>}}
 
</div>}}
{{#if:{{{city|}}}|'''City:''' [[City::{{{city}}}]]&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}}}]]}}
 
{{#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}}}}

Revision as of 10:39, 9 May 2010


Directions to and from Place

Insert the following onto the page:

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