Template:Location/ExternalLink: Difference between revisions
Jump to navigation
Jump to search
(+ Informative template) |
m (Doc style) |
||
Line 27: | Line 27: | ||
== Usage == | == Usage == | ||
<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>{{</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> | ||
; 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]] | [[Category:Formatting templates]] | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 12:34, 16 June 2014
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used for formatting external links to mapping websites. Used by {{location/layout}}.
Usage
{{Location/ExternalLink|website|celestial body|latitude|longitude|language code|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 ISO 639-1 language code, for example en or fr.
- link text
- The text that will be shown as the link.