Template:Location

From Peace Corps Wiki

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision 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">{{#coordinates:{{{Coordinates}}}|dms|yes}}
+
<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 16:40, 10 June 2011

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



Fatal error: The required parameter "coordinates" is not provided.


Location
()
EXAMPLE 2:
{{Location
|Coordinates=16°37'36" N,24°21'07" W
}}



Loading map...
Location
(16° 37' 36" N, 24° 21' 7" WLatitude: 16.626666666667
Longitude: -24.351944444444
)

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

Personal tools
Namespaces
Variants
Actions
Tell Your Friends
Navigation
Peace Corps News
Timelines
Country Information
Groups
Help
About
Toolbox