Template talk:Collapse top
![]() | Template:Collapse top is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below. |
This page has archives. Sections older than 90 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Why doesn't this template work as expected in the mobile rendering?
editI browsed to a page using this template on my phone and the content which was intended by page authors to be collapsed by default was instead showing and not collapsible. Can this be fixed? IMO mobile readers should be given as close to the same reading experience as practical.
Also, if this is going to remain broken for mobile views, the template documentation should describe what happens there and why. Otherwise desktop authors who don't themselves use mobile devices are given no hint that use of this template is buggy/broken for mobile readers. –jacobolus (t) 19:04, 10 February 2023 (UTC)
- The documentation is not protected. There are notes about collapsing at Help:Collapsing and MOS:DONTHIDE. – Jonesey95 (talk) 19:23, 10 February 2023 (UTC)
- Updated the documentation (also for
{{Collapse}}
) with a "Limitations" section, transcluding the relevant material from Help:Collapsing#Limitations, so if that gets updated with new information like an MW upgrade resolving the issue, then the templates' /doc pages will automatically inherit the update. — SMcCandlish ☏ ¢ 😼 20:38, 14 December 2023 (UTC)
- Updated the documentation (also for
Protected edit request on 26 May 2023
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
It would be useful if it were possible to left align the textbox by introducing a |margin=
parameter, i.e.:
- Replace:
margin: 0.2em auto auto;
- With:
margin: {{{margin|0.2em auto auto}}};
T.Shafee(Evo&Evo)talk 05:43, 26 May 2023 (UTC)
- Not done: I don't see a strong rationale to support a custom option here. Izno (talk) 00:48, 17 June 2023 (UTC)
- Also redundant with
|indent=
which has simple syntax for left alignment control, which was the stated use case. A|margin=
could do more than that, but there's not any demonstrated need for it, and people would probably be apt to do silly things with it. — SMcCandlish ☏ ¢ 😼 20:34, 14 December 2023 (UTC)
- Also redundant with
Want parameter to make the box as wide as the title, and left aligned
editPlease see: Wikipedia talk:Manual of Style/Accessibility#Template:Collapse top, and Template:Collapse bottom.
I would like a parameter that makes the collapsed box as wide as the title and left aligned.
There is already a parameter to left align the title text. I am not talking about that. I want the box itself aligned to the left side of the page.
And I want the title text to wrap in narrower screens. --Timeshifter (talk) 16:54, 10 February 2024 (UTC)
Where do the "hide" and "show" come from?
edit@Izno: someone who might have a clue. That is to say -- the texts "hide" and "show" in this template, they don't actually show up in the source text -- are they from common.js or something? jp×g🗯️ 00:10, 19 May 2024 (UTC)
- I see that there's a MediaWiki:Collapsible-expand and a MediaWiki:Collapsible-collapse but I don't see how they're actually being invoked in this template. Through the JavaScript or what? jp×g🗯️ 00:12, 19 May 2024 (UTC)
Cot bar skewed when collapsed in mobile
editThe collapsed COT chart is displaying narrower than usual when collapsed, but is expands normally in mobile view. Can this minor issue be fixed? Qwerty284651 (talk) 21:51, 11 August 2024 (UTC)