Jump to content

Template talk:Infobox Bach composition: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Restart: As a compromise, how about this?
Line 23: Line 23:
First: thank you all for your efforts! Second: I suggest to have the second line, "BWV xy", the same font size as the third "... Bach", because the catalogue # is not part of the title, more a disambiguation. I suggest to link only Bach, as the most important information, not "BWV", not the type, - that is done in the lead ;) --[[User:Gerda Arendt|Gerda Arendt]] ([[User talk:Gerda Arendt|talk]]) 22:20, 14 December 2013 (UTC)
First: thank you all for your efforts! Second: I suggest to have the second line, "BWV xy", the same font size as the third "... Bach", because the catalogue # is not part of the title, more a disambiguation. I suggest to link only Bach, as the most important information, not "BWV", not the type, - that is done in the lead ;) --[[User:Gerda Arendt|Gerda Arendt]] ([[User talk:Gerda Arendt|talk]]) 22:20, 14 December 2013 (UTC)
:BWV should definitely be linked; type we could take or leave, but as they are almost all already linked, unlinking them would take much more effort without much benefit. [[User:Nikkimaria|Nikkimaria]] ([[User talk:Nikkimaria|talk]]) 00:26, 15 December 2013 (UTC)
:BWV should definitely be linked; type we could take or leave, but as they are almost all already linked, unlinking them would take much more effort without much benefit. [[User:Nikkimaria|Nikkimaria]] ([[User talk:Nikkimaria|talk]]) 00:26, 15 December 2013 (UTC)
:: As a compromise, how about: (1) the BWV nnn line in normal font; (2) link BWV in that line - as the casual reader, for whom the box has most value, is the least likely to know what BWV means; (3) simply display "type" in the second subheader line, but sort out the capitalisation and linking on an article-by-article basis later as I'm too busy at present to write and test a Lua module that would guarantee to convert the text following a piped link to sentence case?
::* <nowiki>{{Infobox Bach composition/sandbox |title={{lang|de|Ich Muss Weg}} |bwv=999 |type=[[List of Bach cantatas by liturgical function|Church cantata]] |image=Road Runner decal 2 Detail.jpg}}</nowiki>
{{Infobox Bach composition/sandbox
|title={{lang|de|Ich Muss Weg}}
|bwv=999
|type=[[List of Bach cantatas by liturgical function|Church cantata]]
|image=Road Runner decal 2 Detail.jpg}}
:: Could we all live with that for now? --[[User:RexxS|RexxS]] ([[User talk:RexxS|talk]]) 16:23, 18 December 2013 (UTC)

Revision as of 16:23, 18 December 2013

Restart

Proposal: move composer to above the image; combine current "genre" and "type" parameters into a single parameter that also appears above the image, on the same line as the composer (neither bolded); link BWV to the appropriate article in the header. Nikkimaria (talk) 18:32, 13 December 2013 (UTC)[reply]

Agree to move composer & combine |type= & |genre=. What would be an example of "the appropriate article in the header"? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:42, 13 December 2013 (UTC)[reply]
Read as (link BWV to the appropriate article) (in the header) - Bach-Werke-Verzeichnis. Nikkimaria (talk) 18:44, 13 December 2013 (UTC)[reply]
Thank you. In that case, I support that also. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:21, 13 December 2013 (UTC)[reply]
Looks good to me as an outcome on all counts. How do we want to combine "genre" and "type"? One way would be deprecate "genre" in the documentation and drop it once it's unused in the 168 transclusions. Moving "type" to display in the subheader would then be an easy job. --RexxS (talk) 19:16, 13 December 2013 (UTC)[reply]
Yes; deprecate |genre=. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:21, 13 December 2013 (UTC)[reply]
Sure: type is far more common than genre, given that most transclusions of this template are on articles for specific cantatas. There are AFAICT only six instances of the genre parameter. Nikkimaria (talk) 19:25, 13 December 2013 (UTC)[reply]

I've created a trial version in Template:Infobox Bach composition/sandbox. You can try it out by editing one of the articles to change

{{Infobox Bach composition

to

{{Infobox Bach composition/sandbox

and then previewing, rather than saving of course. --RexxS (talk) 20:19, 13 December 2013 (UTC)[reply]

Not bad. It's unfortunate, though, that many of the values are in lower case; for (sub)header text sentence case looks better. Nikkimaria (talk) 21:28, 13 December 2013 (UTC)[reply]
Indeed - I'd much prefer "Church cantata by J. S. Bach" to "church cantata by J. S. Bach". Let me have a think about a Lua module to fix that. By the way, the documentation for Template:Infobox #Examples implies that subheaders should not be bold - should I return the BWV line to normal font? --RexxS (talk) 22:54, 13 December 2013 (UTC)[reply]
OK - I have written a simple Lua module at that naively changes strings to sentence case (i.e. doesn't cope with Proper nouns)
{{#invoke:String2| sentence | church cantata}} -> Church cantata
if there's consensus for it, I can add it to the template sandbox for display of the "type" parameter. Any thoughts? --RexxS (talk) 23:46, 13 December 2013 (UTC)[reply]
Bleh - it works for "church cantata" but fails for church cantata as I should have anticipated. I'll have another think about it. --RexxS (talk) 00:53, 14 December 2013 (UTC)[reply]

First: thank you all for your efforts! Second: I suggest to have the second line, "BWV xy", the same font size as the third "... Bach", because the catalogue # is not part of the title, more a disambiguation. I suggest to link only Bach, as the most important information, not "BWV", not the type, - that is done in the lead ;) --Gerda Arendt (talk) 22:20, 14 December 2013 (UTC)[reply]

BWV should definitely be linked; type we could take or leave, but as they are almost all already linked, unlinking them would take much more effort without much benefit. Nikkimaria (talk) 00:26, 15 December 2013 (UTC)[reply]
As a compromise, how about: (1) the BWV nnn line in normal font; (2) link BWV in that line - as the casual reader, for whom the box has most value, is the least likely to know what BWV means; (3) simply display "type" in the second subheader line, but sort out the capitalisation and linking on an article-by-article basis later as I'm too busy at present to write and test a Lua module that would guarantee to convert the text following a piped link to sentence case?
  • {{Infobox Bach composition/sandbox |title={{lang|de|Ich Muss Weg}} |bwv=999 |type=[[List of Bach cantatas by liturgical function|Church cantata]] |image=Road Runner decal 2 Detail.jpg}}

Template:Infobox Bach composition/sandbox

Could we all live with that for now? --RexxS (talk) 16:23, 18 December 2013 (UTC)[reply]