Template talk:Collapse top
| This is the talk page for discussing improvements to the Collapse top template. |
|
| Archives: 1, 2Auto-archiving period: 3 months |
| Template:Collapse top is indefinitely protected from editing as 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. |
| This template was considered for deletion on 11 September 2025. The result of the discussion was "keep". |
Add role="presentation" on layout table
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
More specifically, edit the third line so that
{| <!-- Template:Collapse top --> class="mw-collapsible mw-archivedtalk {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="color:inherit; background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{<includeonly>safesubst:</includeonly>#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;"
would become
{| role="presentation" <!-- Template:Collapse top --> class="mw-collapsible mw-archivedtalk {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="color:inherit; background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{<includeonly>safesubst:</includeonly>#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;". Sapphaline (talk) 09:18, 3 September 2025 (UTC)
- Why? voorts (talk/contributions) 23:28, 3 September 2025 (UTC)
- Because this is a table used for presentation? Sapphaline (talk) 07:32, 4 September 2025 (UTC)
- @Voorts:? Sapphaline (talk) 13:14, 8 September 2025 (UTC)
- I don't know enough to handle this request. There's no rush and it's still in the edit request queue. voorts (talk/contributions) 14:07, 8 September 2025 (UTC)
Done * Pppery * it has begun... 14:30, 8 September 2025 (UTC)
- @Pppery: can you do the same thing at template:hidden archive top and template:collapse? Sapphaline (talk) 15:52, 8 September 2025 (UTC)
- I don't know enough to handle this request. There's no rush and it's still in the edit request queue. voorts (talk/contributions) 14:07, 8 September 2025 (UTC)
Edit request to complete TfD nomination
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Template:Collapse top has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:
{{subst:tfm|help=off|type=disabled|1=Hidden archive top}}
to the top of the page to complete the nomination. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:35, 11 September 2025 (UTC)
"Template:Ctop" listed at Redirects for discussion
[edit]
The redirect Template:Ctop has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 September 27 § Template:Ctop until a consensus is reached. Toadspike [Talk] 12:42, 27 September 2025 (UTC)
Autocollapse
[edit]The syntax: ′autocollapse=yes/no′ option is not provided anywhere in the template. Isnt this syntax necessary to be included in the template? --Gandabherunda01 (talk) 04:56, 26 January 2026 (UTC)
- Why? What is the use case? The autocollapse option is typically applied to navboxes and other extra elements so that they will collapse if there are many of them. – Jonesey95 (talk) 18:19, 27 January 2026 (UTC)
- @Jonesey95:, look at this edit: [1] I have applied: ′collapse=yes′ and the section remain expanded. And you can look at this edit: [2], when ′autocollapse=yes′ is applied the section remain closed/collapsed. So I thought of enquiring.. --Gandabherunda01 (talk) 09:57, 28 January 2026 (UTC)
- Please read this template's documentation. Specifically,
Do not hide content in articles
and the bit that beginsWill leave the material uncollapsed
. I have fixed the formatting in that article section. – Jonesey95 (talk) 16:50, 29 January 2026 (UTC)
- Please read this template's documentation. Specifically,
- @Jonesey95:, look at this edit: [1] I have applied: ′collapse=yes′ and the section remain expanded. And you can look at this edit: [2], when ′autocollapse=yes′ is applied the section remain closed/collapsed. So I thought of enquiring.. --Gandabherunda01 (talk) 09:57, 28 January 2026 (UTC)
"Clear" does not work?
[edit]I cannot seem to make the CLEAR parameter work. It has been discussed here before, but I do not know what is happening. I applied it at this revision of Marquess of Downshire, without success. —GoldRingChip 12:43, 1 April 2026 (UTC)