Template:Location/ExternalLink: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
m (still one space to remove :))
Line 15: Line 15:
|Proximityrama|PR  = {{#switch: {{{2|}}}| Earth|E = - [{{fullurl:tools:~para/GeoCommons/proximityrama|latlon={{{3|0}}},{{{4|0}}}}} {{{6}}}] }}
|Proximityrama|PR  = {{#switch: {{{2|}}}| Earth|E = - [{{fullurl:tools:~para/GeoCommons/proximityrama|latlon={{{3|0}}},{{{4|0}}}}} {{{6}}}] }}
<nowiki><!--|OpenStreetMap|OSM  = {{#switch: {{{2|}}}| Earth|E = - [{{fullurl:tools:~kolossos/openlayers/commons-on-osm.php|zoom=16&lat={{{3|0}}}&lon={{{4|0}}}}} {{{6}}}] }} ==></nowiki>
<nowiki><!--|OpenStreetMap|OSM  = {{#switch: {{{2|}}}| Earth|E = - [{{fullurl:tools:~kolossos/openlayers/commons-on-osm.php|zoom=16&lat={{{3|0}}}&lon={{{4|0}}}}} {{{6}}}] }} ==></nowiki>
|OpenStreetMap|OSM  = [ http://www.openstreetmap.org/#map=10/{{{3|0}}}/{{{4|0}}} {{{6}}}]
|OpenStreetMap|OSM  = [http://www.openstreetmap.org/#map=10/{{{3|0}}}/{{{4|0}}} {{{6}}}]
}}</span><noinclude>
}}</span><noinclude>
Template for formating external links to mapping websites. Used by {{tl|location/layout}}. <br>
Template for formating external links to mapping websites. Used by {{tl|location/layout}}. <br>

Revision as of 10:41, 22 October 2013

Template for formating external links to mapping websites. Used by {{location/layout}}.
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