From CruisersWiki
(Difference between revisions)
|
|
Line 21: |
Line 21: |
| --></includeonly><noinclude> | | --></includeonly><noinclude> |
| | | |
- | TEST
| + | An axillary template to produce coordinates and a chartlet link for [[Template:Poi]], [[Template:Infobox]] and similar. |
- | <!--
| + | |
| | | |
- | This template produces a link to a list of map sources, based on the geographical coordinates and other parameters, and provides a standardized notation for the coordinates.
| |
- |
| |
- | The template is for geographical latitude and longitude coordinates on Earth, expressed in degrees and minutes.
| |
- |
| |
- | == Usage ==
| |
- |
| |
- | '''[[Template:Coord]] style:'''
| |
- | <nowiki>{{</nowiki>Poi coord|''DD''|''M.M''|''N/S''|''DD''|''M.M''|''E/W''|}}
| |
- |
| |
- | Example:
| |
- | <pre><nowiki>
| |
- | {{Poi coord|37|43.6|N|26|50.6|W}}
| |
- | {{Poi coord|37|43.6|N|26|50.6|W|noicon=yes}}
| |
- | {{Poi coord|37|43.6|N|26|50.6|W|nocoord=yes}}
| |
- | {{Poi coord}}
| |
- | </nowiki></pre>
| |
- |
| |
- | Gives:
| |
- | :{{Poi coord|37|43.6|N|26|50.6|W}}
| |
- | :{{Poi coord|37|43.6|N|26|50.6|W|noicon=yes}}
| |
- | :{{Poi coord|37|43.6|N|26|50.6|W|nocoord=yes}}
| |
- | :{{Poi coord}}
| |
- |
| |
- |
| |
- | '''Lat, Lon style:'''
| |
- | <pre><nowiki>
| |
- | {{Poi coord|lat=-10.123456789|lon=-2.987654321}}
| |
- | {{Poi coord|lat=-10.123456789|lon=-2.987654321|noicon=yes}}
| |
- | </nowiki></pre>
| |
- |
| |
- | Gives:
| |
- | :{{Poi coord|lat=-10.123456789|lon=-2.987654321}}
| |
- | :{{Poi coord|lat=-10.123456789|lon=-2.987654321|noicon=yes}}
| |
- |
| |
- | [[Category:Templates|Poi coord]]
| |
- | -->
| |
| </noinclude> | | </noinclude> |
Revision as of 15:30, 1 March 2016
An axillary template to produce coordinates and a chartlet link for Template:Poi, Template:Infobox and similar.