Template talk:Track listing

(Redirected from Template talk:Track listing/sandbox)
Latest comment: 11 days ago by Strepulah in topic Dark mode media query
WikiProject iconAlbums Template‑class
WikiProject iconThis template is within the scope of WikiProject Albums, an attempt at building a useful resource on recordings from a variety of genres. If you would like to participate, visit the project page, where you can join the project and/or contribute to the discussion.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Period edit

Why is there no period generated by |all_music=? InfiniteNexus (talk) 06:52, 14 December 2023 (UTC)Reply

Because it usually implies that |all_lyrics= will be used as well, and this would require it to be followed by a comma. Richard3120 (talk) 20:43, 6 April 2024 (UTC)Reply
Then the template should be adjusted to recognize if |all_lyrics= is being used, and if not, automatically add a period. InfiniteNexus (talk) 23:00, 7 April 2024 (UTC)Reply

Pseudo-splitting total length edit

I've never seen this done with total_length=. Not really feeling it. Mac Dreamstate (talk) 19:49, 22 January 2024 (UTC)Reply

Leave blanking only for interlude as uncredited songwriters/producers edit

I suddenly thinking about leave blanking only for interlude as uncredited songwriters/producers as seen on All for You (Janet Jackson album)#Track_listing. Has anyone comments? 113.210.105.214 (talk) 16:52, 28 January 2024 (UTC)Reply

In my opinion, all credited songwriters on any track should appear in track listings on Wikipedia. SaltieChips (talk) 16:38, 15 February 2024 (UTC)Reply

Why present tense? edit

Re The value for this parameter is preceded by "All tracks are written by " or "All lyrics are written by " or "All music is composed by ", depending on the parameter that is used. Provide terminal punctuation and any references in the parameter value, if desired., why "is" and not "was"? Largoplazo (talk) 15:51, 14 March 2024 (UTC)Reply

Dark mode media query edit

According to the recommendations for night mode compatibility on MediaWiki, the class to style in the prefers-color-scheme media query should be skin-theme-clientpref-os instead of skin-theme-clientpref-night, is that correct? Strepulah (talk) 08:34, 5 May 2024 (UTC)Reply

@Jdlrobson: Perhaps you could help me out here? Strepulah (talk) 09:21, 13 May 2024 (UTC)Reply
Hey @Strepulahthanks for reaching out - you need both (e.g. duplicate rules for both modes):
  • skin-theme-clientpref-os should be used in conjunction with prefers-color-scheme media query. It corresponds to ?vectornightmode=2 and will only display night mode if the operating system preference has been set - it means "Give me dark theme if my operating system was configured to request it".
  • skin-theme-clientpref-night should be set without a prefers-color-scheme media query. It corresponds to ?vectornightmode=1 - it means "Always give me dark theme".
Hope that helps? 🐸 Jdlrobson (talk) 16:32, 13 May 2024 (UTC)Reply
Sort of. But then shouldn't lines 99, 103 and 107-109 in Module:Track listing/styles.css have class skin-theme-clientpref-os? Strepulah (talk) 17:25, 13 May 2024 (UTC)Reply