Jump to content

Template talk:Collapse top

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Add role="presentation" on layout table

[edit]

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)[reply]

Why? voorts (talk/contributions) 23:28, 3 September 2025 (UTC)[reply]
Because this is a table used for presentation? Sapphaline (talk) 07:32, 4 September 2025 (UTC)[reply]
@Voorts:? Sapphaline (talk) 13:14, 8 September 2025 (UTC)[reply]
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)[reply]
 Done * Pppery * it has begun... 14:30, 8 September 2025 (UTC)[reply]
@Pppery: can you do the same thing at template:hidden archive top and template:collapse? Sapphaline (talk) 15:52, 8 September 2025 (UTC)[reply]

Edit request to complete TfD nomination

[edit]

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)[reply]

 Done Sohom (talk) 15:27, 14 September 2025 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]
@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)[reply]
Please read this template's documentation. Specifically, Do not hide content in articles and the bit that begins Will leave the material uncollapsed. I have fixed the formatting in that article section. – Jonesey95 (talk) 16:50, 29 January 2026 (UTC)[reply]

"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)[reply]