Template:Location/ExternalLink: Difference between revisions

Jump to navigation Jump to search
m
Doc style
(+Flightgear map server)
m (Doc style)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
|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>
{{Informative template|1=
Input Parameters:
__NOTOC__
# <nowiki>{{{1}}}</nowiki> - name of external website: GoogleMap (aka GM), GoogleEarth (aka GE), Proximityrama (aka PR), OpenStreetMap (aka OSM)etc.
== Goal ==
# <nowiki>{{{2}}}</nowiki> - name of the globe: earth, mars, moon
This template is used for formatting external links to mapping websites. Used by {{tl|location/layout}}.
# <nowiki>{{{3}}}</nowiki> - latitude
 
# <nowiki>{{{4}}}</nowiki> - longitude
== Usage ==
# <nowiki>{{{5}}}</nowiki> - language code: en, pl, de, etc.
<nowiki>{{</nowiki>'''Location/ExternalLink'''<nowiki>|</nowiki>website<nowiki>|</nowiki>celestial body<nowiki>|</nowiki>latitude<nowiki>|</nowiki>longitude<nowiki>|</nowiki>language code<nowiki>|</nowiki>link text<nowiki>}}</nowiki>
# <nowiki>{{{6}}}</nowiki> - Link text
 
; website:  Either of:
:* '''Flightgear Mapserver FGFS'''
:* '''GoogleEarth''' or '''GE'''
:* '''GoogleMap''' or '''GM'''
:* '''Proximityrama''' or '''PR'''
:* '''OpenStreetMap''' or '''SM'''
 
; celestial body:  Either of '''earth''', '''mars''' or '''moon'''.
 
; latitude:  The latitude of the point in decimal degrees.
 
; longitude:  The longitude of the point in decimal degrees.
 
; language code:  Two letter [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 language code], for example '''en''' or '''fr'''.
 
; link text:  The text that will be shown as the link.
 
[[Category:Formatting templates]]
}}
</noinclude>
</noinclude>

Navigation menu