Template:Location/ExternalLink: Difference between revisions
Jump to navigation
Jump to search
(+Flightgear map server) |
(+ Informative template) |
||
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> | ||
{{Informative template|1= | |||
__NOTOC__ | |||
== Goal == | |||
This template is used for formatting external links to mapping websites. Used by {{tl|location/layout}}. | |||
== 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> | |||
=== Parameters === | |||
* <tt>'''website'''</tt>: Either of: | |||
** <tt>Flightgear Mapserver</tt> or <tt>FGFS</tt> | |||
** <tt>GoogleEarth</tt> or <tt>GE</tt> | |||
** <tt>GoogleMap</tt> or <tt>GM</tt> | |||
** <tt>Proximityrama</tt> or <tt>PR</tt> | |||
** <tt>OpenStreetMap</tt> or <tt>SM</tt> | |||
* <tt>'''celestial body'''</tt>: Either of <tt>earth</tt>, <tt>mars</tt> or <tt>moon</tt> | |||
* <tt>'''latitude'''</tt>: The decimal latitude of the point | |||
* <tt>'''longitude'''</tt>: The decimal longitude of the point | |||
* <tt>'''language code'''</tt>: Two letter [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639‑1 language code], for example <tt>en</tt> or <tt>fr</tt> | |||
* <tt>'''link text'''</tt>: The text that will be shown as the link | |||
[[Category:Formatting templates]] | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 13:32, 27 October 2013
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}}
Parameters
- website: Either of:
- Flightgear Mapserver or FGFS
- GoogleEarth or GE
- GoogleMap or GM
- Proximityrama or PR
- OpenStreetMap or SM
- celestial body: Either of earth, mars or moon
- latitude: The decimal latitude of the point
- longitude: The decimal longitude of the point
- 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