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
m
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  = {{#switch: {{{2|}}}|[ 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 05:39, 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