Difference between revisions of "Template:Location"

From Peace Corps Wiki
Jump to: navigation, search
m (13 revisions)
 
(5 intermediate revisions by 2 users not shown)
Line 48: Line 48:
  
  
<div style="width: 300px; height: 300px; clear:right; float:right; margin:0 0 2em 1em;word-wrap:break-word;"><div class="thumbinner">{{#semantic_google_map:{{{Coordinates}}}|13|G_NORMAL_MAP|GLargeMapControl|pmap|290|290}}
+
<div style="width: 300px; height: 300px; clear:right; float:right; margin:0 0 2em 1em;word-wrap:break-word;"><div class="thumbinner">{{#display_map:{{{Coordinates}}}|service=openlayers}}
 
<div class="thumbcaption" style="width:280px;font-size: 85%;">{{PAGENAME}}<br />([[Location Coordinates::{{{Coordinates}}}]])</div></div></div>
 
<div class="thumbcaption" style="width:280px;font-size: 85%;">{{PAGENAME}}<br />([[Location Coordinates::{{{Coordinates}}}]])</div></div></div>
 
[[Category:Location]]
 
[[Category:Location]]

Latest revision as of 13:38, 21 May 2014

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}}

http://semantic-mediawiki.org/wiki/Type:Geographic_coordinate