Difference between revisions of "Template:Location"

From Peace Corps Wiki
Jump to: navigation, search
(New page: [[Has coordinates::{{{Coordinates|}}}|]]{{#if:{{{Coordinates|}}}|{{#semantic_google_map:{{{Coordinates}}}}}}})
m (13 revisions)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Has coordinates::{{{Coordinates|}}}|]]{{#if:{{{Coordinates|}}}|{{#semantic_google_map:{{{Coordinates}}}}}}}
+
<noinclude>
 +
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:
 +
 
 +
<pre>
 +
{{Location
 +
|Coordinates={{#geocode:{{{Site, Region}}},{{{Country}}}}}
 +
}}
 +
</pre>
 +
 
 +
Edit the page to see the template text.
 +
 
 +
{|
 +
| colspan="2" align="center" | '''<big>EXAMPLE:</big>'''
 +
|-
 +
|
 +
<pre>{{Location
 +
|Coordinates={{#geocode:La Libertad, Guayas,Ecuador}}
 +
}}
 +
</pre>
 +
|
 +
{{Location
 +
|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
 +
}}
 +
|}
 +
http://semantic-mediawiki.org/wiki/Type:Geographic_coordinate
 +
 
 +
[[Category:templates]]
 +
[[Category:templates location]]
 +
</noinclude><includeonly>
 +
 
 +
 
 +
 
 +
 
 +
<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>
 +
[[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