Difference between revisions of "Template:Location/ExternalLink"
From Self-sufficiency
m (Protected Template:Location/ExternalLink: High traffic page ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
m (1 revision from commons:Template:Location/ExternalLink) |
||
(2 intermediate revisions by 2 users 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:// | + | |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}}} - name of external website: GoogleMap (aka GM), GoogleEarth (aka GE), Proximityrama (aka PR), OpenStreetMap (aka OSM)etc.
- {{{2}}} - name of the globe: earth, mars, moon
- {{{3}}} - latitude
- {{{4}}} - longitude
- {{{5}}} - language code: en, pl, de, etc.
- {{{6}}} - Link text