Difference between revisions of "Template:Coord"
(now many ways are there to say inline or title? :P) |
m (1 revision imported) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#invoke:Coordinates|coord}}< | + | <includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude> |
− | + | <noinclude>{{High use}} | |
− | + | <div style="border: 2px solid black; background-color:wheat; margin:4px;padding:4px;"> | |
− | + | '''<big>Documentation: Coord</big>''' | |
− | + | ||
− | + | The coord template embeds Google Maps KML placemark data into the page. In most cases this is already included in the infobox template so there is no need to use it on its own. | |
− | + | ||
− | + | This allows a road's special features to be plotted in a KML file and exported into a map that supports KML files, including embedded maps in the Wiki. | |
− | + | ||
− | + | To use this template, copy the code below, replacing anything within <tags> as appropriate. | |
− | + | <div style="border: 1px dashed black; background-color:white; margin:2px;padding:4px;font-family:Courier,system;"> | |
− | + | <nowiki>{{Coord| <lat> | <lon> | <label> }}</nowiki> | |
− | + | </div> | |
− | + | '''<lat>''' - The latitude of the point<br/> | |
− | + | '''<lon>''' - The longitude of the point<br/> | |
− | + | '''<label>''' - The label of the point<br/> | |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | </noinclude><includeonly></includeonly> | |
− | </noinclude> |
Latest revision as of 01:04, 28 December 2020
This template is used on approximately 1,240,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
Documentation: Coord
The coord template embeds Google Maps KML placemark data into the page. In most cases this is already included in the infobox template so there is no need to use it on its own.
This allows a road's special features to be plotted in a KML file and exported into a map that supports KML files, including embedded maps in the Wiki.
To use this template, copy the code below, replacing anything within <tags> as appropriate.
{{Coord| <lat> | <lon> | <label> }}
<lat> - The latitude of the point
<lon> - The longitude of the point
<label> - The label of the point