Template talk:Coor dms/Archive 1
This template produces a link to a list of map sources, based on the geographical coordinates and other parameters, and provides a standardized notation for the coordinates.
The template is for geographical latitude and longitude coordinates on Earth, expressed in degrees, minutes and seconds. See Wikipedia:WikiProject Geographical coordinates for further information.
![]() | Template:Coor dms/Archive 1 is currently protected from editing. To request a change to it, add {{edit protected}} to this page, followed by a description of your request. |
Usage
See Wikipedia:Manual of Style (dates and numbers)#Geographical coordinates.
Quick format reference:
{{coor dms|DD|MM|SS|N/S|DD|MM|SS|E/W|}}
See also
External link symbol
Is there anyway to program this template to eliminate the external link symbol (featuring an arrow coming out of a little box) that follows it? It can cause display problems when the template is used in the body of article text (such as a paragraph) or in an infobox. — Eoghanacht talk 15:23, 9 November 2005 (UTC)
- Yes, see {{ed}} for an example of this. However, it is an external link in this case . . . Srl 02:51, 27 November 2005 (UTC)
Minutes and seconds symbols
I might be incredible old-fashioned, silly or just wrong, but I prefer to use the following symbols for degrees, minutes and seconds:
degrees: ° or ° and not º
minutes: apostrophe or ' and not ´, ′ or &#prime;
seconds: " or " and not “, ″ or &#Prime;
For testing purposes copy and paste to e.g. Google Earth and look at the difference.
Is it possible to implement this in the template for future use.
Gemsbok2 13:00, 6 April 2006 (UTC-1)
The correct HTML entity to use for minutes is ′ or ′
The correct HTML entity to use for seconds is ″ or ″
•DanMS 01:31, 2 December 2005 (UTC)
You are right, but the above symbols seem to create space immediately to their right, which leaves a rather annoying kind of asymmetry. The 180 and 147 symbols did not do this. Do you know how to prevent 2032 and 2033 from doing this, or perhaps most people not care about the asymmetry? Viewfinder 03:00, 2 December 2005 (UTC)
- I don’t see the gap on my computer (Mozilla Firefox on Windows XP, both at home and at work). That could be something unique to a particular browser/operating system, or combination thereof. Have you heard from any other users with the same problem? Try the HTML entities page on my website [1]. You can click on any HTML entity and it will show you the spacing associated with the particular entity. •DanMS 16:49, 2 December 2005 (UTC)
- The coor template does not render in Firefox 1.5 on Mac OS X (10.4). I'm seeing something like: DD°mm________. (It looks fine in Safari on OS X and Firefox 1.5 on Linux.) --Gruepig 07:06, 4 December 2005 (UTC)
Gemsbok2 and DanMS: you have my sympathies, because I suffer from both of the same problems you do, but:
- If Google Earth can't accept the modern Unicode punctuation characters, it needs to be fixed. In fact, I reported this to them, and they replied saying they were aware of the problem, and are going to fix it in a future release.
- The annoying asymmetry is a browser-specific problem. (I see it too, in Firefox 1.5 under OS X 10.4.) Again, not a reason for Wikipedia not to use the correct characters.
I don't understand the problem Gruepig reported -- these templates display fine for me in that environment (well, except for the asymmetrical space). —Steve Summit (talk) 16:24, 9 June 2006 (UTC)
Protected?
Why is this template protected? —Keenan Pepper 05:02, 20 December 2005 (UTC)
- This template doesn't appear at WP:PP.
- "Often used template" is not a legitimate reason for protection. —Keenan Pepper 06:34, 20 December 2005 (UTC)
See Wikipedia:High-risk templates. BTW what would you like to change? -- User:Docu
Dutch
When I click the coor dms link from geographical articles, for instance, from the bottom of Edessa, Greece, it takes me to a Map Sources "special page" with instructions in Dutch, even though this is English Wikipedia. It still works, but the instructions were in English until a few days ago. Art LaPella 19:57, 5 January 2006 (UTC)
- Someone fixed it. Thank you. Art LaPella 00:47, 6 January 2006 (UTC)
- Dutch interwiki: [[nl:Coor dm]] Please add.--Hardscarf 13:22, 6 January 2006 (UTC)
- It is [[nl:sjabloon:Coor dm]]. Please add. (why i can not edit this template??) 82.210.115.114 15:28, 6 January 2006 (UTC)
Line wrapping
Can somebody either unprotect this template, or make the following edit to the source:
[http://kvaleberg.com/extensions/mapsources/index.php?params={{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}}_{{{8}}}_{{{9}}} <span style="white-space:nowrap">{{{1}}}°{{{2}}}′{{{3}}}″{{{4}}}</span>, <span style="white-space:nowrap">{{{5}}}°{{{6}}}′{{{7}}}″{{{8}}}</span>]
This change prevents incorrect line wrapping when viewed using IE - the line can only be broken at the space. For more background to this issue please see:
If this is done we can avoid forking this template with a {{coor dms2}} version that has this modification and it can be put up for WP:TfD. Thanks/wangi 14:28, 6 January 2006 (UTC)
External link image
When viewing under IE if a coor dms splits over two lines then the standard link image is corrupted. Does anyone have a possible solution for this? One option is setting the class to class=plainlinksneverexpand
, but of course this removes the logo completely. Thanks/wangi 14:28, 6 January 2006 (UTC)
- Done.
—Ruud 15:15, 11 April 2006 (UTC)- This change falsifies the status of the external link it produces, making it appear to be an internal lk. This must be promptly and authoritatively justified here to prevent reversion.--21:08, 9 August 2006 (UTC)
Interwiki link to vi:
Please add an interwiki link to the Vietnamese version of this template:
[[vi:Tiêu bản:Coor dm]]
Thanks.
– Minh Nguyễn (talk, contribs) 07:55, 27 February 2006 (UTC)
- Same for Breton please : [[br:Patrom:Dave douar.]], thanks --Fulup 19:23, 5 March 2006 (UTC)
The interwiki link to the Vietnamese version should be changed to:
[[vi:Tiêu bản:Coor dms]]
Thanks. "Coor dm" is actually a different template, equivalent to {{Coor dm}} here.
– Minh Nguyễn (talk, contribs) 09:05, 26 March 2006 (UTC)
spacing
Is there any reason for the spacing between minutes and seconds of arc to be so big?
Spiff 21:53, 16 April 2006 (UTC)
- The spacing between the minutes and seconds looks very strange, and it is making the mountain infobox look ugly.
- Can we please set it back to the way it used to be? hike395 23:14, 10 June 2006 (UTC)
- Looks fine over here. There is no space between the seconds and the minutes, only a prime mark. Could you attach a screenshot? —Ruud 00:42, 11 June 2006 (UTC)
- In my browser -- and I'm sure I'm not alone -- the minute and second marks are (wrongly) displayed in a double-wide cell, giving the appearance of an extra space. This is a browser issue or an OS font issue, not a mediawiki issue. Here are three examples:
- |12°34'56"| (ASCII single and double quote)
- |12°34’56”| (Unicode "typographical" single and double quote)
- |12°34′56″| (Unicode single and double prime, aka minute and second marks)
- In my browser, I see extra spacing in the third form; it looks like
- |12°34'
- |12°34'
- And, of course, it's those single and double prime symbols that this template is (correctly) using.
- Are you using Firefox on a Mac, Spiff? That's what I'm using.
- Unfortunately, we need to live with this until the fonts are fixed; the coor templates are fine and shouldn't be changed.
- —Steve Summit (talk) 04:19, 11 June 2006 (UTC)
- What does it mean "until the fonts are fixed"? Could the template maybe specify a font that's standard across browsers/OSs? -- SatyrTN 17:03, 27 July 2006 (UTC)
Please can Coor dm be edited to match Coor dms?
At present {{Coor dm}} is using the symbol 2032 for the minutes apostrophe, and it doesn't even display in Firefox under Windows. I would like it changed. So {{{1}}}°{{{2}}}′{{{3}}} {{{4}}}°{{{5}}}′{{{6}}} would become {{{1}}}°{{{2}}}′{{{3}}} {{{4}}}°{{{5}}}′{{{6}}}, as is already the case in {{Coor dms}}.
Cheers — SteveRwanda 09:39, 30 April 2006 (UTC)
- Fixed. At least I think so, both worked fine on my computer and I have no idea why didn't work for you, as the two methods should be entierly equivalent? —Ruud 19:29, 30 April 2006 (UTC)
Interwiki links (es / nl) needing changes
I believe the following changes should be made to the interwiki links.
- {{Coor dms}} should link to es:plantilla:Coor_dms
- {{Coor dms}} includes a link to nl:sjabloon:Coor dm
This is wrong. It should link to nl:sjabloon:Coor dms
- {{Coor dm}} should link to nl:sjabloon:Coor dm
- {{Coor dm}} should link to es:plantilla:Coor dm
- {{Coor d}} should link to es:plantilla:Coor d
--David Edgar 10:41, 29 June 2006 (UTC)
- Done. —Ruud 00:31, 14 August 2006 (UTC)
Template appearing on its own line
This template has suddenly started appearing all on its own line in articles. I find it disruptive, but I can't find anything in the template source code that could be causing this. Is this something in the template source code or a bug in Wikipedia? JIP | Talk 17:49, 29 June 2006 (UTC)
Line breaking
![]() | It is requested that the semi-protected page at Template:Coor dms/Archive 1 be created. (edit · history · last · links · transclusion count · protection log) This template must be followed by a complete and specific description of the request, that is, specify what text should be removed and a verbatim copy of the text that should replace it. "Please change X" is not acceptable and will be rejected; the request must be of the form "please change X to Y".
The edit may be made by any autoconfirmed user. Remember to change the |
Further to the section above about the co-ordinates breaking over two lines, can someone get around to implementing this? At the moment, the co-ordinates often break at inconvenient points when breaking over two lines, making it look very strange. Obviously this depends on individual screen resolutions and settings, but an example is Caroline Island where, for me, the break appears like this:
- 9°56′13.13″S
- , 150°12′41.40″W
This just looks weird. Inserting non-breaking spaces at the right points should solve this. Carcharoth 11:23, 13 August 2006 (UTC)
- Sorry, but I've just changed your example article to use {{coor title dms}} instead - seem more appropriate! But I did test adding a nbsp, and it still splits on the space (see User:Wangi/test). Thanks/wangi 12:09, 13 August 2006 (UTC)
- How can you tell if it still spilts on the space? As far as I can tell (by inserting text before it until it reaches the end of the line in my browser), the nbsp has solved the problem. Carcharoth 16:00, 13 August 2006 (UTC)
- Use the page as a template in an article, for example: {{User:Wangi/test|9|56|13.13|S|150|12|41.40|W|}} which will result in wangi 16:05, 13 August 2006 (UTC)
- Spoke too soon... It doesn't! I guess we need to look at puttign the whole lot into a white-space:nowrap span? /wangi 16:09, 13 August 2006 (UTC)
... And it does appear to work - argh - I must have got mixed up earlier! Thanks/
- Use the page as a template in an article, for example: {{User:Wangi/test|9|56|13.13|S|150|12|41.40|W|}} which will result in wangi 16:05, 13 August 2006 (UTC)
I guess you are using Internet Explorer as it works fine in Firefox. I move the comma inside the no-breaking tags, does this fix the problem? Using a non-breaking space will prevent breaking the line entirely, which I don't believe is a wanted side-effect. —Ruud 00:25, 14 August 2006 (UTC)
- I'm satisfied by that. Thanks to both of you for helping out here and responding (presumably) to the "edit protected" template tag I used. Please feel free to replace the tag with the "editprotected review" notice. Carcharoth 08:45, 14 August 2006 (UTC)
Interwiki
Please provide interwiki to Kannada language wikipedia.
[[kn:Template:Coor dms]]
Thanks, - KNM Talk - Contribs 20:57, 13 August 2006 (UTC)
- Done. —Ruud 00:31, 14 August 2006 (UTC)
What is the 9th required entry?
It seems that this template needs 9 entries for the URL, but only 8 for the display of the location. What is this 9th entry for? Mike Peel 09:02, 15 August 2006 (UTC)