Template talk:Language

From ChoralWiki
Revision as of 13:40, 23 August 2010 by CHGiffen (talk | contribs) (→‎Category:Macaronic texts: reply ... category created and is activated by the Text template)
Jump to navigation Jump to search

Sort key

Please could any of the admins edit this template to allow for a "ninth" optional sort key parameter? I believe we'd have to add the code in red for each "Category:Works in" (not sure):

[[Category:Works in {{{5}}}|{{{9|{{PAGENAME}}}}}]]

We'd use it like this:

{{Language|Galician|9=Que pasa o redor de min}}

Thanks! -- CarlosTalk 13:59, 30 April 2008 (PDT)

Hi Carlos. I see you've already noticed how I made Template:Lang have the requested property already - I should have done the same for the present template (since Lang has always been intended as a shorthand for Language). At the time I changed the other template, I was very busy and forgot to change this one to match ... it has beed done, now. -- Chucktalk Giffen 14:09, 30 April 2008 (PDT)
Hi Chuck! Wow, what a coincidence! Can you believe I hadn't seen yet your changes to Template:Lang! We even thought of the same parameter number, LOL! I made the suggestion because right now I am editing ¿Qué pasa ó redor de min? (Adrian Cuello) and noticed the need of sort keys. Thanks for the ultra fast reply. CarlosTalk 14:30, 30 April 2008 (PDT)

Categories Works in language

When this template is applied to a work page, it categorizes the page in categories "Works in language", one for each of the languages specified in the template. I propose that these categories be hidden in the bottom of the work page (by just adding HIDDENCAT to the template), because these categories are already linked to from the names of the languages themselves (Language: English). Any objection? —Carlos Email.gif 19:12, 2 May 2009 (UTC)

Hummm, forget about the above, it wouldn't work. The magic word HIDDENCAT has to be placed inside the categories themselves, not in this template! —Carlos Email.gif 18:09, 3 November 2009 (UTC)

Category:Macaronic texts

Where would one find works using '2' as the first parameter? Latin & German describes Via Crucis (Franz Liszt) pretty well, but is less useful for Psallite, unigenito (Singt und klingt) (Michael Praetorius) or In dulci jubilo, unless one remembers to resort to the multi-category search. Richard Mix 07:54, 23 August 2010 (UTC)

Good point. I've modified the Text template so that, if it is used in the form
{{Text|2|Lang1|Lang2}}
or
{{Text|3|Lang1|Lang2|Lang3}}

then it categorizes the page in Macaronic texts. I think it would be unwise to have the Language template do this, since it is also used to describe the different languages represented in various (translated) editions. – Chucktalk Giffen 13:39, 23 August 2010 (UTC)