This is the talk page for discussing improvements to the Coord template. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14Auto-archiving period: 300 days ![]() |
![]() | Template:Coordispermanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to multiple WikiProjects. | ||||||||||||||
|
![]() | To help centralise discussions and keep related topics together, all sub-template talk pages redirect here. |
![]() | This template was nominated for merging. Please review the prior discussions if you are considering re-nomination:
|
|
||||||||||||||
This page has archives. Sections older than 300 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Related pages |
---|
|
Greetings and felicitations. At what point does the size of the population stop mattering? I have been generally ignoring populations smaller than 10,000 and just entering the unmodified "city" parameter—is this correct? —DocWatson42 (talk) 07:01, 27 May 2023 (UTC)[reply]
Some users want to see it all the time on mobile!
Somebody made a value judgment, that the most important part of a page in my opinion was the least important part of a page in their opinion.
Now mobile users, have to in their browsers, switch to desktop mode, just to get a link to the coordinates, if indeed they can still find it, on the microscopic pages seen in browsers' desktop modes.
And... they also need to dig the "m."out of the URL to get off the mobile site.
All in an effort by the designers to save one line of the users' screens. But that assumes that there's something more valuable on all the other lines of an article, requiring this one line to get sacrificed, for some reason. Jidanni (talk) 17:29, 6 October 2023 (UTC)[reply]
|display=inline,title
exactly for this reason. There isn't enough place to put all information that people might potentially be interested in at the top of an article. It's better to bring examples and then study them to see how the articles can be improved.Since adding OpenHistoricalMapto{{GeoTemplate}} back in 2021, I've found this link to be helpful for navigating to the relevant location in OHM, just as with the OSM link below it, but it would be a lot more useful if it could automatically set the date according some date specified by this template. For example, if a reader follows the {{coord}} link in Heinlenville, then follows the "OpenHistoricalMap" link, OHM should be set to the former neighborhood's coordinates and a time period during which it flourished. This way the reader can see the place in context, rather than merely the memorials to it that exist today.
OHM supports the following URL query parameters, which {{coord}} and {{GeoTemplate}} could plumb through:
date
1903-12-12
.daterange
1887-05-04,1949-05
. The reader can click a button to animate the map from the start date to the end date.{{GeoTemplate}} lists one other map provider that supports date filtering, Old Maps Online:
date_from
1887
.date_to
1949
.and one other tool, SunriseSunset.com:
month
5
.year
1949
.There are some additional minor date-sensitive sites if you follow the "more maps" link in the OpenStreetMap row.
Would there be interest in adding date:
, start_date:
, and end_date:
coordinate parameters to this template? I realize it's a bit of an unusual request, since neither WikiMiniAtlas nor any of the other GeoHack-listed map providers is date-sensitive. But Template:Coord#Coordinate parameters cites Wikimaps as the reason for coordinate parameters in the first place, and OHM is the main outcome of the Wikimaps initiative all these years later.
– Minh Nguyễn 💬 22:02, 24 October 2023 (UTC)[reply]
Greetings and felicitations. The section title is awkward, but I can't think of a better way to phrase it. In particular with cities (and other larger areas), what coordinates should I use—the geographic center of the area in question, or the business district/center of activity? —DocWatson42 (talk) 04:06, 29 October 2023 (UTC)[reply]
So hard to believe this has been broken, and not fixed, but perhaps this is a new symptom?
In page Tenagra Observatories the infobox mentions two *different* physical locations within the 'same' observatory organization. The infobox uses the {{Coord}} template twice to show the two different locations on maps. Two maps are displayed, but the location red dots are in the same location in both maps.
The parameters in the second {{Coord}} invocation are ignored. It is very suspicious that the wikidata item for the page Q115907980 Tenagra Observatories duplicates the parameters of the first {{Coord}} invocation, and seems to be substituted for the parameters of the second / both {{Coord}} invocations? That is, wikidata parameters are overriding all {{Coord}} invocations in a page.
Mentions of wikidata within Template:Coord documentation include:
But none of these should apply as location arguments are given, qid= is not, and the invocation is {{Coord}}.
Is there an easy way to search for more article pages that use {{Coord}} multiply? To discover whether the problem is uniquely seen in this page?
Is this another instance of wikidata and "two steps forward, one step backward"? Shenme (talk) 03:25, 14 November 2023 (UTC)[reply]
Hi there we got a bug report phab:T352706 about page previews not showing for links like Arkansas.
Generally we recommend moving such meta data below the lead section/bottom of the article but another approach would be to add the noexcerpt class to the element per mw:Extension:Popups#How_can_I_remove_content_from_a_page_preview?.
Thanks in advance for your help. Jdlrobson (talk) 23:19, 4 December 2023 (UTC)[reply]
I've seen {{coord}} with and without a blank line before it, and came to the doc to see if there was any guidance on that, but didn't find any, nor did I easily find anything in the talk archives.
So out of curiosity, and my own weird version of fun, I decided to see which format is more prevalent. I got as many mainspace-transcluded pages as I could - 1,000,000. Then, I threw away any pages where no {{coord}} started on a new line - i.e. failed to match \n *{{\s*coord\s*[\|}]
(after bypassing all redirects), which left 261,175 pages. Of these:
\n\s*\n\s*{{\s*coord\s*[\|}]
), andTo me, this result makes sense, since {{coord}} is usually sandwiched between navs and DEFAULTSORT/cats, so it doesn't belong abutting either.
So, given the clear preference for a blank line before, and to prevent editors from going back and forth between styles (not that I've looked for, nor seen that, but it's plausible), is it worth adding this to the documentation as (lightly?) suggested usage? ~ Tom.Reding (talk ⋅dgaf) 19:40, 18 January 2024 (UTC)[reply]
There may be a blank line before it, after it, or both." part (only when at the bottom of the page, and not displayed inline), and changing it to something like "There should usually be a blank line before it and after it", or weaker, since I'm sure there are some exceptions out there. The vast majority of pages I've seen (conservatively, at least 90%) with {{coord}} on the bottom have a blank line after it, and most of the cases where it's missing are due to it being misplaced nearby, like amongst the navs, or between DEFAULTSORT & cats. ~ Tom.Reding (talk ⋅dgaf) 21:15, 18 January 2024 (UTC)[reply]
I propose the following extra parameters for {{coord}}: dim, region, and type, to replace the existing string representation of "dim:xxx_region:yyy_type:zzz". This would have the advantage of being easier to use using standard template mechanics, making this metadata useful, for example, for assigning pages to categories.
This has the disadvantage that it might break some off-wiki tools that perform analysis on coord metadata, but changing those tools to the new syntax should be trivial: a matter of changing a couple of regular expressions.
As we move toward closer integration with Wikidata, it would also be useful to tag coord templates with a source parameter. Values for this parameter might be "wikidata", "GNS", "GNIS" or possibly other values. This would initially be purely a tracking parameter, and can be ignored by the template logic, but it provides a place to stash away metadata, and provide a hook for future expansion if need be. — The Anome (talk) 19:10, 7 February 2024 (UTC)[reply]
|type:railwaystation_region:GB-OXF
. --Redrose64 🌹 (talk) 21:46, 8 February 2024 (UTC)[reply]I also propose a qid parameter to allow the specification of a Wikidata QID for a {{coord}} template.
For most pages the Wikidata QID will be that of the linked Wikidata entity for that page and so the qid parameter would be redundant and should be omitted, but there is one very important case where a QID parameter would be very useful, and that is the use of {{coord}} to refer to multiple, identifiable objects that do not by themselves meet the Wikipedia notability threshold, but do meet Wikidata's criteria for inclusion.
A good example are the lists of listed buildings like Grade I listed buildings in Devon. Each entry in that article refers to an individual building that appears in authoritative databases that make it worthy of a Wikidata entry: linking the {{coord}} for that entry to a corresponding QID provides a way to link these between the Wikipedia and Wikidata domains, opening up the way to closer cross-wiki integration at a later date. — The Anome (talk) 19:10, 7 February 2024 (UTC)[reply]
Since we are encouraging people to use GeoGroup, can we get it fixed as it is not working at all, just hangs when you try to display all the coords. Kerry (talk) 23:23, 22 February 2024 (UTC)[reply]
The coordinates icon is not displaying very well in the new upcoming night theme: https://phabricator.wikimedia.org/F54691215 Example: https://en.wikipedia.org/wiki/Phoenix,_Arizona?vectornightmode=1&useskin=vector-2022
Is it perhaps time to update this icon, perhaps to one of the map icons in https://doc.wikimedia.org/codex/latest/icons/all-icons.html ? 🐸 Jdlrobson (talk) 04:55, 31 May 2024 (UTC)[reply]