14,091
edits
m (1 revision) |
(clean up) |
||
Line 1: | Line 1: | ||
{{Shortcut| | {{Shortcut|SV:COORD}} | ||
{{high-risk|830,000+}} | {{high-risk|830,000+}} | ||
{{lua|Module:Coordinates}} | {{lua|Module:Coordinates}} | ||
Line 23: | Line 23: | ||
The template displays the formatted coordinates with a [[hyperlink]] to [[tswiki:GeoHack|GeoHack]]. GeoHack displays information customized to the location, including links to external mapping services. | The template displays the formatted coordinates with a [[hyperlink]] to [[tswiki:GeoHack|GeoHack]]. GeoHack displays information customized to the location, including links to external mapping services. | ||
For [[Earth|terrestrial]] locations, a blue globe ([[Image: | For [[Earth|terrestrial]] locations, a blue globe ([[Image:Erioll world.svg|18px]]) appears to the left of the hyperlink. Clicking on the globe activates the [[:meta:WikiMiniAtlas|WikiMiniAtlas]] (requires [[JavaScript]]). | ||
By default, coordinates appear "in line" with the adjacent text. However, the <code>display=</code> parameter can be used to move the coordinates up near the page title—or display them in both places at once. | By default, coordinates appear "in line" with the adjacent text. However, the <code>display=</code> parameter can be used to move the coordinates up near the page title—or display them in both places at once. | ||
Line 190: | Line 190: | ||
==Incorrect uses and maintenance category== | ==Incorrect uses and maintenance category== | ||
The template has some input checks built in. Most errors display a <font color=red> | The template has some input checks built in. Most errors display a <font color=red>'''bold, red'''</font> message inline and categorize the article in the [[Wikipedia:Hidden category|hidden]] [[Wikipedia:Categorization#Non-article and maintenance categories|maintenance category]] '''[[:Category:Pages with malformed coordinate tags|Pages with malformed coordinate tags]]'''. There {{#IFEQ:{{PAGESINCATEGORY:Pages with malformed coordinate tags}}|1|is currently '''1''' page|are currently '''{{PAGESINCATEGORY:Pages with malformed coordinate tags}}''' pages}} in that category. See the category description for further instructions. | ||
A more thorough daily report of coordinates needing repair is at [[tools:~dispenser/view/File viewer#log:coord-enwiki.log]]. | A more thorough daily report of coordinates needing repair is at [[tools:~dispenser/view/File viewer#log:coord-enwiki.log]]. | ||
Line 203: | Line 203: | ||
===Coordinates in PDF=== | ===Coordinates in PDF=== | ||
For generating PDF, printed books, and Open Office export format, two templates are [[Help:Books/ | For generating PDF, printed books, and Open Office export format, two templates are [[Help:Books/for experts#Improving the book layout|substituted for the regular templates]]: | ||
*[[Template:Coord/display/title/Print]] for {{tl|Coord/display/title}} | *[[Template:Coord/display/title/Print]] for {{tl|Coord/display/title}} | ||
*[[Template:Coord/link/Print]] for {{tl|Coord/link}} | *[[Template:Coord/link/Print]] for {{tl|Coord/link}} |