Template:Coord/doc: Difference between revisions

Jump to navigation Jump to search
clean up
m (1 revision)
 
(clean up)
Line 1: Line 1:
{{Shortcut|WP:COORD}}
{{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:Erioll_world.svg|18px]]) appears to the left of the hyperlink.  Clicking on the globe activates the [[:meta:WikiMiniAtlas|WikiMiniAtlas]] (requires [[JavaScript]]).
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><b>bold, red</b></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.
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_experts#Improving_the_book_layout|substituted for the regular templates]]:
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}}
14,061

edits

Navigation menu