Template talk:LinkText

From ChoralWiki
Jump to navigation Jump to search

Extending this template

Would it be possible for someone to extend this template to handle more than one text page, so that the code on this page displays correctly? Some score pages require links to up to 3 different text pages so the template should be able to handle that. TIA! --Bobnotts talk 22:39, 23 January 2009 (UTC)

Done. -- Chucktalk Giffen 05:09, 25 January 2009 (UTC)
Thanks Chuck - that's perfect. --Bobnotts talk 14:28, 25 January 2009 (UTC)

Italics

Could someone please alter this template to allow the user to choose whether or not to italicise the link to the text page, as is possible with Template:LnkTxt? TIA --Bobnotts talk 08:24, 30 April 2009 (UTC)

Reply by: Chucktalk Giffen 14:32, 30 April 2009 (UTC)

 Help 

Actually, when I extended the template to handle up to 3 text page links with a default behavior that every link would be in italics, except those to pages whose titles begin with "Psalm", I also added the facility to specify explicitly whether each (or all) links would be in italics or not ... but I simply did not include it in the documentation. I'm fixing that now.

I do think that, generally, Latin titles should be italicized and others not. It would be good to adopt some sort of guidelines, for the sake of uniformity.

I have the impression that on Wikipedia all non-English texts are italicized. I particularly like this approach, but will leave the decision to you anglophones. —Carlos Email.gif 15:07, 30 April 2009 (UTC)
I could go with that, Carlos.
While we are at it, there is a wide variance of the choice of italic or plain typeface for the texts and translations that appear on ChoralWiki. For examples, see Ave Maria (mixed, with no pattern), Pie Jesu (all plain), Conditor alme siderum (mixed), O magnum mysterium (text plain, translations italics except for one English translation), Tantum ergo (very mixed). In the early days of ChoralWiki, there was one admin held that texts should be in italics and translations in plainface (at least for Latin texts) and I held the opposite view (but didn't really prevail), since I've always felt that Latin texts should be italicized or italicised. Since then, I've tended also to feel that probably the italics(?) versions of Cyrillic fonts look better, and I've never had a problem with Romance languages appearing in italics. For German (at least to me) it's a toss-up (gimme Fraktur!), although the slanted look of our default italics typeface looks good for German texts. At any rate, I think finding some sort of consensus and adopting guidelins would really help here. -- Chucktalk Giffen 16:27, 30 April 2009 (UTC)
With respect to whole texts and translations, for simplicity I'd stick to plain text always, though I wouldn't be against a decision to italicize the Latin texts (and perhaps also the few Cyrillic texts, that I too prefer in italics). —Carlos Email.gif 21:21, 30 April 2009 (UTC)

Sort key?

Is there a way to add sorting, or is LnkTxt needed to add pages to O salutaris hostia? I'm looking specifically at O Saving Victim (John Stainer) and would prefer it to say:

An English version of O salutaris hostia. The Latin original and other translations may be found here.

Richard Mix 22:26, 22 July 2010 (UTC)

If what you want to say is the above text, then none of the templates would fit :) Anyway, if you want the work to be listed automatically in O salutaris hostia, then you should use LnkTxt with "Stainer" as the sort key. —Carlos Email.gif 02:18, 23 July 2010 (UTC)
The expected answer ;-) and I guess the LnkTxt boilerplate cant be hid either. I'll add it by hand. Thanks anyway! Richard Mix 04:33, 23 July 2010 (UTC)
Just an update: template {{LnkTxt}} has been merged with this one, so LinkText now accepts a sort key too. Check the documentation for the correct syntax. —Carlos (talk) 02:47, 22 April 2013 (UTC)

Piping?

It looks like there's no way to make the displayed text different from the link. It might be be nice if this worked:

Original text and translations may be found at Psalm_147#Clementine_Vulgate_.28Psalm_147.29Ps. 147 (vulgata)

Richard Mix (talk) 21:15, 11 June 2014 (UTC)

Hi Richard. I added and "alt=" parameter to give an alternate text for the display of the link. Just type:
{{LinkText|Psalm_147#Clementine_Vulgate_(Psalm_147)|alt=Ps. 147 (vulgata)}}
to get
Original text and translations may be found at Ps. 147 (vulgata).
Chucktalk Giffen 03:16, 12 June 2014 (UTC)

Recent changes

Some of you will remember that, in April 2013 when I merged {{LnkTxt}} with this template, it started creating categories for each text page (Category:Ave Maria, for instance). These categories were necessary for the proper functioning of {{TextPageList}}, but the downside was that hundreds of them would have to be created by hand. I finally envisioned a better solution that replaces all these (otherwise useless) categories with a single one: Works that link to text pages. That means that all text categories already created (which were gathered under Category:Text categories) will soon be empty and no longer necessary. If no one disagrees, in the next days I'll be mass-deleting them. I'll take this opportunity to thank Edmund Gooch for his indefatigable work in creating most of these categories. —Carlos Email.gif 16:30, 13 February 2015 (UTC)