User:CmdrDan/Table--Fancy
Borrowed from: Talk Page for: Advanced Table Formatting
Where to request new extension to wikitable?
[edit]I'd like to be able to use a subclass, as in the following:
Title | Album details | Peak chart positions | Certifications | ||||
---|---|---|---|---|---|---|---|
US Country [1] |
US [2] |
CAN Country [3] |
CAN [4] |
UK [5] | |||
Rumor Has It |
|
2 | 39 | — | — | — | |
For My Broken Heart |
|
3 | 13 | 1 | 78 | — | |
It's Your Call |
|
1 | 8 | 1 | 59 | — | |
"—" denotes releases that did not chart |
There are three cells in the table above that contain a 1. It would be good if these cells were automatically shaded (as has been manually done in the second row), without additional markup in the cells themselves. I know this to be possible using CSS, so the question is how can this be achieved in wiki?
I'm thinking I need to add
class="wikitable discog plainrowheaders" style="text-align:center;"
or similar. And then discog can be defined elsewhere.
Am I even in the right place to suggest this?
Any way to freeze the top row (header info) of a table?
[edit]Is there any way to freeze the top row of a table, the header info for the columns? So that the top row floats down the screen as user scrolls down the table, that is, so that in a table with many rows the viewer can scroll down through the rows to the desired item and still see the column header info. UnderEducatedGeezer (talk) 20:19, 29 April 2019 (UTC)
- That's way too useful a request to get any traction. They're too busy perfecting WP:Flow. EEng 23:17, 29 April 2019 (UTC)
Interesting Table with spacer columns
[edit]https://wiki.riteme.site/wiki/UEFA_European_Championship#Final_tournament
- ^ Cite error: The named reference
american country albums
was invoked but never defined (see the help page). - ^ Cite error: The named reference
americanalbums
was invoked but never defined (see the help page). - ^ Cite error: The named reference
canadiancountryalbums
was invoked but never defined (see the help page). - ^ Cite error: The named reference
canadianalbums
was invoked but never defined (see the help page). - ^ "UK Top 40 Database". everyhit.com. Retrieved 27 September 2010.
- ^ "Search results - "Rumor Has It"". Recording Industry Association of America. Retrieved 30 September 2010.
- ^ a b c "CRIA searchable database". Canadian Recording Industry Association. Retrieved 28 September 2010.
- ^ "Search results - "For My Broken Heart"". Recording Industry Association of America. Retrieved 30 September 2010.
- ^ "Search results - "It's Your Call"". Recording Industry Association of America. Retrieved 30 September 2010.