![]() | This is an archive of past discussions about Help:Table. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
Hi
Is there a way of having a sortable table but in the same style of a simple table with no background colour or lines?
Thanks
John Cummings (talk) 09:15, 11 October 2015 (UTC)
wikitable
class. With class="wikitable sortable"
:Alphabetic | Numeric | Date | Unsortable |
---|---|---|---|
d | 20 | 2008-11-24 | This |
b | 8 | 2004-03-01 | column |
a | 6 | 1979-07-23 | cannot |
c | 4 | 1492-12-08 | be |
e | 0 | 1601-08-13 | sorted. |
class="sortable"
:Alphabetic | Numeric | Date | Unsortable |
---|---|---|---|
d | 20 | 2008-11-24 | This |
b | 8 | 2004-03-01 | column |
a | 6 | 1979-07-23 | cannot |
c | 4 | 1492-12-08 | be |
e | 0 | 1601-08-13 | sorted. |
Is there any way to create tables with more than two dimensions? E.g. select the third dimension from a dropdown or radio-button list, which updates the table showing the first two dimensions. Irfan (talk) 10:34, 13 October 2015 (UTC)
PLEASE HELP. DO YOU KNOW HOW TO PUT TWO TABLES PARAREL TO EACH OTHER?? one beside the other??? EXAMPLES
Gundam Wing | |
---|---|
Origen | ![]() |
Producer | Cloverway, Inc. |
ADR | Intertrack, S.A. Gradoca |
Licence | Xystus |
Director | Adriana Rodríguez |
Translation | Brenda Nava |
Cast | See Here |
Transmision |
Transmision | |
---|---|
Origen | ![]() |
Puerto Rico | 2 am |
Mars | 8pm |
My house | 2 pm |
Director | Dantes inferno |
The toilet | captain kanguroo |
The Sky | sweet |
I do not want one below the other. please help i need this for my work on the proyect im writing here in wikipedia. blessings --Cheposo (talk) 03:21, 14 November 2015 (UTC)
|
|
MY FRIEND THANKS THANKS THANKS THANKS THANKS A LOT!!!!!!!!!!!! Cheposo (talk) 21:43, 14 November 2015 (UTC)
first i want to thank you for helping me with the tables , but i have another problem my friend, i geb you:
i want this two tables as they are, one near de other, but located in the center of the page. PLEASE PLEASE MY FRIEND!!! this king of info should be in the table tutorials on wiki. PLease show me the code!!!!Cheposo (talk) 13:30, 15 November 2015 (UTC)
|
|
THANKLS MY FRIEND!!!! REALLY REALLY REALYY THANKS!!!!!!! THANK YOU!!!! Cheposo (talk) 17:35, 14 December 2015 (UTC)
HEY TIME SHIFTER MY FRIEND!!!!! THANKS FOR THE HELP. I HAVE ANOTHER REQUEST OF HELP. I WANT TO MAKE THIS TABLE, BUT I DONT KNOW HOW TO MAKE THE CODE, SO I WENT TO PAINT AND I PAINTED THE TABLE I NEED FOR KEEP WORKING: LOOK AT IT
please my friend i depend on you to keep working Cheposo (talk) 17:45, 14 December 2015 (UTC)
Gundam Wing | |||
---|---|---|---|
Origen | Origen | Origen | Origen |
Transmision |
Or collapsed to begin with:
Gundam Wing | |||
---|---|---|---|
Origen | Origen | Origen | Origen |
Transmision |
--Timeshifter (talk) 23:36, 14 December 2015 (UTC)
TIME SHIFTER!!!! YOU ARE THE GOD OF TABLESSS!!!!! THANKS A LOT!!!!!!!!!!!!! :) Cheposo (talk) 00:26, 15 December 2015 (UTC)
It would be so helpful to be able, when you create a table, to define a button that can collapse for example columns 2,4,6 or some rows that you need to collapse. Is there any way to do this? If not, did anyone think about implementing such a thing? Thanks. — Ark25 (talk) 00:28, 22 December 2015 (UTC)
is there any easy way to make a table with the following layout?
+-----+-----+ | | | | 1.1 | | | | 1.2 | +-----+ | | | | | 2.1 +-----+ | | | +-----+ | | | 2.2 | | 3.1 | | | | | +-----+-----+
my attempts to do this with rowspans summing to 6 have failed for some reason. thank you. Frietjes (talk) 17:14, 11 May 2015 (UTC)
{| class="wikitable" | rowspan=2 | 1.1 | style="display:none"| | rowspan=3 | 1.2 |- | style="display:none"| |- | rowspan=2 | 2.1 | style="display:none"| |- | style="display:none"| | rowspan=3 | 2.2 |- | rowspan=2 | 3.1 | style="display:none"| |- | style="display:none"| |}
{{rail line three to two}}
. Basically, you need to have six rows. --Redrose64 (talk) 18:35, 11 May 2015 (UTC)
Team A | Team B |
---|---|
Cliff Morgan (1970–75) | Henry Cooper (1970–79) |
Fred Trueman (1976–77) | |
Brendan Foster (1977–79) | |
Gareth Edwards (1979–81) | Emlyn Hughes (1979–81) |
Bill Beaumont (1982–96) | Willie Carson (1982–83) |
Emlyn Hughes (1984–88) | |
Ian Botham (1988–96) | |
John Parrott (1996–2002) | Ally McCoist (1996–2007) |
Frankie Dettori (2002–04) | |
Matt Dawson (2004–present) | |
Phil Tufnell (2008–present) |
+--------------------------+---------------------------+ | '''Team A''' | '''Team B''' | +--------------------------+---------------------------+ |Cliff Morgan (1970–75) | | +--------------------------+ | |Fred Trueman (1976–77) |Henry Cooper (1970–79) | +--------------------------+ | |Brendan Foster (1977–79) | | +--------------------------+---------------------------+ |Gareth Edwards (1979–81) |Emlyn Hughes (1979–81) | +--------------------------+---------------------------+ | |Willie Carson (1982–83) | | +---------------------------+ |Bill Beaumont (1982–96) |Emlyn Hughes (1984–88) | | +---------------------------+ | | | +--------------------------+Ian Botham (1988–96) | | | | |John Parrott (1996–2002) +---------------------------+ | | | +--------------------------+ | |Frankie Dettori (2002–04) |Ally McCoist (1996–2007) | +--------------------------+ | | | | |Matt Dawson (2004–present)+---------------------------+ | |Phil Tufnell (2008–present)| +--------------------------+---------------------------+
height
to force some multi-row cells to a certain height. PrimeHunter (talk) 22:31, 28 May 2015 (UTC)Team A | Team B |
---|---|
Cliff Morgan (1970–75) | Henry Cooper (1970–79) |
Fred Trueman (1976–77) | |
Brendan Foster (1977–79) | |
Gareth Edwards (1979–81) | Emlyn Hughes (1979–81) |
Bill Beaumont (1982–96) | Willie Carson (1982–83) |
Emlyn Hughes (1984–88) | |
Ian Botham (1988–96) | |
John Parrott (1996–2002) | |
Ally McCoist (1996–2007) | |
Frankie Dettori (2002–04) | |
Matt Dawson (2004–present) | |
Phil Tufnell (2008–present) |
{{rail line three to two}}
works by having a column (two in fact) with no rowspans at all, each of the six cells in that column contain a
to force some height into each row. They appear to be a single 6-high cell because the top five cells have the bottom border removed, and the bottom five cells have the top border removed, so that the five common borders are absent. --Redrose64 (talk) 22:57, 28 May 2015 (UTC)
{| class="wikitable" |- ! Team A ! Team B |- | [[Cliff Morgan]] (1970–75) | rowspan=3|[[Henry Cooper]] (1970–79) |- | [[Fred Trueman]] (1976–77) |- | [[Brendan Foster]] (1977–79) |- | [[Gareth Edwards]] (1979–81) | [[Emlyn Hughes]] (1979–81) |- | rowspan=3|[[Bill Beaumont]] (1982–96) | [[Willie Carson]] (1982–83) |- | [[Emlyn Hughes]] (1984–88) |- | [[Ian Botham]] (1988–96) |- | [[John Parrott]] (1996–2002) | rowspan=3|[[Ally McCoist]] (1996–2007) |- | [[Frankie Dettori]] (2002–04) |- | rowspan=2|[[Matt Dawson]] (2004–present) |- | [[Phil Tufnell]] (2008–present) |}
Team A | Team B |
---|---|
Cliff Morgan (1970–75) | |
Fred Trueman (1976–77) | Henry Cooper (1970–79) |
Brendan Foster (1977–79) | |
Gareth Edwards (1979–81) | Emlyn Hughes (1979–81) |
Willie Carson (1982–83) | |
Bill Beaumont (1982–96) | Emlyn Hughes (1984–88) |
Ian Botham (1988–96) | |
John Parrott (1996–2002) | |
Frankie Dettori (2002–04) | Ally McCoist (1996–2007) |
Matt Dawson (2004–present) | Phil Tufnell (2008–present) |
--Jules (Mrjulesd) 00:07, 29 May 2015 (UTC)
Team A | Team B |
---|---|
Cliff Morgan (1970–75) | Henry Cooper (1970–79) |
Fred Trueman (1976–77) | |
Brendan Foster (1977–79) | |
Gareth Edwards (1979–81) | Emlyn Hughes (1979–81) |
Bill Beaumont (1982–96) | Willie Carson (1982–83) |
Emlyn Hughes (1984–88) | |
Ian Botham (1988–96) | |
John Parrott (1996–2002) | |
Ally McCoist (1996–2007) | |
Frankie Dettori (2002–04) | |
Matt Dawson (2004–present) | |
Phil Tufnell (2008–present) |
Team A | Team B |
---|---|
Cliff Morgan (1970–75) | Henry Cooper (1970–79) |
Fred Trueman (1976–77) | |
Brendan Foster (1977–79) | |
Gareth Edwards (1979–81) | Emlyn Hughes (1979–81) |
Bill Beaumont (1982–96) | Willie Carson (1982–83) |
Emlyn Hughes (1984–88) | |
Ian Botham (1988–96) | |
John Parrott (1996–2002) | |
Ally McCoist (1996–2007) | |
Frankie Dettori (2002–04) | |
Matt Dawson (2004–present) | |
Phil Tufnell (2008–present) |
Team A | Team B |
---|---|
Cliff Morgan (1970–75) | Henry Cooper (1970–79) |
Fred Trueman (1976–77) | |
Brendan Foster (1977–79) | |
Gareth Edwards (1979–81) | Emlyn Hughes (1979–81) |
Bill Beaumont (1982–96) | Willie Carson (1982–83) |
Emlyn Hughes (1984–88) | |
Ian Botham (1988–96) | |
John Parrott (1996–2002) | |
Ally McCoist (1996–2007) | |
Frankie Dettori (2002–04) | |
Matt Dawson (2004–present) | |
Phil Tufnell (2008–present) |
Is there a limit to the number of rows in a table. It would be a sortable table with 3 columns and potentially about 2,000 rows. Is that possible? Piriczki (talk) 18:40, 15 January 2016 (UTC)
Please provide a sticky header while scrolling long tables (longer than a screen height), like in this example. It will be very useful. 79.191.252.28 (talk) 13:16, 3 March 2016 (UTC)
In the Safari browser on an iPad in the Cladograms section a table overflows to the right edge of the right margin and pushes the right edge of the margin to the right, expanding the right margin to nearly half the page. The entire text of the article is squeezed into the left half of the page.
I see this effect in other articles, e.g., a table in the Vocabulary comparison section of the Romance Languages article, but don't know how to fix it. — Preceding unsigned comment added by 173.72.170.69 (talk • contribs) 15:50, 4 December 2011
This help page has too many unordered information in it. I'd suggest a massive clean-up. If you don't want to delete whole sections, just improve nesting of headlines. Check these headlines - very hard to understand IMHO (sections 9-16):
9 Other table syntax
9.1 Comparison of table syntax
10 Pipe syntax in terms of the HTML produced
10.1 Tables
10.2 Rows
10.3 Cells
10.4 Headers
10.5 Captions
10.6 Summaries
11 Square monitors
12 Vertically oriented column headers
13 Wikitable as image gallery
13.1 Shifting/centering
14 Generate a chart with a table
15 Converting spreadsheet to wikitable format
16 Tables and WYSIWYG -- — Preceding unsigned comment added by Jesus Presley (talk • contribs) 19:31, 25 November 2012
Hi there. I believed that, once upon a time, I saw a wikitable with a bottom/footer section. This would be a row spanning all columns, and a place for notes etc.. I am currently editing List of British Columbia Provincial Parks and have such a footer. Problem is it is a sortable wikitable, so whenever you do toggle a sorting, that footer gets caught up in the sort instead of staying at the bottom. Is there a solution to this? If so, I would also kindly ask for it to be added to the help page. Thanks! --Natural RX 15:53, 4 March 2016 (UTC)
PLEASE HELP ME TO MAKLE THIS TABLE I HAVE A LOT WORKIGN AND IMPROVING THIS ARTICLE AND I NEED SOME THING LIKE THIS BUT WITH THE CHANGES I WANT CAN SOME ONE MAKE THIS TABLE FOR ME PLEASE?
I WANT TO USE THIS ON THE SPANISH WIKIPEDIA. CAN SOME ONE PLEASE MAKE SOMETHING THAT LOOKS LIKE THIS????? I BEG FOR SOME ONE HWO CAN HELP ME PLEASE.
--Cheposo (talk) 03:55, 18 May 2016 (UTC)
I'd appreciate an expert explaining to me why this edit made the table wider. I've built several of these tables -- see earlier in the same article, for example -- and the goal is to have minimal white space around the table entries, to avoid an unnecessarily wide table. The other examples in the article show what I'm trying to achieve. I tried removing the style=width entries and that didn't help. Evidently something is different about this table, but I can't figure out what it is. Thanks for any help. Mike Christie (talk - contribs - library) 20:08, 10 July 2016 (UTC)
Spring | Summer | Fall | Winter | |
---|---|---|---|---|
1988 | 50/1 | 50/2 | 50/3 | 50/4 |
2002 | 58/3 | 58/4 | 59/1 | 59/2 |
Issues of Weird Tales from 1988 to 2002, showing volume and issue numbers. Note that the four issues starting with Summer 1994 were titled Worlds of Fantasy & Horror. |
Spring | Summer | Fall | Winter | |
---|---|---|---|---|
1988 | 50/1 | 50/2 | 50/3 | 50/4 |
2002 | 58/3 | 58/4 | 59/1 | 59/2 |
Issues of Weird Tales from 1988 to 2002, showing volume and issue numbers. Note that the four issues starting with Summer 1994 were titled Worlds of Fantasy & Horror. |
I'm having no success with this table here, using "rowspan" so that the last line of items ("July 23, 2012"; "Universal Music Group"; "CD") also reaches the last row in the table ("France"). Can someone please help? Dan56 (talk) 22:10, 24 July 2016 (UTC)
I'm having a slight problem while trying to build a table for a home video release of a TV series. For some reason, I can't seem to make the header cells or whatever you call them line up.
Expand to see malformed tables
| ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| class="wikitable" style="text-align: center; width: 98%;" |- ! colspan="2" rowspan="2"| Set ! colspan="2" | Contents |- ! Episodes !! Shorts ! Blu-ray / DVD artwork ! Bonus features ! Audio commentary ! BD / DVD release date |- | rowspan="1" width="1%" style="background: #778899;" | | 1 | | | | | | |- |} renders as:
For some reason, all the header cells after the double height one will not format correctly. When I try to make them the correct height by adding {| class="wikitable" style="text-align: center; width: 98%;" |- ! colspan="2" rowspan="2"| Set ! colspan="2" | Contents |- ! Episodes !! Shorts ! rowspan="2"| Blu-ray / DVD artwork ! rowspan="2"| Bonus features ! rowspan="2"| Audio commentary ! rowspan="2"| BD / DVD release date |- | rowspan="1" width="1%" style="background: #778899;" | | 1 | | | | | | |- |} I end up with this:
|
Does anyone know how to fix this? Ideally, I'd like a few more of these "nested header cells" or whatever you call them, but is that impossible? Thanks, G S Palmer (talk • contribs) 17:32, 28 July 2016 (UTC)
Set | Contents | Blu-ray / DVD artwork | Bonus features | Audio commentary | BD / DVD release date | ||
---|---|---|---|---|---|---|---|
Episodes | Shorts | ||||||
1 |
Set | Contents | Blu-ray / DVD artwork | Bonus features | Audio commentary | BD / DVD release date | |||
---|---|---|---|---|---|---|---|---|
Episodes | Shorts | Audio 1 | Audio 2 | |||||
1 |
Hi, how do you split a table into two or more columns to avoid a long list and lots of white space? I'd like to do this to Regional League at this location [1] i.e. first column would be the 1944-45 to 1968-69 champions. Thanks. Eldumpo (talk) 06:58, 12 August 2016 (UTC)
Two questions:
Resolved: When editing Comparison of single-board computers I noticed quite a few existing instances where there is no pipe (|) or vertical bar between the cell parameters such as rowspan and/or data-sort-value and the cell data. The table seems to display and perform correctly. It appears the parsing rules allow cell data to get populated by a template. Is this behavior something we can expect will always work or should that article get fixed up to always separate the cell parameters and cell data with a pipe or bar?
Below is an example table. None of the cells use a pipe or bar between the parameters and data including a rowspan for column 3. Nearly all of the cells have their data inserted via templates. The exception is the middle cell on the second row where the parser must have decided the entire thing was data.
Col 1 | Col 2 | Col 3 |
---|---|---|
Cell 1-1 | Cell 1-2 | Cell 1/2-3 |
Cell 2-1 | data-sort-value=10 Cell 2-2 |
--Marc Kupper|talk 08:15, 19 August 2016 (UTC)
data-sort-value=10 Cell 2-2
has no pipe and no template which adds a pipe so none of the text is cell attributes. PrimeHunter (talk) 10:51, 19 August 2016 (UTC)
Most tennis stat tables follow the formatting I have in the top table here. The difference is that if we have a number column at all, the number column is after the result column. If I move the number column before the result column I don't want it to be colored at all. If I use white as background it's brighter than the rest of the default table color (I used F9F9F9 instead). Is there a simple way to suppress the No. column color that I'm missing? Thanks. Fyunck(click) (talk) 18:39, 26 August 2016 (UTC)
{{Tennis final row|7|Loss|15 January 2015|P|[[Sydney International]], Australia|Hard|CZE|[[Petra Kvitová]]||6–7<sup>(5–7)</sup>, 6–7<sup>(6–8)</sup>}}
. Then {{Tennis final row}} could add styling, flagicon and so on, and simultaneously change the styling in all articles using it. The "P" (for Premier) is the tournament category which should determine the background color. If wanted, "Loss" could also be shortened to "L", "Hard" to "H" and so on. PrimeHunter (talk) 20:54, 26 August 2016 (UTC)
I need help with the table please. The Kanji column needs more spacing so that all the Chinese characters fit into one line. What edit would be necessary? Thank you. Gryffindor (talk) 21:32, 2 September 2016 (UTC)
Is it possible for an entire cell in a table to be a link itself, so rather than using [[A]] inside the cell, is there code that lets the whole cell from top to bottom, left to right be one big link? -- AxG / ✉ / 10 years of editing 12:36, 24 September 2016 (UTC)
Hello,
What's the right way to create a table for production figures?
I'd like to create a new monthly production table for the T-34 article. However, the tables on Soviet combat vehicle production during World War II gave me a rough idea, thought, I want it closer to the orginial as depicted in the book. Have a look on the picture: http://i.imgur.com/QCCHaRi.jpg
I've started with some tryouts on my sandbox, but, I'm not sure if I'm doing it right: https://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/User:Dircovic/sandbox
Would love to have some help! Thanks in advance. Dircovic (talk) 07:26, 12 November 2016 (UTC)
Hi, I have a quick question regarding the {{diagonal split header}} template: is there a similar template for the diagonal line going "the other way" (i.e. top-right to bottom-left)? Skewb? (talk) 23:53, 2 January 2017 (UTC)
Hi there. How can an indent be introduced to move a simple table a bit to the right? Diceypoo (talk) 10:25, 25 February 2017 (UTC)
{|
. PrimeHunter (talk) 10:38, 25 February 2017 (UTC)1 | 2 |
---|---|
row1cell1 | row1cell2 |
row2cell1 | row2cell2 |
Is it possible to use rowspan="number" in Aux column? The example of table used is the one for anime episodes --Yukinotane (talk) 23:02, 12 April 2017 (UTC)
Aux1
parameter of Template:Japanese episode list in for example One Room (anime)#Episode list. The table formatting is done by the template which has no support for adding a rowspan. PrimeHunter (talk) 23:48, 12 April 2017 (UTC)This could be added to the page. Thoughts? Anna Frodesiak (talk) 18:36, 20 April 2017 (UTC)
What if the table is too wide? Ho to fix it? --Azot944 (talk) 19:17, 25 May 2017 (UTC)
Is possible the Scroll in horizontal?84.76.135.234 (talk) 13:53, 9 July 2017 (UTC)
While working on Atomic clock#Secondary representations of the second, I wanted to do decimal point alignment of a column to emphasize the order-of-magnitude differences between microwave and optical frequencies, and the nested table recommendation at Help:Table#Decimal point alignment is very awkward because you have to specify an explicit column width.
So I played around with CSS and came up with the following. (The example here is simplified by removing references and irrelevant columns.)
Atom | Frequency (Hz) | |
---|---|---|
133Caesium | 9 192 631 770 | exactly |
87Rubidium | 6 834 682 610 | .904 324 |
1Hydrogen | 1 420 405 751 | .766 7 |
87Strontium | 429 228 004 229 873 | .4 |
The column is actually two. The header cell specifies colspan=2
, while the body cells specify style="text-align:right; border-right:none; padding-right:0;"
and style="text-align:left; border-left:none; padding-left:0;"
, respectively.
This seems obviously superior to the nested-table construct, in particular letting the browser choose appropriate column widths, but before I go in and change the recommendation, can anyone see any reasons why it's not? E.g. should I leave the existing more awkward suggestion for some special cases? 71.41.210.146 (talk) 14:03, 27 September 2016 (UTC)
Atom | Frequency (Hz) | |
---|---|---|
133Caesium | 9 192 631 770 | exactly |
87Rubidium | 6 834 682 610 | .904 324 |
1Hydrogen | 1 420 405 751 | .766 7 |
87Strontium | 429 228 004 229 873 | .4 |
data-sort-type="number"
in the header. My limited tests like the below sort correctly by the full number including decimals. PrimeHunter (talk) 10:15, 28 September 2016 (UTC)Atom | Frequency (Hz) | |
---|---|---|
133Caesium | 9 192 631 770 | exactly |
87Rubidium | 834 682 610 | .904 324 |
1Hydrogen | 1 420 405 751 | .766 7 |
87Strontium | 429 228 004 229 873 | .4 |
1Hydrogen | 1 420 405 751 | .78 |
1Hydrogen | 1 420 405 751 | .7 |
Atom | Frequency (Hz) |
---|---|
133Caesium | 9 192 631 770
|
87Rubidium | 834 682 610.904 324
|
Hydrogen | 1 420 405 751.766 7
|
87Strontium | 429 228 004 229 873.4
|
1Hydrogen | 1 420 405 751.78
|
1Hydrogen | 1 420 405 751.7
|
Can anyone please suggest a better way to display difference between the two types of races. It's a bit of a bodge IMO. This is take from Chris Froome, but is used on a large number of others. BaldBoris 22:41, 20 September 2017 (UTC)
Grand Tour general classification results timeline | ||||||||||
Grand Tour | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 |
---|---|---|---|---|---|---|---|---|---|---|
![]() |
— | 36 | DSQ | — | — | — | — | — | — | — |
![]() |
83 | — | — | — | 2 | 1 | DNF | 1 | 1 | 1 |
![]() |
— | — | — | 2 | 4 | — | 2 | DNF | 2 | 1 |
Major stage race general classification results timeline | ||||||||||
Race | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 |
![]() |
— | — | — | — | — | — | — | — | — | — |
![]() |
— | — | — | — | — | 2 | — | — | — | — |
![]() |
— | — | 71 | 61 | — | — | 6 | 71 | 8 | 30 |
![]() |
— | — | — | — | — | — | — | — | — | — |
![]() |
— | — | DNF | 15 | 123 | 1 | 1 | 3 | 38 | 18 |
![]() |
— | — | — | — | 4 | 1 | 12 | 1 | 1 | 4 |
![]() |
— | — | — | 47 | — | — | — | — | — | — |
There is a glaring gap in wiki devices to tabulate these class/skin divisions which are otherwise described for several hundred tribes. Some are simple (but inadequately represented so far (see the makeshift at Kariera). At the moment, I'd appreciate if someone could give advice as to how one might tabulate the minimal data on the following source page here. Not all of that need go in (e.g. the circle/square design could be left to verbal description inside cells) of course. Thanks and sorry for the bother.Nishidani (talk) 11:57, 21 September 2017 (UTC)
When I encounter larger tables and I find myself in the middle or bottom of those tables I find myself wondering which column is which. Is there a way that the table headers could float down with the reader as the reader reads through larger tables? --EarthFurst (talk) 19:40, 19 October 2017 (UTC)
I few months back, I saw a User page that had a table or TOC rotated about 10 degrees (with the contained text correspondingly roatated at the same angle.
I would like to try that, but I neglected to copy down the source or page where I saw that.
Template:Transform-rotate just rotates the text, not the table, which is not what I want.
Any help?
IveGoneAway (talk) 17:18, 7 November 2017 (UTC)
Apologies if I skipped over it, but how do you create tables directly next to one another, on the same line? They are both two rows; one has two columns and one has three. If you need a visual, here you are:
Overall record | Last Meeting | Result |
---|---|---|
First meeting |
Pregame line | Over/under |
---|---|
TBA | TBA |
That's as close as I've been able to get it, but I need the table with white headers to be directly to the right of the table with red headers.
Any help is massively appreciated.
Thanks, PCN02WPS 21:06, 31 August 2017 (UTC)
Overall record | Last Meeting | Result |
---|---|---|
First meeting |
Pregame line | Over/under |
---|---|
TBA | TBA |
Is there anyone that can help me? It seems the size of the rows is glitching in a table I have created. Underneath "Album details", it is always a few pixels out of line on the very bottom line of each row in the column. I borrowed this wikitable format from the Iron Maiden discography page, and it seems to have the same row size glitch on that page in the Iron Maiden discography#Studio albums table, but strangely not the Iron Maiden discography#Live albums table. Even stranger, the glitch doesn't appear when I am in the "Show preview" screen while editing...
Year | Album details | Peak chart positions | |||||
---|---|---|---|---|---|---|---|
US Hard Rock |
US Rock |
US Top Sales |
US Ind. |
US Heat. | |||
2012 | The Palpable Leprosy of Pollution
|
— | — | — | — | — | |
2016 | The Elysian Grandeval Galèriarch
|
7 | 22 | 90 | 14 | 4 | |
"—" denotes releases that did not chart or were not released in that country. |
— Tha†emoover†here (talk) 03:35, 19 April 2018 (UTC)
The glitch doesn't appear to be showing up here, but for me it shows up at User:Thatemooverthere/Infant_Annihilator#Discography and at Iron Maiden discography#Studio albums — Tha†emoover†here (talk) 03:36, 19 April 2018 (UTC)
It is possible in the final row of the total? --Kasper2006 (talk) 08:47, 28 June 2018 (UTC)
The last table in § Non-rectangular tables is rendering broken in both Firefox and Chrome, and to be honest I can't figure out what it's trying to do in order to fix it. Here's the current example:
Year | Size | Year | Size | Year | Size | ||
---|---|---|---|---|---|---|---|
1990 | 1000 (est) |
2000 | 1357 | 2010 | 1776 | ||
1991 | 1010 | 2001 | 1471 | 2011 | 1888 | ||
⋮ | ⋮ | ⋮ | |||||
1999 | 1234 | 2009 | 1616 | 2019 | 1997 (est) |
Looking at the code... heck, looking at the table... I have no idea what it's trying to achieve, and why it would need to be a "non-rectangular table". -- FeRD_NYC (talk) 16:57, 18 June 2018 (UTC)
Perhaps we're seeing different things. Here's how it's being rendered in Linux Chrome, for me (this is actually a screenshot of the copy embedded above on the Talk page, but the rendering in the article is the same): https://imgur.com/a/Z5MJP3W -- FeRD_NYC (talk) 15:59, 28 June 2018 (UTC)
rowspan=5
attributes on each of the spacer title cells, but for you that is not being extended beyond that first row. Let's try to diagnose the browser effect. Does the following have "woof" only in the top row or vertically centered in the whole table?Year | Size | woof | Year | Size | woof | Year | Size |
---|---|---|---|---|---|---|---|
1990 | 1000 (est) |
2000 | 1357 | 2010 | 1776 | ||
1991 | 1010 | 2001 | 1471 | 2011 | 1888 | ||
⋮ | ⋮ | ⋮ | |||||
1999 | 1234 | 2009 | 1616 | 2019 | 1997 (est) |
Hi guys. I need help with creating a table based on this image. Anyone? --Saqib (talk) 10:06, 10 July 2018 (UTC)
A section | B section | ||||||
---|---|---|---|---|---|---|---|
1 | 1 | ||||||
2 | 2 | ||||||
3 | 3 | ||||||
4 | 4 | ||||||
5 | 5 | ||||||
6 | 6 | ||||||
7 | 7 |
A section | B section | ||||||
---|---|---|---|---|---|---|---|
1 | 1 | ||||||
2 | 2 | ||||||
3 | 3 | ||||||
4 | 4 | ||||||
5 | 5 | ||||||
6 | 6 | ||||||
7 | |||||||
8 | |||||||
9 |
A section | B section | ||||||
---|---|---|---|---|---|---|---|
1 | 1 | ||||||
2 | 2 | ||||||
3 | 3 | ||||||
4 | 4 | ||||||
5 | 5 | ||||||
6 | 6 | ||||||
7 | |||||||
8 | |||||||
9 |
Table | |||||||
---|---|---|---|---|---|---|---|
A section | B section | ||||||
1 | 2 | 3 | |||||
4 | 5 | 6 | |||||
7 | 8 | 9 |
Table | |||||||
---|---|---|---|---|---|---|---|
A section | B section | ||||||
1 | 1 | ||||||
2 | 2 | ||||||
3 | 3 | ||||||
4 | 4 | ||||||
5 | |||||||
5 | 6 | ||||||
7 | |||||||
6 | 8 | ||||||
9 |
I've noticed that on Football Player Club Statistics tables, the penultimate row is.. odd. Take for example Hugo Lloris. You'll notice that the "206" value (his total appearances for Tottenham) is not under the "Apps" column, and the total listed for this column, 0, is his Goals total. The cell for Tottenham Hotspur is rowspan 7, so it should be going one row further down, and thus shifting everything to the right location, but it seems something in the JavaScript is "fixing" this (I happened to notice due to a slower than usual page load which jumped the row one column to the left..). Any ideas if anything can be done to fix this? It's the same on a lot of other players too, and on some other tables I've seen that may be related to this issue. --Philk84 (talk) 21:48, 16 July 2018 (UTC)
For some reason, the tables at WP:Finland started overlapping with text? After a quick round of troubleshooting I have no idea what is wrong. Any help from more experienced editors? 86.115.14.101 (talk) 17:08, 22 July 2018 (UTC)
I have been editing since 2006, with over 7,000 edits. The section "Row operations" contained three subsections each of which contained only a link to another section in this Help Page, the gave absolutely no help at all. E.g. row alignment points to table alignment. I removed it in the hope of getting the attention of an editor who knows why this is so and who will insert text explaining why, when they restore this section. Sorry for the blunt knife, but even now I do not know how to alert expert editors to something that definitely needs clarification. I hope I have not offended, nor crossed some frobidden boundary, but I really think it is important to improve the "Row operaions" section with some comment such as "all rows must share common features with the entire table, so there are no distinct 'row operators' rather these operators are all 'table operators'." I would insert that myself but I am not sure that is true. Nick Beeson (talk) 11:58, 20 November 2018 (UTC)
Could someone who knows edit this help page to describe why
scope="row" style="font-weight: normal; text-align: center;"
centers the first four columns' text content but does not center the last three columns' text content which contain only digits? I could not find any explanation, and I do not understand this behaviour. Thanks, Nick Beeson (talk) 11:58, 20 November 2018 (UTC)
scope="row"
identifies a row header cell. It does not mean that adjacent code applies to the whole row. Code for a whole row is placed in the row declaration. PrimeHunter (talk) 18:55, 20 November 2018 (UTC)Hello,
I noticed a problem with the following table format:
{|class="wikitable floatright" !first row !style="width:12em"|second row !style="width:10em"|third row |- |item1 ||Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.|| At vero eos et accusam et justo duo dolores et ea rebum. |- |item2||Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ||Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. |}
first row | second row | third row |
---|---|---|
item1 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | At vero eos et accusam et justo duo dolores et ea rebum. |
item2 | Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. |
This table shows up nicely on the right side in Firefox (with text flow around it) but in Chrome the first row is extraordinaryly large and the table occupies the entire page width. Is there anything wrong with the syntax? I could not find an error. Thanks for any help! --Furfur ⁂ Diskussion 21:16, 20 February 2019 (UTC)
Hi folks. I'm struggling a bit with a table. Could someone advise me where I may have gone wrong? Also, how would I get the text to show "pending" rather than the red nominated? User:Mark E/Sandbox. Thanks! Mark E (talk) 12:44, 6 March 2019 (UTC)
|
in front of it, as on the last line of your table. If you are placing it on the same line of wikitext as the previous table cells, it needs two: ||
. To make a cell say "pending" you write {{pending}} - if you follow that link and scroll down, you'll see a long list of similar templates. -- John of Reading (talk) 13:08, 6 March 2019 (UTC)I'm copyediting Household, which has many, many tables running down the left side of the page. I'd like to arrange two or three narrow, related tables across the page to minimize whitespace, and haven't found instructions here or at WP:ADTABLE. Is there a way to do that? Thanks and all the best, Miniapolis 16:52, 15 March 2019 (UTC)
style="display: inline-table;"
to the opening of your table." PrimeHunter (talk) 18:03, 15 March 2019 (UTC)
Are there any best practices for how to represent true/false or yes/no values in a table? Some examples:
Person | Cool |
---|---|
John Smith | |
Jane Doe | ✓ |
Person | Cool |
---|---|
John Smith | No |
Jane Doe | Yes |
Person | |
---|---|
John Smith | Uncool |
Jane Doe | Cool |
The first seems clearest, but I couldn't find any guidance and can't actually recall seeing any tables set up like that, so I just wanted to get others' opinions. Thanks! ╠╣uw [talk] 18:57, 24 April 2019 (UTC)
Person | Cool |
---|---|
John Smith | No |
Jane Doe | Yes |
-- John of Reading (talk) 19:05, 24 April 2019 (UTC)
Is there a way to make the top row not stay out of the screen in long tables? Is it possible to make it follow the scrolling? I hope you know what I mean --Bageense(disc.) 14:56, 31 May 2019 (UTC)
How can i get a full detail on how to created my own page Jomolado (talk) 19:03, 30 August 2019 (UTC)
How may i understand that , without practice Jomolado (talk) 08:00, 31 August 2019 (UTC)
I need a practica that i can use to do my own to get more assurance Jomolado (talk) 08:02, 31 August 2019 (UTC)
I neeed a link on internet , that we bring more understand too me Jomolado (talk) 08:04, 31 August 2019 (UTC)
So that people i know may understand that, which we give me motivation to teach them on how to it , an if there is knw understnd about it there we be know knowlege about, i need a goood idea Jomolado (talk) 08:08, 31 August 2019 (UTC)
Hello,
The following type of table worked at least in July, but not anymore as the second header line does not render (header that says Column 1, 2, and 3). Something seems to have changed in MediaWiki? This has nothing to do with a browser.
Example table with code
| |||||||||
---|---|---|---|---|---|---|---|---|---|
{| class="wikitable sortable collapsed" |- ! colspan="3" | Top header |- ! Column 1 ! Column 2 ! Column 3 |- | Data 1 | Data 2 | Data 3 |}
|
If you remove either "sortable" or "collapsed", it renders the sub-header:
Example tables and code one with "sortable" removed andthe other with "collapsed" removed
| ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| class="wikitable collapsed" |- ! colspan="3" | Top header |- ! Column 1 ! Column 2 ! Column 3 |- | Data 1 | Data 2 | Data 3 |}
{| class="wikitable sortable " |- ! colspan="3" | Top header |- ! Column 1 ! Column 2 ! Column 3 |- | Data 1 | Data 2 | Data 3 |}
|
However, the first type of table did work just fine in July. What gives? Zarex (talk) 14:55, 2 September 2019 (UTC)
Could someone using Chrome check out the discussion we are having at Talk:Bianca Andreescu career statistics? When looking at the performance table... specifically the "Hardcourt Win–Loss" row, or "Overall Win–Loss" row, we have a user using Chrome that says some of the columns wordwrap. I have Chrome, Firefox, and Edge, with standard settings, and they all look perfect... no wordwrap. He uses Chrome and items such as 34–13 wraps itself. Just trying to figure things out. Thanks. Fyunck(click) (talk) 04:07, 10 September 2019 (UTC)
I'm working on a table (User:Kaiser_matias/sandbox1#Goaltenders), and for some reason the "Tournament" column is not sorting properly. It should work chronologically from the earliest/latest year, regardless of how many years are input, but for some reason it is messing up with the multiples. I have had this work before (see List_of_Olympic_men's_ice_hockey_players_for_the_Czech_Republic#Goaltenders for a most recent example), but am at a loss here. Kaiser matias (talk) 22:29, 2 November 2019 (UTC)
!scope="col" data-sort-type="text"|Tournament(s)
in the column heading per Help:Sorting#Forcing a column to have a particular data type. PrimeHunter (talk) 22:58, 2 November 2019 (UTC)
At Automobile drag coefficient we have a rather long but narrow table that has been manually divided into 3 parts and each part put into a 3x1 side-by-side table. As entries have been added, each of the 3 parts has become a different height and it looks very unprofessional. I tried joining them back into a single table and wrapping it with {{div col|colwidth=10em}} and {{div col|colwidth=30em}}. See https://en.wikipedia.org/w/index.php?title=Automobile_drag_coefficient&oldid=899773674 , I reverted this immediately. The results are passable but the headers are lost on the 2nd, 3rd, etc columns and multi-line cells are sometimes split between columns. Is there a better way to do this? Stepho talk 08:12, 1 June 2019 (UTC)
This table doesn't sort correctly:
Table that won't sort
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
References
|
How can I fix it? Chrisnait (talk) 16:36, 28 January 2020 (UTC)
rowspan="16"|United States
, should've been rowspan="15"|United States
, I've fixed it below, and added pure wikicode below that so you can copy-paste the whole thing if desired. As a rule, incorrect rowspan numbers break sorting, and cause mix-ups in rows and columns, so it's good to start debugging by checking to make sure all such figures are correct. Feel free to ask any additional questions if you have them. (please ping on reply)Table from above fixed with correct rowspan so that it sorts
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
References
|
wikitext to copy & paste
|
---|
{| class="wikitable sortable plainrowheaders" style="text-align:center;" |+List of tour dates with date, city, country, venue, references ! scope="col" style="width:11em;"|Date ! scope="col" style="width:13em;"|City ! scope="col" style="width:10em;"|Country ! scope="col" style="width:15em;"|Venue ! scope="col" style="width:5em;" class="unsortable" |{{Abbr|Ref(s)|References}} |- |{{dts|1 May 1969}}{{efn|name=1 May}} | [[London]] | England | [[Ronnie Scott's Jazz Club]] | <ref name="p340"/> |- |{{dts|9 May 1969}} | rowspan="3"|[[Detroit]] | rowspan="9"|United States | rowspan="3"|[[Grande Ballroom]] | <ref name="p85">{{Harvnb|McMichael|Lyons|1997|p=85}}</ref> |- |{{dts|10 May 1969}} | <ref name="p85"/> |- |{{dts|11 May 1969}} | <ref name="p160"/> |- |{{dts|13 May 1969}} | rowspan="3"|[[Boston]] | rowspan="3"|[[Boston Tea Party (concert venue)|Boston Tea Party]] | <ref name="p86">{{Harvnb|McMichael|Lyons|1997|p=86}}</ref> |- |{{dts|14 May 1969}} | <ref name="p160"/> |- |{{dts|15 May 1969}} | <ref name="p160"/> |- |{{dts|16 May 1969}} | rowspan="3"|[[New York City]] | rowspan="3"|[[Fillmore East]] | <ref name="p160"/> |- |{{dts|17 May 1969}}<br>(2 shows) | <ref name="p86"/> |- |{{dts|18 May 1969}}<br>(2 shows) | <ref name="p86"/> |- |{{dts|19 May 1969}}<br>(2 shows) | [[Toronto]] | Canada | {{sort|Rockpile, The|[[Masonic Temple (Toronto)|The Rockpile]]}} | <ref name="p86"/> |- |{{dts|23 May 1969}} | rowspan="2"|[[Philadelphia]] | rowspan="15"|United States | rowspan="2"|[[Franklin Music Hall#Electric Factory, 1968-1973|Electric Factory]] | <ref name="p86"/> |- |{{dts|24 May 1969}} | <ref name="p87">{{Harvnb|McMichael|Lyons|1997|p=87}}</ref> |- |{{dts|25 May 1969}} | [[Columbia, Maryland|Columbia]] | [[Merriweather Post Pavilion]] | <ref name="p87"/> |- |{{dts|29 May 1969}} | rowspan="3"|[[Chicago]] | rowspan="3"|[[Kinetic Playground]] | <ref name="p163"/> |- |{{dts|30 May 1969}} | <ref name="p163"/> |- |{{dts|31 May 1969}} | <ref name="p163"/> |- |{{dts|1 June 1969}} | [[St. Louis]] | [[Kiel Auditorium]] | <ref name="p163"/> |- |{{dts|5 June 1969}}<br>(2 shows) | rowspan="2"|New York City | rowspan="2"|Fillmore East | <ref name="p87"/> |- |{{dts|6 June 1969}}<br>(2 shows) | <ref name="p87"/> |- |{{dts|7 June 1969}} | [[Lake Geneva, Wisconsin|Lake Geneva]] | Majestic Hills Theater | <ref name="p87"/> |- |{{dts|8 June 1969}}<br>(2 shows) | [[Minneapolis]] | [[Guthrie Theater]] | <ref name="p87"/> |- |{{dts|13 June 1969}}{{efn|The concert on 13 June 1969 was apart of Magic Circus.<ref name="p163"/>}} | [[Los Angeles]] | [[Hollywood Palladium]] | <ref name="p163"/> |- |{{dts|17 June 1969}}<br>(2 shows) | rowspan="3"|[[San Francisco]] | rowspan="3"|[[Fillmore West]] | <ref name="p88"/> |- |{{dts|18 June 1969}}<br>(2 shows) | <ref name="p88"/> |- |{{dts|19 June 1969}} | <ref name="p88"/> |} |
References
Is there any simple way to generate the total for a numeric column? GhostInTheMachine (talk) 10:09, 7 March 2020 (UTC)
Hi, I'm maintaining this table and I noticed that on mobile when the screen is narrow the caption of the table uses only the first column. Basically if the width of the browser is less than 720px the caption uses only the first column. Otherwise, it spans all the columns. Any way to fix this? -- ChaTo (talk) 08:22, 1 April 2020 (UTC)
display:inline-table;
the problem was solved on my iphone X in Safari browser in portrait mode. Latest version of iOS.display:inline-table;
What have I done wrong here? The table fields for year/artist/album collapse in a way that doesn't seem to happen when I've used this table elsewhere. --Prosperosity (talk) 23:48, 5 May 2020 (UTC)
|- | style="display:none;" colspan="4" | <!-- Hidden row without a header cell to avoid sortable fail -->
Under Help:Table#Setting_borders, in the second example, the wikitext includes
|- |- style="text-align: center;"
The first of those lines would seem to denote an empty row (no cells), but the accompanying prose doesn't say anything about it, and the generated HTML doesn't have an extra, empty tr element. So is it just a sort of 'spacer' in the source? Jmdyck (talk) 02:01, 20 May 2020 (UTC)
Left | Center | Right |
---|---|---|
Bronze star | Gold star | Green star |
Left | Center | Right |
---|---|---|
Bronze star | Gold star | Green star |
I cannot find anything about transposing (swap columns and rows). Is this even possible?--89.206.112.10 (talk) 18:47, 6 April 2020 (UTC)
Header 1 | Header 2 | Header 3 |
---|---|---|
row 1 cell 1 | row 1 cell 2 | row 1 cell 3 |
row 2 cell 1 | row 2 cell 2 | row 2 cell 3 |
Header 1 | row 1 cell 1 | row 2 cell 1 |
---|---|---|
Header 2 | row 1 cell 2 | row 2 cell 2 |
Header 3 | row 1 cell 3 | row 2 cell 3 |
It the captions section it says "Wikipedia Manual of Style considers them a high priority for accessibility reasons" but when an editor uses the button on source editor to insert a table, there is no caption by default, and it's not even one of the checkbox options, they need to know to type in a "|+" line manually. Can the caption line be added to this, and checked by default or non-optional, please. Irtapil (talk) 13:06, 9 June 2020 (UTC)
Dear Editors. Could you possibly help with how to set the banding for tables: i.e. should every 2nd line be red? (If I set the color line by line, I have to rewrite the rows one by one when expanding the table, so that there are no red rows next to each other, for example. There is such a function in Excel, I would like something like this: [7]) 12akd (talk) 05:52, 10 June 2020 (UTC)
class="mw-datatable"
allows for row highlighting. When a cursor hovers over the table, that row over which the cursor is on will be highlighted. This makes it easier to follow the data and info across a row, especially in wider tables.@Timeshifter: Thank you very much for your help! I wish you more good work! 12akd (talk) 12:38, 10 June 2020 (UTC)
It is only good for fairly short tables, but take a look at the {{Alternating rows table section}} template. — GhostInTheMachine talk to me 17:45, 10 June 2020 (UTC)
@PrimeHunter:, @GhostInTheMachine: I apologize for the late reply, but I haven’t looked at this page lately. I can’t fully follow the complicated discussions on the links above - but I think the last solution “Alternating rows table section” will be appropriate. In fact, banding is a widespread practice outside of Wikipedia that makes it easier to distinguish individual lines. I would use it in this table (so that you don't always have to color the rows one by one): https://hu.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/Magyar_lexikonok_list%C3%A1ja 12akd (talk) 04:05, 25 June 2020 (UTC)
.litetable tr:nth-child(even){
background: #F0E68C;
}
class="litetable"
. It would be a sitewide feature with a fixed color. Similar code [8] was rejected here. The suggested color #f7f8ff
was similar to the default background color in the wikitable class so it wouldn't have worked for them. PrimeHunter (talk) 07:55, 25 June 2020 (UTC)@PrimeHunter: Thanks for the feedback. Yes, it should be something (at least 1 variety) that 2 similar colors alternate. (Maybe they'll do it one day.) 12akd (talk) 08:02, 25 June 2020 (UTC)
I have been working on converting bare lists of aircraft on aircraft manufacturer articles to formatted tables. (e.g. before and after) This generally improves the article, but unfortunately the one problem I have been running into is that the table ends up creating a bunch of empty white space on the right side of the article on non-mobile versions. Is there a way to wrap the table into two or more columns so that there is not a waste of space? Essentially, I am thinking of some version of the div col template for tables that doesn't break the formatting. Ideally, it could stretch the title/caption across all the columns, but repeat the headers. For what it's worth, my problem is much the same as the one mentioned in the section above. –Noha307 (talk) 22:40, 25 March 2020 (UTC)
Javascript for snaking table
|
---|
var someDiv = document.getElementById("cont"); var someTable = document.getElementById("tbl"); var addedTable = document.createElement("table"); someDiv.appendChild(addedTable); addedTable.setAttribute("id", "addedTable"); addedTable.innerHTML = someTable.innerHTML; var rows = someTable.getElementsByTagName("tr"); var rowsCopy = addedTable.getElementsByTagName("tr"); for(var i=1;i<rows.length;i++) //needs to be 1 instead of 0 to account for headers { if(i>(rows.length/2)) { rows[i].style.display = "none"; }else { rowsCopy[i].style.display = "none"; } } |
Hi all,
I recently edited this table to include rowspans but I must have broken something in the code as it no longer sorts. I've tried what I thought of as obvious fixes but nothing so far has worked.
I also edited List of top international men's football goal scorers by country#Other countries' players and that doesn't have the same problem otherwise I'd just chalk it up to a rowspan error. Does anyone know (a) what I've done wrong and (b) how to fix it!?
Many thanks
Felixsv7 (talk) 15:22, 21 July 2020 (UTC)
With the centering style suggested in this article it seems to center the beginning of the text, instead of the middle, for collapsed tables of the wikitable mw- class. https://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/Hormone_replacement_therapy displays this issue quite well. What would be the appropriator styling for such tables? 8ya (talk) 05:15, 24 July 2020 (UTC)
style="margin: 1em auto;"
- Then see how it transcludes.
The scope attributes for header cells are not optional on Wikipedia. By explicitly marking a cell as a header with a scope of either row or column, it helps ensure that as many screen readers as possible will correctly identify the header cell. There is a good example at H63: Using the scope attribute to associate header cells and data cells in data tables] which shows how the technique helps particularly in cases where the natural row header is not in the first column.
When the guidance in MOS:DTT was written, there were significant variations in how screen readers handled table headers and a useful survey can be read here:
Although today the latest models of screen reader have much improved functionality and are generally more consistent among themselves, using scope is still a sensible markup because the cost of screen readers like JAWS means that many users still have older versions. We still have consistent advice across the web to use scope for the benefit of screen readers:
The advice here is obliged to accurately reflect the guidance in MoS, not present an idiosyncratic alternate view. --RexxS (talk) 15:44, 13 August 2020 (UTC)
Web Content Accessibility Guidelines. An editor, User:RexxS keeps deleting info from Web Content Accessibility Guidelines concerning scope. And also info from an admin who uses a screen reader. See diffs: [9] and [10]'
Here is the version of the article with that info.
RexxS links to Wikipedia:Manual of Style/Accessibility/Data tables tutorial which is neither a guideline, nor a policy, according to the banner at the top.
Here is the section that RexxS keeps deleting:
The same admin in an August 2020 discussion about the same set of tables, but where the row headers were changed to data cells: "There are no problems with those tables, and having the row headers replaced with data cells makes no difference." See: H63: Using the scope attribute to associate header cells and data cells in data tables | Techniques for WCAG 2.0. It is from the Web Content Accessibility Guidelines of the World Wide Web Consortium (W3C). It states: "For simple tables that have the headers in the first row or column then it is sufficient to simply use the TH elements without scope." So the scope markup is not needed in simple wikitables using |
RexxS wrote the remaining part of that scope section. --Timeshifter (talk) 16:15, 13 August 2020 (UTC)
class=left-align-first-column
and class=left-align-2nd-column
- (when a rank column is the first column).Adding scope tags is extra work". Yes it is. Adding captions is extra work. Marking up lists as lists is extra work. Observing MOS:LISTGAP is extra work (at least for you). Improving accessibility is extra work, and if you're unwilling to do that extra work, you need to keep away from accessibility issues. Fortunately, most editors are willing to do a little extra work if it means we ensure accessibility gains across the encyclopedia. --RexxS (talk) 21:35, 14 August 2020 (UTC)
Is there any reason while the example use the {{!}} syntax is used on the page instead of the simple |. Surely Readability is the more important consideration on a Help page.--ClemRutter (talk) 13:07, 13 October 2020 (UTC)