Template talk:Collapsible list

message: On WikiProject Video games, we use collapsible lists in infoboxes where many release dates are listed and use the initial date as title of the list. However, when the list is expanded the initial date is shown once as the title and once in the platform-specific section within the list, making the first one redundant.
Given this, is it possible to hide the title when the list is uncollapsed or could that feature be implemented? Lordtobi (✉) 07:24, 6 June 2018 (UTC)
replies: text: link please.. —TheDJ (talk • contribs) 10:55, 6 June 2018 (UTC)
replies: text: Grand Theft Auto V, for example. Lordtobi (✉) 11:29, 6 June 2018 (UTC)
replies: text:  Hi, any update on this? Lordtobi (✉) 13:42, 8 October 2018 (UTC)

text: This doesn't seem like behavior we should support in the core module. This usage is niche, at best. --Izno (talk) 20:20, 23 February 2021 (UTC)
thread_title:  Hide title of list when list is uncollapsed? 

message: Per MOS:DONTHIDE this should not be in a collapsed state .  Other collapsible content templates have been fixed (unless I'm missing one somewhere) to resolve this failure to comply with the guidelines.  Auto-collapsing content is both an accessibility problem (screenreader users cannot expand it) and a mobile problem (various mobile devices/browsers will not show such elements or allow them to be expanded again). There are two approaches to fixing this (then updating the /doc to compensate):
# Invert the default behavior.
# Install a namespace switch to invert the default behavior in mainspace, but leave it auto-collapsing otherwise.
Option 2 might theoretically be preferable if a) this template is frequently used outside of mainspace, and b) only for content where accessibility and mobile use are not an issue.  I'm very skeptical this will actually be applicable, so absent a strong showing that is it, option should be implemented.  — SMcCandlish ☏ ¢ 😼  12:03, 29 July 2018 (UTC)
thread_title:  Should not hide by default 

message: Please see these test cases. When I try to add |liststyle=font-size:85%; to a bulleted list, the text is not made small, and it is centered instead of placed at the left. I expect that the problem is either in my parameter value or in the logic applied when a custom liststyle is chosen. Who can tell me what is going on here? – Jonesey95 (talk) 17:24, 19 June 2020 (UTC)
replies: text: I've just sorted these both but I suspect it will have affected one or two pages in the wild. --Izno (talk) 20:18, 23 February 2021 (UTC)
thread_title:  Liststyle centers text and does not make it smaller 

message: In article Elizabeth II, template  is used inside the infobox. Unfortunately, the link to show the collapsed list overlaps with the text "Queen of the United Kingdom and
the other Commonwealth realms". I've added a new test case to demonstrate the issue. —⁠andrybak (talk) 08:29, 6 September 2020 (UTC)
replies: text: Fixed? Sandbox looked good before I pushed the sandbox stuff live. --Izno (talk) 20:12, 23 February 2021 (UTC)
thread_title:  Link to show the list overlaps title 

message: What am I missing here? – Uanfala (talk) 20:21, 1 April 2021 (UTC)
replies: text: , fixed your code for you. Frietjes (talk) 22:39, 1 April 2021 (UTC)
replies: text: Ah, thanks, . Silly it didn't occur to me that the quotation marks wouldn't be required. – Uanfala (talk) 22:43, 1 April 2021 (UTC)
thread_title:  Styles not working? 

message: Update the page as of new features in collapse by wikipedia in 2019.A.S. Universal (talk) 04:40, 31 July 2021 (UTC)
thread_title:  Page update 

message: Perhaps, template needs a nowrap option. In wide tables expanded collapsible list looks messy, as wrapped by every word. So there needs to be an option not to wrap an entry, so each entry will be own line. Elk Salmon (talk) 15:27, 14 January 2022 (UTC)
replies: text: Nevermind, liststyle = white-space: nowrap; does it well Elk Salmon (talk) 15:43, 14 January 2022 (UTC)
thread_title:  Nowrap option 

message: I'm wondering if anyone knows a way to change the colour of the show/hide button? Aris Odi ❯❯❯ talk 01:26, 5 February 2022 (UTC)
thread_title:  Show/hide colour? 

message: As stated here already, mobile view is buggy. On my devices, I just can't expand any list using "collapsible lists". Comrade Mmirg (talk) 18:39, 26 September 2022 (UTC)
thread_title:  Mobile bugs 

message: has a related ticket:
https://phabricator.wikimedia.org/T111565 fgnievinski (talk) 05:17, 13 January 2023 (UTC)
thread_title:  Phabricator 

message: I would like to be able to apply a style to every item in a list.  and family have a  parameter that does this (also  for just item number N). For example it's not possible to add a hanging indent for legibility to an unbulleted collapsible list, à la . Hairy Dude (talk) 13:57, 6 December 2023 (UTC)
thread_title:  Item style 

message: In Rising_Star_Cave#References Footnote #5, the "hide/show" button sits on top of the list title, instead of next to it. GreenC 04:28, 2 January 2024 (UTC)
replies: text: I wouldn't even try to troubleshoot that. I'd either show or delete all of those authors in the citation. If the list of authors is important to the article, show it. If not, there are four links to the paper for people who want to see the whole list of authors. – Jonesey95 (talk) 18:42, 2 January 2024 (UTC)
thread_title:  Use in a citation 

message: I have problems with nested lists. Consider this code:

which produces this list:
When I click on the "show" link for the outer list, the three inner lists are also expanded, but their links say "show". When I click on any inner "show" links, the outer list collapses. Why does it behave like that? Dipsacus fullonum (talk) 12:17, 12 May 2024 (UTC)
thread_title:  Nested lists