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
(+ 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 07: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.