Template talk:Coor URL/Archive01#Span title

{{talkarchive}}

Discussion of http://tools.wikimedia.de/~magnus/geo/geohack.php

Please see User talk:Magnus Manske/GeoTemplate.

Commments moved there. -- User:Docu

Please add interlanguage: ja:Template:座標URL-- 03:03, 29 September 2006 (UTC)

:Done

Interwiki addition

[[:fi:Malline:Coor URL]] —Ppntori 13:55, 5 November 2006 (UTC)

Interlingua interwiki

Dear administrator, please add the following interwiki:

ia:Patrono:Coor URL

Thank you in advance, Julian Mendez 02:09, 29 December 2006 (UTC)

:Done. The interwikis are on Template:Coor URL/doc, which isn't protected, incidentally. Kirill Lokshin 06:39, 29 December 2006 (UTC)

Span title

I would suggest that span titles (mouseover text) be added to either this template or {{t1|Coor dm}}, whichever it would work to add it to. The idea came from a discussion on the help desk a while back about making the coord template more prominent and alluring to those who may not know about all the useful information it holds. I'm not exactly sure how to put it all together, I managed to get something that works (but is probably quite inefficient) by subst'ing both teplates and adding the text to use in the infobox on Mackinac Island.

The code I came up with is

[http://tools.wikimedia.de/~magnus/geo/geohack.php?params=45_51_40_N_84_37_50_W_type:isle 45°51′40″N, 84°37′50″W]

which gives [http://tools.wikimedia.de/~magnus/geo/geohack.php?params=45_51_40_N_84_37_50_W_type:isle 45°51′40″N, 84°37′50″W]

The text to add would have to be a param, but I'm not exactly sure which template to add it in.

Click here for maps, aerial photos... looks much better to me than http://tools.wikimedia.de/~magnus/geo/geohack.php?params=45_51_40_N_84_37_50_W_type:isle

-- Mr.Z-mantalk¢Review! 01:35, 7 March 2007 (UTC)

:Okay, I managed to figure out how to do this. This template will remain the same. The other coor templates will have to be edited.

:Coor dms will have:

:[{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}}_{{{8}}}_{{{9}}} {{{1}}}° {{{2}}}′{{{3}}}″{{{4}}}, {{{5}}}° {{{6}}}′{{{7}}}″{{{8}}}]

:Coor dm will have:

:[{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}} {{{1}}}° {{{2}}}′{{{3}}}, {{{4}}}° {{{5}}}′{{{6}}}]

:Coor will have:

:[{{Coor URL}}{{{1}}} {{{2}}}]

:Coor d will have:

:[{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}} {{{1}}}° {{{2}}}, {{{3}}}° {{{4}}}]

:Coor at d will have:

:[{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}} {{{1}}}° {{{2}}}, {{{3}}}° {{{4}}}]Coordinates: [{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}} {{{1}}}° {{{2}}} {{{3}}}° {{{4}}}]

:Coor at dm will have:

:[{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}} {{{1}}}°{{{2}}}′{{{3}}} {{{4}}}°{{{5}}}′{{{6}}}]Coordinates: [{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}} {{{1}}}°{{{2}}}′{{{3}}} {{{4}}}°{{{5}}}′{{{6}}}]

:Coor at dms will have:

:[{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}}_{{{8}}}_{{{9}}} {{{1}}}°{{{2}}}′{{{3}}}″{{{4}}}, {{{5}}}°{{{6}}}′{{{7}}}″{{{8}}}]Coordinates: [{{Coor URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}}_{{{7}}}_{{{8}}}_{{{9}}} {{{1}}}°{{{2}}}′{{{3}}}″{{{4}}}, {{{5}}}°{{{6}}}′{{{7}}}″{{{8}}}]

:The coor title series will not have to be edited as they call the corresponding template from the coor series. The above is a modification of the existing templates, so these can be copy and pasted, replacing the existing text up to the {{t1|protected template}}. I've tested these all in my userspace (at User:Mr.Z-man/template1 and User:Mr.Z-man/Sandbox) and they all work. Instead of giving the URL in the span title, they now give the following string:"Click here for maps, aerial photos, and other data about {{PAGENAME}}" and PAGENAME expands to the name of the article, so the changes will be made without adding any extra params or editing any other articles. Mr.Z-mantalk¢Review! 21:38, 7 March 2007 (UTC)

Thanks, I've made the changes, with minor modifications: (0) closing </span> fixes, (1) I didn't use "Click here" since that's redundant, and (2) I wrote "about (coordinate)" rather than "about {PAGENAME}", since at least the non-title versions could be used for coordinates other than the subject named by the page. The {coor at} templates don't seem to work; can't figure out why. Quarl (talk) 2007-03-08 09:30Z

::: Mr.Z-man pointed out my typo with the {Coor at} templates, now fixed! Quarl (talk) 2007-03-08 21:50Z

:P.S. this was a huge pain to do multiple times and the templates are all out of sync with each other. Whose idea was it to un-refactor them from {coor} ? :) Quarl (talk) 2007-03-08 09:31Z

Hi, thanks for adding the tool tips. It's definitely an improvement. However it strikes me every time I see it that having the coordinates repeated in the tool-tip makes the tool-tip too complex and un-user-friendly. I think replacing them with simply "this location" would be an improvement in all cases. The tool-tip would be adding explanation / simplifying language as is its primary purpose. --GregU 19:16, 11 March 2007 (UTC)

:"this location" should do. -- User:Docu

::I added the updates needed for Template:Coor d, Template:Coor dm, Template:Coor dms to Template talk:Coor dms. -- User:Docu

:::Thanks Docu, this still bothers me. --GregU 14:54, 5 July 2007 (UTC)