Template talk:quote-song

Suggestions
I think this template should also have a song writer field and/or a writing credits field (this sometimes differs, see for example this song, which was written by Richard Ashcroft, but later credited to Jagger/Richards). Also, I think "composer" is not a good term, rather it should be "artist". --The Evil IP address 11:05, 25 September 2011 (UTC)

What am I doing wrong?
--Pawyilee 09:44, 17 October 2011 (UTC)

(ie, without first "|") yields:
 * HTH DCDuring (talk) 17:59, 23 December 2018 (UTC)
 * HTH DCDuring (talk) 17:59, 23 December 2018 (UTC)

Edits to the template
Hi,. I noticed you made some edits to this template, but reverted them. Is there anything I can help you with? — SMUconlaw (talk) 15:35, 26 March 2016 (UTC)

Album should not be mandatory
Not all songs are released on albums. Some songs predate albums as a technology. Some songs are released as singles, where the title of the "album" is just the title of the song. Some songs are only performed live and never "released" on an album. Some songs are released on many albums, and there is no point in arbitrarily choosing one to list when it is entirely irrelevant. --WikiTiki89 18:39, 14 July 2016 (UTC)
 * Good point. Let me look into this. — SMUconlaw (talk) 18:49, 14 July 2016 (UTC)
 * : OK, try the template and see if it works properly. — SMUconlaw (talk) 15:57, 15 July 2016 (UTC)
 * Seems to work fine (see мало). Thanks! --WikiTiki89 16:00, 15 July 2016 (UTC)

quote-poem
Does this exist anywhere? If not might make sense to create a template for it. – Jberkel (talk) 11:51, 24 August 2016 (UTC)
 * What special features does a poem require that are not already present in existing templates like ? For instance, it is possible to use and indicate where the line breaks are using obliques: "I wandered lonely as a cloud / That floats on high o'er vales and hills, / When all at once I saw a crowd, / A host, of golden daffodils;". — SMUconlaw (talk) 13:08, 24 August 2016 (UTC)
 * Yes, that's what I've been using so far. There's nothing missing, but the metadata does not match exactly. For instance the title of the poem is usually not the title of the book. But maybe that's not a huge problem. – Jberkel (talk) 16:33, 24 August 2016 (UTC)
 * I usually put the title of the poem in the chapter parameter, and the book title in title. — SMUconlaw (talk) 19:28, 24 August 2016 (UTC)

Song titles with numbers
Currently get formatted as "chapter " (e.g. ). – Jberkel 22:21, 1 March 2018 (UTC)
 * Hmmm, oh dear, this could be tricky to fix because works off the same backend  as all the other quote templates. One workaround would be to indicate the title as "1940 [title]", because the backend would then not interpret this as a chapter number. — SGconlaw (talk) 08:34, 2 March 2018 (UTC)

Template:quote-song/documentation
Then please provide a version of the markup which is appropriate and doesn't create a "stripped" tag or misnesting in the parent template then. ShakespeareFan00 (talk) 17:32, 23 December 2018 (UTC)
 * That particular line explains to editors how to use "nowiki" tags. Obviously the opening tag cannot possibly have a slash in front. The whole sample line is already surrounded by  tags; I have no idea why it is generating an error. — SGconlaw (talk) 17:36, 23 December 2018 (UTC)

Automated transliteration
Please add automated transliteration fro non-Roman based languages like most templates do. --Anatoli T. (обсудить/вклад) 08:22, 29 December 2018 (UTC)
 * I implemented this for all quote-* templates. Benwing2 (talk) 06:13, 9 February 2019 (UTC)

Song from a film
See ось. I put the film name in album along with film, which more or less works, but is there a better way? Benwing2 (talk) 06:12, 9 February 2019 (UTC)
 * Benwing2 (talk) 06:12, 9 February 2019 (UTC)
 * Quote from the original soundtrack album instead. — SGconlaw (talk) 15:45, 9 February 2019 (UTC)
 * For old, non-US films this may not exist. Benwing2 (talk) 06:13, 10 February 2019 (UTC)
 * I would think that these days pretty much any film score is available in an album. However, if it is really the case that there is no album, then your suggested solution seems like a good one. — SGconlaw (talk) 09:44, 10 February 2019 (UTC)

Broken authorlink parameter
It seems like some change was just made that broke the authorlink parameter, seemingly in revision #69077202. Compare the w:Alanis Morissette link on sixty-nine (yes, the first two digits of the revision number I just mentioned) previously with how it is now (as of typing). Pinging Sgconlaw. -B RAINULATOR 9 (TALK) 02:43, 10 September 2022 (UTC)


 * it wouldn’t have been the most recent edit that introduced the issue but some underlying change to Module:quote. Anyway, I’ve addressed it. — Sgconlaw (talk) 05:23, 10 September 2022 (UTC)

Needs a way to accommodate songs where the month of release is known but the day isn't
With some songs, such as, the year and month of release are known (in this case, December 1966), but the precise day isn't. Currently, if you put a year and month, but no day, into  , it defaults to the first day of the month, which is unlikely to be correct (for instance, in the present case, it's one of the few days when it couldn't've been released, as the song wasn't even recorded until 5 December). In order to accommodate songs where the month, but not the day, of release is known, the template should simply display the year and month (without adding in any guess at the day) if  is provided with a year and month without specifying a day. Whoop whoop pull up Bitching Betty ⚧️ Averted crashes 00:54, 1 February 2023 (UTC)


 * You can use  to accomplish this, even though that's not in the documentation. That said, I agree that   should default to just displaying the year and month without the day. The same applies to all the quotation templates based on Module:quote (the relevant code is actually in Module:time). 70.172.194.25 01:03, 1 February 2023 (UTC)
 * This is because the quote templates use, and it is the default behaviour of that function to add the first of the month of the to a date like “1966-2”. It’s not something we can (or perhaps ought to) change. As has been mentioned, use month and year. I’ll add it to the documentation. — Sgconlaw (talk) 01:35, 1 February 2023 (UTC)
 * We can change the output in such cases if we want, by editing the Lua module. But if you think we shouldn't, fair enough.
 * I guess one reason not to is that it would necessarily be an ad hoc solution. Even if we wrote some pattern matching code to handle the specific case of  correctly,   and   would still not be handled properly. Of course we could manually write code to handle those cases too. But in the end the complexity of the code would be increased and we may not even end up handling all possible cases properly. 70.172.194.25 03:59, 1 February 2023 (UTC)
 * I recall, who is one of our Lua experts, mentioning before that it is best to rely on the built-in functions where these exist, and not to create ad hoc “solutions” which then have to be constantly maintained. — Sgconlaw (talk) 04:55, 1 February 2023 (UTC)
 * I agree in this case with User:Sgconlaw. In general I'm not opposed to adding extra logic to make things more DWIM ("do what I mean"), but dates are notoriously hairy to handle properly, and in a case like this where we're using a built-in function to allow lots of different date formats, it just seems like asking for trouble to try and hack around its default behavior. Benwing2 (talk) 05:32, 1 February 2023 (UTC)

Links to YouTube
is this, while cool, advisable? Unlike the Wikimedia Commons, I’m concerned that we won’t be able to distinguish between content that is legitimately on the site and content that has been uploaded in breach of copyright. — Sgconlaw (talk) 05:16, 5 February 2024 (UTC)


 * when possible, I try to link to a video on the artist's official channel. Ioaxxere (talk) 13:41, 5 February 2024 (UTC)
 * OK, great. Do the edits you made ensure that the template doesn't automatically link to content which has been uploaded in breach of copyright? I can't quite tell what the edits do. — Sgconlaw (talk) 13:46, 5 February 2024 (UTC)
 * no, all it does is add  to a YouTube URL which automatically starts the video at a certain time. For example, if the template is called with , this is converted into   which is appended onto the URL. The user still decides whether a YouTube URL should be added in the first place. Ioaxxere (talk) 18:56, 5 February 2024 (UTC)
 * OK, thanks for clarifying! — Sgconlaw (talk) 19:01, 5 February 2024 (UTC)