Template talk:Disambig

From ChoralWiki
Jump to: navigation, search

Distinguish

Do we have something like the WP w:template:Distinguish? I recall seeing some text like "Not to be confused with" at the top of some pages. Benedictus sit Deus (Giovanni Pierluigi da Palestrina) and Benedicta sit (Giovanni Pierluigi da Palestrina) are the candidates this time. Richard Mix (talk) 21:39, 10 April 2016 (UTC)

It looks like there are many more similar cases: [1] But I don't remember seeing such a template around here. Notice that usually this info is added to the Title or Description fields. Do you think it would be preferable to have it at the top? —Carlos (talk) 01:26, 11 April 2016 (UTC)
I always add it in the title 'field' but remember older pages that put it at the top (can't find an example any more). Title: seems the more logical to me, but won't there eventually be a title template that would include other parameters like alt-title, catalog-no, incipit, disambig, excerpt-from &c? Richard Mix (talk) 20:52, 11 April 2016 (UTC)
Hmmm, isn't it maybe the template {{For}} the one you have seen, used at the Ave Marias by des Prez?
Never thought of a Title template before, but it sounds like a good idea for future developments! Adding it to the list. :) —Carlos (talk) 06:15, 12 April 2016 (UTC)

Categorization

I noticed Hassler among Disambiguation of works instead of Category:Disambiguation of names and eras. Shouldn't the parent Category:Disambiguation be the default, with an optional argument for the subcategories Dab of works, Dab of publications, Dab of texts? Richard Mix (talk) 19:44, 8 October 2019 (UTC)

Hi Richard. By default, this template only categorizes pages under Category:Disambiguation if the title explicitly contains the string "(disambiguation)". Everything else is considered a "work", that's why Hassler ended up under Disambiguation of works. Changing the template's behaviour is not so simple. How can it distinguish between a surname and a work, for instance? We can add a parameter to force it to do what we expect, however. Regarding Hassler, the solution currently adopted at CPDL is to make it a redirect to the most prominent Hassler, and the disambiguation stays at Hassler (disambiguation). What about it? —Carlos (talk) 16:53, 9 October 2019 (UTC)
I think I see: (disambiguation) needs to be added to all name pages, publication pages (like Harmonia Sacra) and text pages (Tota pulchra es to Tota pulchra es (disambiguation) seems a little inelegant), and we presume anything else is a work? But wouldn't it be simpler to let the template just supply the present banner and have categories hand-added, as they are for a lot of non-templated pages already? Richard Mix (talk) 22:17, 9 October 2019 (UTC)
Richard, I have made a couple of improvements (hopefully) to the template. Please refer to its brand new documentation for the new options. Regards, —Carlos (talk) 05:40, 11 October 2019 (UTC)
Thanks for the tweeks, and for beating me to the pages needing cleanup too! Richard Mix (talk) 08:38, 12 October 2019 (UTC)