Jump to content

Template talk:Coord

Page contents not supported in other languages.
Coordinates: 11°22′N 126°22′E / 11.367°N 126.367°E / 11.367; 126.367
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by DMcMPO11AAUK (talk | contribs) at 18:56, 15 September 2011 (→‎add display category "section": new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

To add the same check for minutes >=60 as in Template:Coord/input/dms, I'd like to make the following change [1]. -- User:Docu

Mapping services

[Moved to Template talk: GeoTemplate#Mapping services. The map links are in that template]

globe:vesta

With DAWN now in orbit around Vesta, I'm thinking we'll soon have a raft of named features (with coordinates) appearing in articles. Time to add, globe:vesta as a legal parameter, I think. Or should it be globe:4vesta? This might also be a good time to add globe:dactyl, globe:eros, globe:gaspra, globe:ida, globe:itokawa, globe:lutetia, and globe:mathilde — all asteroids with named features. —Stepheng3 (talk) 16:12, 16 July 2011 (UTC)[reply]

Has Dawn been marooned? --Redrose64 (talk) 16:24, 16 July 2011 (UTC)[reply]
The plan is for Dawn to escape after a year or so in orbit. —Stepheng3 (talk) 15:35, 17 July 2011 (UTC)[reply]

Coordinates overwritten in the title line.

A discussion started here and continues here, about coordinates being overwritten in the title line. Stepheng3 mentioned Wikipedia:Database reports/Articles containing overlapping coordinates as being partial solution. Many articles transclude infoboxes that use {{Infobox coord}} that might no be included in that report. I thinking that, if all the sub-templates, such as {{Coord/display/inline,title}}, which write to the title line, were to generate an identifiable HTML comment in the article markup, then the problem could be traced using a regular expression. –droll [chat] 04:43, 29 July 2011 (UTC)[reply]

The database report page says that it checks for "Articles that contain {{Coord/display/inline,title}} and {{Coord/display/title}}". So is it true that it misses articles that use {{Coord/display/inline,title}} twice? –droll [chat] 06:25, 29 July 2011 (UTC)[reply]
@Droll: yes. —Stepheng3 (talk) 06:44, 29 July 2011 (UTC)[reply]
After some thought, my solution is not possibly. There would have to be something identifiable in the HTML. –droll [chat] 07:16, 29 July 2011 (UTC)[reply]
The title coord uses the ID attribute to position itself. Simply download the HTML and count the instances of id="coordinates" (HTML spec says we can have only one, btw). It's a very simple program and I've done something similar in JavaScript. Now there are 695,341 articles with coordinates, if we checked all at the rate of 1 article/second (not logged in) it would take us 8 days. Workable, but less than ideal when somebody asks to update the list already. — Dispenser 05:57, 1 August 2011 (UTC)[reply]
CatScan equivalent of the DBR. — Dispenser 06:07, 1 August 2011 (UTC)[reply]

Discussion: Manual of Style (road junction lists)

Discussion: Should Manual of Style (road junction lists) advise people to use {{Coord}}, if they are adding coordinates to articles about roads? Please discuss at Sub-section on coordinate templates. Andy Mabbett (Pigsonthewing); Andy's talk; Andy's edits 17:08, 7 August 2011 (UTC)[reply]


Multiple Coord Tags Per Article - Bad Idea?

Having more than one co-ord tag per article, see e.g. Ben Nevis, introduces an intersting problem. Several people, including myself, are building geo-located indexes of wikipedia. We currently have no way of knowing which co-ord tag to use. My scripts ended up using the wrong one, and placing Ben-Nevis into Svalbard area. Should we prefer a new page for the Ben Nevis in Svalbard, to keep 1 coord tag per page? Or should there be some tag on Coord to say "primary"? WillSmith (London) (talk) 17:26, 8 August 2011 (UTC)[reply]

The title coordinates, if any, should be the primary ones, as is the case with Ben Nevis. In order to make use of inline coordinates, you must consider the context in which they occur. —Stepheng3 (talk) 17:55, 8 August 2011 (UTC)[reply]

Type: sport ?

How about a type:sport? We have edu, glacier, landmark, river etc. What would a ice rink be? An public tennis courts? WillSmith (London) (talk) 17:27, 8 August 2011 (UTC)[reply]

The documentation indicates type:landmark for buildings that are neither schools nor railway stations. —Stepheng3 (talk) 17:56, 8 August 2011 (UTC)[reply]

Proposed deletion of template:Shc

Another coordinate template, {{Shc}} has been nominated for deletion. Your input would be welcome. Andy Mabbett (Pigsonthewing); Andy's talk; Andy's edits 17:50, 10 August 2011 (UTC)[reply]

Error with trailing ")"

Resolved

I find that there is an error probably due to this template. In the particular rendering I am using, a set of coordinates enclosed in parentheses displays the final right parenthesis on the following line
... Japanese destroyer Fujinami (11°22′N 126°22′E / 11.367°N 126.367°E / 11.367; 126.367
),[1]

[Clarification inserted later: this is what the display looks like, the source text here is fudged to force this appearance.]

This displays differently in the preview; there is no break in the preview, and the "show location on an interactive map" icon is absent (shortening the line, probably the reason why it doesn't break). A particular version of the article makes this error manifest for me, but it will depend upon user settings. Pol098 (talk) 17:05, 12 August 2011 (UTC)[reply]

It looks fine to me on that page: I note that the above example has been doctored to force a line break. The {{coord}} template has not changed recently, and nor have subtemplates {{coord/display/inline,title}}, {{Coord/input/dm}}, {{Coord/link}}. --Redrose64 (talk) 11:14, 13 August 2011 (UTC)[reply]
Should have said example above is to illustrate what it looks like, not replicate the problem; to do that I gave the article URL. I'm 100% certain that what I describe happened as stated (I repeated it several times, tried editing text, etc.); however when I go to the page now it doesn't break, in fact the coordinates now display at the start of a line. Either something was temporarily awry in my setup which sorted itself out on closing browser and rebooting, or I may have changed some setting. Anyway, nothing to see here. Pol098 (talk) 20:13, 13 August 2011 (UTC)[reply]

About type parameter

Hello, I just like to know if is there a pages for requesting about new types. On the French wikipedia we use the same types than English one. I wonder if there in somewhere a coordination page about types. 87.91.219.55 (talk) 18:33, 25 August 2011 (UTC)[reply]

Sorry that was me Otourly (talk) 20:32, 25 August 2011 (UTC)[reply]

add display category "section"

Sometimes an article has sections for several distinct geographic locations, for example an article about a coalfield might list 3 or 4 collieries, each with a section heading. It might be useful to display the location of each colliery to the right of the section heading line, just as an article relating to a location has it shown to the right of the article heading. At present, the best alternative I can think of is to place the co-ord template in parentheses at the first mention inside the section of the location name. cf Gleision Colliery for an example. Including the co-ord template in the section heading is problematical for TOC generation. DMcMPO11AAUK/Talk/Contribs 18:56, 15 September 2011 (UTC)[reply]