Difference between revisions of "Template:Location"

From Peace Corps Wiki
Jump to: navigation, search
(added example and example usage)
Line 23: Line 23:
 
{{Location
 
{{Location
 
|Coordinates={{#geocode:La Libertad, Guayas, Ecuador}}
 
|Coordinates={{#geocode:La Libertad, Guayas, Ecuador}}
 +
}}
 +
|}
 +
 +
{|
 +
| colspan="2" align="center" | '''<big>EXAMPLE 2:</big>'''
 +
|-
 +
|
 +
<pre>{{Location
 +
|Coordinates=16°37'36" N,24°21'07" W
 +
}}
 +
</pre>
 +
|
 +
{{Location
 +
|Coordinates=16°37'36" N,24°21'07" W
 
}}
 
}}
 
|}
 
|}

Revision as of 18:53, 8 May 2009

This is the 'Location' template. It is useful for specifying sites which have the same name within a country or which don't show up on Google maps.

It should be called in the following format:

{{Location
|Coordinates={{#geocode:{{{Site, Region}}},{{{Country}}}}}
}}

Edit the page to see the template text.

EXAMPLE:
{{Location
|Coordinates={{#geocode:La Libertad, Guayas,Ecuador}}
}}



{{#display_map:{{#geocode:La Libertad, Guayas, Ecuador}}|service=openlayers}}
Location
([[Location Coordinates::{{#geocode:La Libertad, Guayas, Ecuador}}]])
EXAMPLE 2:
{{Location
|Coordinates=16°37'36" N,24°21'07" W
}}



{{#display_map:16°37'36" N,24°21'07" W|service=openlayers}}