Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Template:Location/ExternalLink"

From FlightGear wiki
Jump to: navigation, search
(Created page with "<span class="plainlinks">{{#switch: {{{1|}}} |GoogleMaps|GM = {{#switch: {{{2|}}} |Mars = [http://www.google.com/mars/#lat={{{3|0}}}&lon={{{4|0}}}&zoom=8 {{{6}}}] |Moon ...")
 
(+direct osm link (and comment actual ref to wikipedia tools (as it's not linked for now))
Line 14: Line 14:
 
|GoogleEarth|GE    = {{#switch: {{{2|}}}| Earth|E = - [{{fullurl:tools:~para/GeoCommons/earth.php|latdegdec={{{3|0}}}&londegdec={{{4|0}}}&scale=10000&commons=1}} {{{6}}}] }}
 
|GoogleEarth|GE    = {{#switch: {{{2|}}}| Earth|E = - [{{fullurl:tools:~para/GeoCommons/earth.php|latdegdec={{{3|0}}}&londegdec={{{4|0}}}&scale=10000&commons=1}} {{{6}}}] }}
 
|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}}}] }}
|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  = {{#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}}}]
 
}}</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 05:35, 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