Difference between revisions of "Template:Locate address inline"

From Bhamwiki
Jump to: navigation, search
m (Fix documentation)
m (Changed category)
Line 28: Line 28:
 
[http://maps.google.com/maps?q=1817+3rd+Ave+N,+Birmingham,+AL&z=15 1817 3rd Ave. N]
 
[http://maps.google.com/maps?q=1817+3rd+Ave+N,+Birmingham,+AL&z=15 1817 3rd Ave. N]
  
[[Category:Bhamwiki_templates]]
+
[[Category:Mapping templates|Locate address inline]]
 
</noinclude>
 
</noinclude>

Revision as of 08:29, 29 November 2006

map



Parameters:

  • address (spaces must be replaced with "+")
  • city (defaults to "Birmingham")
  • state (defaults to "AL")
  • zoom (0-17, recommended 10-16, defaults to 15)
  • text (link text, defaults to "map")

Keep in mind that pointers based on a street address are approximate and occasionally wildly incorrect. You are encouraged to use the "Show preview" button and open the link in a new window or tab to confirm the location displays as desired.

Example:
710 [[20th Street North]] ({{Locate_address_inline | address = 710+20th+St+N }})

Will display:
710 20th Street North (map)

Example:
{{Locate_address_inline
| address = 1817+3rd+Ave+N
| text = 1817 3rd Ave. N
}}

Will display:
1817 3rd Ave. N