Difference between revisions of "Template:Location/ExternalLink"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:
 
|GoogleEarth|GE    = {{#switch: {{{2|}}}| Earth|E = - [http://toolserver.org/~para/GeoCommons/earth.php?latdegdec={{{3|0}}}&londegdec={{{4|0}}}&scale=10000&commons=1 {{{6}}}] }}
 
|GoogleEarth|GE    = {{#switch: {{{2|}}}| Earth|E = - [http://toolserver.org/~para/GeoCommons/earth.php?latdegdec={{{3|0}}}&londegdec={{{4|0}}}&scale=10000&commons=1 {{{6}}}] }}
 
|Proximityrama|PR  = {{#switch: {{{2|}}}| Earth|E = - [http://toolserver.org/~para/GeoCommons/proximityrama?latlon={{{3|0}}},{{{4|0}}} {{{6}}}] }}
 
|Proximityrama|PR  = {{#switch: {{{2|}}}| Earth|E = - [http://toolserver.org/~para/GeoCommons/proximityrama?latlon={{{3|0}}},{{{4|0}}} {{{6}}}] }}
|OpenStreetMap|OSM  = {{#switch: {{{2|}}}| Earth|E = - [http://www.openstreetmap.org/index.html?mlat={{{3|0}}}&mlon={{{4|0}}}&zoom=15 {{{6}}}] }}
+
|OpenStreetMap|OSM  = {{#switch: {{{2|}}}| Earth|E = - [http://toolserver.org/~kolossos/openlayers/commons-on-osm.php?zoom=16&lat={{{3|0}}}&lon={{{4|0}}} {{{6}}}] }}
 
}}</span><noinclude>
 
}}</span><noinclude>
 
Template for formating external links to mapping websites. Used by {{tl|location}}. <br>
 
Template for formating external links to mapping websites. Used by {{tl|location}}. <br>

Latest revision as of 20:46, 26 September 2010

Template for formating external links to mapping websites. Used by {{location}}.
Input Parameters:

  1. {{{1}}} - name of external website: GoogleMap (aka GM), GoogleEarth (aka GE), Proximityrama (aka PR), OpenStreetMap (aka OSM)etc.
  2. {{{2}}} - name of the globe: earth, mars, moon
  3. {{{3}}} - latitude
  4. {{{4}}} - longitude
  5. {{{5}}} - language code: en, pl, de, etc.
  6. {{{6}}} - Link text