Help talk:Table

message: Should there be a link to User:The wub/tocExpandAll.js in the lead? 22:31, 24 December 2023 (UTC)
thread_title: RfC: linking to User:The wub/tocExpandAll.js 

message: FYI, I've come across a few pages where page sections were added to a table to divide it up into sections. I'm sure it's an accessibility issue that's worse than MOS:COLHEAD. If someone wants to try to fix them, feel free.
* List of compositions by Johannes Brahms
* List of compositions by Richard Wagner
* List of compositions by Jean Sibelius
There's probably more. Jroberson108 (talk) 21:07, 14 March 2024 (UTC)
replies: text: This is permitted by the HTML specs (because MediaWiki does not use the ARTICLE, ASIDE, FOOTER, HEADER, NAV and SECTION elements which would impose restrictions on page structure). Why is it an issue here? --Redrose64 🌹 (talk) 15:33, 15 March 2024 (UTC)
replies: text: I mentioned aaccessibility. It's very similar to MOS:COLHEAD except with "header" instead of "th" elements where you are visually separating a data table. Although using "th" might cause more issues, it's still "visual". MOS:COLHEAD recommends moving the header text to a column or spliting them into separate tables with the header text in the table caption. If it's not an accessibility issue for screen readers, then that's fine. Moving it to caption is an easy way to keep it accessibile. Jroberson108 (talk) 16:57, 15 March 2024 (UTC)
thread_title:  Table with page sections 

message: See the top table in this article version:
*https://en.wikipedia.org/w/index.php?title=List_of_iPhone_models&oldid=1213942519#Release_dates
All the other dates in the other columns will wrap when necessary. Scroll down the table to see. Narrow your browser window too, to see it more clearly. 
The "Announced" column dates will not wrap. They use . --Timeshifter (talk) 01:39, 16 March 2024 (UTC)
replies: text: Looks like that template uses non-breaking spaces ( ) instead of spaces, which prevents the wrapping. It lists some alternative templates at the bottom. It looks like  uses spaces, so it should wrap. Jroberson108 (talk) 05:27, 16 March 2024 (UTC)

text: Maybe there is a better template than that one. Also, that column doesn't appear sortable when  is used. I recall  needs to be used so it sorts correctly. It also uses normal spaces, so the date will wrap. Jroberson108 (talk) 05:46, 16 March 2024 (UTC)
replies: text: Thanks. I switched to the abbreviated form of . It narrowed the column a little, but it does not sort. Which is weird because I thought that was the reason for its title. It does not wrap either. I put a soft hyphen  in "Announced" text in header. That did not help. --Timeshifter (talk) 06:34, 16 March 2024 (UTC)
replies: text: Looks like the "nowrap=off" parameter has to be added to disable the nowrap style. That template sets data-sort-value= for each data cell, so you will need to remove data-sort-type="date" from the header for it to sort. I noticed some of the other columns don't sort either. Maybe add this template for the date part of them too: .  Jroberson108 (talk) 07:11, 16 March 2024 (UTC)
replies: text: Thanks again. That did the trick for the "Announced" column. Parts of the  doc page are baffling, and poorly written. --Timeshifter (talk) 08:13, 16 March 2024 (UTC)

text: The  template must not be used outside infoboxes. --Redrose64 🌹 (talk) 12:23, 16 March 2024 (UTC)
thread_title:  Need wrapping of the "Announced" column