Help talk:Table/Archive 1

Latest comment: 4 years ago by BetaNew in topic Two tables
Archive 1 Archive 2 Archive 3 Archive 5
(Topics from April 2006 - Dec 2007: archived 10-Apr-2009)

Topics from 2006

Meta:Help:Table authors and history

2003-2005 activities on Meta archived here. -- Omniplex 22:45, 13 April 2006 (UTC)

How to add | or || visibly into a table

I'm doing a table that needs the use of the character "|" and possibly the string "||". But wikipedia interprets those as table syntax, so how would I add those in? Fresheneesz 21:08, 13 April 2006 (UTC)

Use &#123, &#124, &#125; for {, |, } if you don't want them to be interpreted as wikitext / template characters - I've listed all three because 123, 124, 125 for {, |, } is easy to remember. Of course you can always use <nowiki>|</nowiki> to protect characters from interpretation as Wiki markup, magic word, etc. -- Omniplex 22:36, 13 April 2006 (UTC)
Excellent, i'll add that on this page somewhere. Fresheneesz 02:03, 14 April 2006 (UTC)

How to have a table inline

I want to insert a 2-row table inside a line to list a date, in two calendars (say Gregorian and Coptic), instead of writing date-1 then date2. What do I need to declare to avoid line breaks before and after the table?
I want to put such code in a template that takes the two dates as parameters.
Too bad that Math:Fract does not accept parameters. --Shafei 19:35, 28 May 2006 (UTC)

Colors in a whole column

Binary .Dec. .Hex. Glyph
0100 0000 64 40 @
0100 0001 65 41 A
0100 0010 66 42 B
0100 0011 67 43 C
0100 0100 68 44 D


Is there a way to define parameters based on column rather than row? For example I want a table that looks something like this:

But I don't want to have to define style="background:lightblue;" for every cell. Is there a way to do this? Fresheneesz 03:02, 2 June 2006 (UTC)

Re merge from Wikipedia:How to use tables

Support: Wikipedia:How to use tables doesn't actually explain how to use tables; rather it covers a couple of subtopics. --Singkong2005 (t - c - WPID) 05:30, 29 June 2006 (UTC)

Support: It's also mostly to do with Html markup rather than wiki syntax. --Daduzi talk 16:05, 8 July 2006 (UTC)

Support per Singkong2005. --Siva1979Talk to me 19:12, 15 July 2006 (UTC)

SupportOmegatron 23:07, 15 July 2006 (UTC)

Reject -- This article is already quite long. Perhaps that article could focus on the basics of wiki-table making, and this one could focus on advanced table making. There could be a third article on how to translate HTML tables into Wiki Tables.--*Kat* 12:16, 29 July 2006 (UTC)

Support. They belong together. - Samsara (talkcontribs) 10:52, 2 August 2006 (UTC)

I think we should close this as "merge". - Samsara (talkcontribs) 10:54, 2 August 2006 (UTC)

Oppose, but I think that Wikipedia:How to use tables should be more of a guide on where tables are appropriate in an encyclopedia and Help:Table should be more of a how-to. JYolkowski // talk 14:31, 7 August 2006 (UTC)

I've moved Wikipedia:How to use tables to Wikipedia:When to use tables and removed all of the how-to stuff. Wikipedia:How to use tables has been turned into a disambiguation page that points both here and there. JYolkowski // talk 01:56, 9 August 2006 (UTC)

How to place a text or an image at the corner of a cell?

For example align to bottom left? is it possible? --ComradeWolf 20:42, 23 July 2006 (UTC)

Yes, it is possible. --Siva1979Talk to me 21:43, 28 July 2006 (UTC)


Follow up question

Could somebody please point to a very simple example showing a 3x2 table with an image aligned bottom left in the middle column, second row. The table can have "anything" in the other cells.

Thanks for the helpful answer, in the help section, Silva. --Garrie 05:01, 2 August 2006 (UTC)

Seperate question

I would like to have a table with no visible borders internal or external to just lay out some text. But I want the text to spread over the whole line (ie it should be as long as the vertical line between sections on this talk page). I have this: (but I don't know why it's the last thing in my post either! that's not where I wanted it, I want it ABOVE the line "Questions:")

Column 1 The next column Column 3

Questions:

Do I need the "td and /td" at the start and end?
My width tags just make each column the same size. How do I make the row take the whole available line rather than the minimum available space, without abusing the cellpadding tag?
How do I get it to show up in the right place (tm)

Real helpful answers will be appreciated. I know - at least I didn't ask is it possible to..., but again I have been speaking English since I was very young and writing it since I was only a little older. --Garrie 05:01, 2 August 2006 (UTC)

Note: In this original 2006 post, the author omitted the closing |} at the end of the table, causing the table to display at the end of the post, as the author noted at the time. As more sections were added, the table continued to move to end of this talk page. The missing table-closing markup caused more errors when another user added another table. In order to fix everything, I have inserted the missing |}, so the table now displays in the right place.Anomalocaris (talk) 08:04, 21 June 2018 (UTC)

Keeping data together

I'm working on a page for Weird Mystery Tales, an anthology comic with 3-4 features per issue. I modeled the table on the one for Marvel Presents, but the challenge here is making it clear which artist, writer, host, and note goes with each story. I couldn't find any help on the page. Asterisks as bullets faile, colons failed. Now it looks like Berni Wrightson drew "The Wizard's Gift", whcih wasn't credited, and probably from before Wrightson had a professional career. Scottandrewhutchins 16:12, 19 August 2006 (UTC)

How do I merge boxes?

http://en.wikipedia.org/wiki/Gujarati_language#Simple

The 1st/2nd person singulars are the same, and the singular and plural 3rd persons are the same, so I'd like to merge them. How can that be done? Tuncrypt 11:45, 7 September 2006 (UTC)

Rows with different numbers of columns

I'm trying to make a table with six columns on top, and four on bottom. I've gone through everything, and I just can't make the bottom four expand to fill the whole table.

Here's the table: [[1]]

Feel free simply to edit it. I don't know what to do. Zweifel 02:19, 19 September 2006 (UTC)

I'm not sure what you wanted. But I took a stab at it and changed it in place. — EncMstr 03:43, 19 September 2006 (UTC)
Hey, thanks for taking a look. No, actually, I want to stretch out the bottom part to be as wide as the rest of the table. For some reason, Wikitext doesn't allow columns to be broken. Oh, and if possible I'd like the text to be as small as possible.
In fact, I hope this doesn't tick you off, but this is the exact opposite of what I wanted to do. It's just a whole separate table at the bottom now, the text is bigger, and the table itself is much larger because many of the entries take up more than one line. The whole point of stretching it out was to reduce space. I want it thin and elegant, with as little verticle space as possible.
I wanted to keep "Smaller Parties" as one bar across, and then below it have a four-column table (unlike the six above) as wide as the table above. Everything I tried either pushes it to the left or squeezes it in the middle. Is there some formatting where you can specify, "stretch"? ....Zweifel 03:46, 19 September 2006 (UTC) --..-- yeah, I hope that didn't tick you off. It's just that I worked on it four hours and it just wouldn't work. Damn I've had a long day.
Hey no problem. At least now it's clearer what you wanted—I think. On one hand you want it smaller, but on the other you want it wider? Breaking columns is a feature of tables: otherwise why use them?
So why not two tables? In my version, I put in a table width restriction to make the columns line up. How close are we if that is removed? (Take a look now.) — EncMstr 04:35, 19 September 2006 (UTC)
Sweet! Seriously. I guess I was just worried that by having two tables, something would go wrong. So the way it is now is pretty good. I'd like it if the borders were more clear, but whatever. The main thing is making the text smaller. Now, when I went to some random page to steal their table formatting, it came with the following: {| border="1" cellpadding="4" cellspacing="0" class="references-small" style="border:1px solid #aaa; border-collapse:collapse". I'm not altogether sure how, but that made it smaller. Meanwhile, Wikipedia's website is so unconscionably slow right now -- I have no idea why -- which makes screwing around with these things much more taxing. So I put another version of the table below (if it ever loads, that is)...and hey! That looks pretty good! Go check it out! Other than the borders in the empty corner, that's pretty damn sweet. NICE!
So other than formatting the links and what not, I think we're good to go! Okay! So, I think it will take about 45 minutes to write. Stay tuned for The Transformation of Italian Politics, 1990-1996!
Thanks again for your help, man. ...Zweifel 07:45, 19 September 2006 (UTC)

Text in the vertical direction

I'm working on a table for census questions. Some of the questions are long but the answer is very short. For instance I'd like a collum header to say "Age at first marriage" and then below will be entered 19, or 25. To keep from using excess space I'd like the header to run vertically up the screen. Is there a way to do that? Fern Forest 06:00, 28 September 2006 (UTC)

Do you mean like this?:
Age
at
first
marriage
Another
long
question
Yet
another
long
question
etc.
another
long
question
19 27 54⅜ 17.29
25 42 108 343
etc. etc. etc.
EncMstr 06:52, 28 September 2006 (UTC)
Actually I'd like the text to read from the bottom up, much as this text is from the left to the right. Enabling the first column to be only 2 or 3 digits in width.
I suppose I could make a gif image of the text and get that in there but I was hoping there'd be a simpler style command.Fern Forest 03:58, 30 September 2006 (UTC)
I don't understand. Is there an example you can point to? — EncMstr 04:58, 30 September 2006 (UTC)
  Fern Forest 05:55, 30 September 2006 (UTC)
Now it's clear. I don't know of a way for a table (wiki or HTML) to do that. I looked for it being done successfully, but couldn't find any examples. I checked the math expression writer, the html references, and tried several mad science experiments with wikitables. Sorry. — EncMstr 06:49, 30 September 2006 (UTC)
Thank you for your effort. I guess I'll put it in as a feature request. Fern Forest 08:19, 30 September 2006 (UTC)


Syntax for applying styles to all table rows and/or table cells?

I'm wondering if there is a way using wiki syntax and using inline CSS and not a stylesheet to specify styles for all resultant <tr> and/or all resultant <td> in one place as opposed to having to copy for each row and/or cell? MikeSchinkel 07:34, 2 October 2006 (UTC)

Background Images

How do I give a table a background image? All the CSS values I can think of seem to be blocked from usage.--mm3guy 17:56, 3 October 2006 (UTC)

Dreamweaver Extension?

Is there an extension for Dreamweaver or any other standard webpage editor that will code tables (or any other wikified HTML elements) in Wiki syntax? Please reply to my account by email - I'm very interested in this. --Erielhonan 01:48, 22 October 2006 (UTC)

How to make a long list have two columns so that you cut down on length?

Ok. I got this table as below. It is very long. So I want it to have two sets of columns. Instead of there being just 'year' and 'album', I want it to have 'year', 'album', 'year', 'album', so the long table becomes half the original length. You get what I mean? Do you know how to do this? Gimme somma idea. Thx. AppleJuggler 08:25, 23 November 2006 (UTC)

Year Album
1977 16 Vayathinile
1982 Moondram Pirai
1985 Sindhu Bhairavi
1985 Mudhal Mariyathai
1986 Mouna Ragam
1986 Punnagai Mannan
1987 Enga Ooru Paatukaran
1987 Nayakan
1989 Karakaatakaran
1990 Mannan
1991 Thalapathi
1991 Guna
1997 Kadhalukku Mariyadhai
2000 Bharathi
2002 Azhagi
2005 Athu Oru Kanaa Kaalam

Like this:

Year Album Year Album
1977 16 Vayathinile 1985 Sindhu Bhairavi
1982 Moondram Pirai 1985 Mudhal Mariyathai

etc.etc. But if you want to know - probably - if it is possible to make it automatically - I would like toknow it as well. -jkb- 08:32, 23 November 2006 (UTC)

That's right. I was thinking if it could be done automatically, rather than manually as you've done (perhaps by inserting some special function like {col=2} or something like that). Thanks for the format you provided though, I think I will use it for the time being! AppleJuggler 05:10, 24 November 2006 (UTC)

Improving lay-out

Can anybody have a look at the template used at 2006 European Athletics Championships? When it comes to the event by event medal sections there is a difference between the widths of the gold/silver and bronze sections. It also varies when you add another similar table for instance when adding a womens section. In that case the both tables vary in total width, but also the width between gold/silver/bronze in the same table as in the other table are different everywhere. I was wondering whether this could be improved so these tables would give the same widths all the time, which in my opinion would look a lot better. Thanks, SportsAddicted | discuss 12:04, 23 November 2006 (UTC)

class="wikitable sortable"

There is nothing here about the new sortable tables. Can someone please add instructions on how to use it, as I currently have no idea, and it would be very useful for our WikiProject. -Runningonbrains 18:57, 29 November 2006 (UTC)

See Help:Sorting.--Patrick 14:44, 23 December 2006 (UTC)

Mirror Line with column

i got a list of 40 words in alphabetic order. If i do a table with say 5 columns the words appear alphabetic in a line. But i want the words to be alpabetic in a column. How can this be done, without mixing up the alphabetic list? I want to "mirror" the line with the column. I want the words to be alphabetic in a column because, the gaps between the words in a line differ, the gaps in a column are always the same. So it would be easyer to read the alphabetic list column by column. Can someone please help? The gaps between the the columns are the same because i used width="200pt".

Aaa AbbSDFe Acc Axadge Baa
Baa Bbb Byydfhearzha C C C C
Caaaaaaaaaaa Cbb DD U Z1

-- 172.158.6.149 19:27, 11 December 2006 (UTC)

Topics from 2007

A Few Qs

Ok, so first question: is there an easy way to make sure the columns are the same width?

Yes, specify the width as a attribute. See the previous topic source (click on "edit") for an example of five columns forced to 200 pixel width.

Second: Can you say a column shoud be X% of the entire table?

I don't think so directly. But indirectly, each can be set to a percent of the available width for the table.

Third: Can you say I want this table in the center, but it should not float

That's explained in Help:Table#Centering_tables, though the solution is obscure.
1 2 3 4

Fourth: What is class (I think it's class, at one point in the multiplication table it says something like class="wikitable")?

It invokes a collection of styles for elements like border style, width, font, color, etc. Dig through your (and the system) monobook.css and the various .css's invoked to find the defined elements and other possible class styles.

Thanks for any help! Danielfolsom 03:57, 2 January 2007 (UTC)

You're welcome. —EncMstr 18:04, 2 January 2007 (UTC)

HTML - much easier

The point of Wiki Code is to make it easier for non technical users - but in this case HTML is so much easier. I so no point of the pipeline syntax. Comperr 23:35, 7 January 2007 (UTC)

I find HTML easier for any task than any other code. Its quick, easy and does the job quick.. The tables on wikipedia are so complex..i just ignore them! Fethroesforia 01:08, 20 January 2007 (UTC)

Help

So this page says you should put quotes around everything (like border="1") - but for some reason on this page (my own) whenever I put quotes around the values it doesn't work (and when I take out all the quotes it does) - feel free to fool around with it, as long as it can wind up how it was - (Note:the ones that significantly change things are border, cellpadding, and the rowspan of the long section). --Daniel()Folsom T|C|U 17:48, 15 January 2007 (UTC)

Help needed in Principles of User Interface Design

I toyed with the tables, but couldnt get them working properly. Help is appreciated. --Ronz 17:00, 29 January 2007 (UTC)

I took one guess at what might have been intended. —EncMstr 17:31, 29 January 2007 (UTC)
Thanks! --Ronz 19:33, 29 January 2007 (UTC)

Wiki Table in If statement

I am trying to put wiki table in #if: statement but when a value for the variable is not found or a space character is found instead of skiping the display of any cell at all, I get empty cells. In many working templates, I have seen that instead of wiki table, HTML table is used in #if:

Are there any technical obstacles in using wikitable with wiki syntax's If statement? Is it necessary to use HTML table in If statement?

Szhaider 06:05, 6 February 2007 (UTC)

I want different sized cells in each row

I would like to have different sized cells in each row (width only). Is this possible? I would like each cell to be the size of its contents, not the size of the largest cell in that column. - Peregrine Fisher 19:33, 22 February 2007 (UTC)

I'm unclear what you mean. Assuming you wrote exactly what you meant, here's what it seems to say:
short longer much longer extremely very longer
not so short short much longer extremely very longer
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
Is that right? —EncMstr 02:31, 23 February 2007 (UTC)
It looks exactly how I would like it to look, but it's doing it by having multiple tables. I want to combine this with the new class="sortable" function, and I think this won't work with that. - Peregrine Fisher 17:15, 26 February 2007 (UTC)


Efficient way to add rows or columns to a table requested

Hi! I'm looking for a way to easily edit a table I made here: from time to time I add new columns (i.e. new adjectives) and this takes more and more time as the table grows bigger. What is the fastest way to add scientific adjectives (i.e. vertical columns) to the table and keep the alphabetical order? For now I copy/paste all new items to the columns of all sciences.. Help is much appreciated, please reply here and/or below. Thanks! Best regards, Brz7 18:33, 28 February 2007 (UTC)

Is it the case that new adjectives are added more frequently than new disciplines? In that case, invert the table so only a row need be added for a new adjective, a trivial edit.
If that's not acceptable, use an HTML editor on the table to add a new column, then save the HTML markup for the table. There are some HTML to wikitable markup converters available, if you want the article to be written that way, but HTML table markup works too on a wiki page. —EncMstr 01:09, 1 March 2007 (UTC)
Thanks! Yes the second scenario is the case: I found a HTML to Wikitable convertor (HTML::WikiConverter, hopefully it works nicely) which I'll use next time I'll edit the table. Best regards, Brz7 14:23, 8 March 2007 (UTC)

I would like a blue bullet in my table

Is there any way to get make a standard blue bullet in a table, one that looks like:

  • <-this

- Peregrine Fisher 20:26, 7 March 2007 (UTC)

Yes,   you   can.   Just   use image:Monobook-bullet.png.  EncMstr 22:44, 7 March 2007 (UTC)
Cool, thanks. I put it together with class="sortable" and <span style="display:none"> and some other stuff and have created a frankenstein table that looks like a sortable imdb filmography here. - Peregrine Fisher 23:34, 7 March 2007 (UTC)

Differences between browsers

Sometimes I make a table look good in my browser (Opera), and when I check it in another browser, it doesn't look right. Basically, Opera and IE seem to match up well, but then Firefox will display it very poorly. here is an example that fixes it for firefox. Basically, the width of the columns has to be specified. Now, this messes up the table in Opera, which is OK I guess because we're so few in number. Is there some general explanation so I can work in an informed manner without having to check a page in each browser? Also, it seems silly that firefox can't display a table which autosizes its columns, or is this our fault? - Peregrine Fisher 00:03, 10 March 2007 (UTC)

I'm not sure what the problem is. I looked at several recent versions of List of Drake & Josh episodes and didn't seen any layout difference in Firefox 2.0, IE 6.0, and SeaMonkey. I varied my browser width from 500px wide up to 1280px in each case, and tried it logged in as well as anonymously. What does "not look right" mean? —EncMstr 01:18, 10 March 2007 (UTC)
In Opera, this version; the furthest right cell in the top row in each entry (containing: "Pilot" January 11, 2004 101 1 1) doesn't align on the right with the cell on the bottom (containing: Drake gets shocked when he moves in with Josh, and he mocks him with his hysterical secret.) Maybe Template:Episode list needs to be adjusted. Opera is like 1% or browsers, so it doesn't matter much. This version in firefox doesn't show the cell seperators for the first five entries or the header, then shows them for the sixth entry. - Peregrine Fisher 02:29, 10 March 2007 (UTC)

wikitable sortable

Where can I go to make a suggestion for wikitable sortable? I think it could be quite usefull for lists of titles (films, novels, etc.), but I was wondering if it's possible to have it ignore the words "the", "a", and so on at the beginning of the title, as is commonly done when sorting films alphabetically. Esn 07:33, 11 March 2007 (UTC)

You can do it ugly style with <span style="display:none">what_you_want_it_sorted_by</span>what_shows_up. I did a little test run incorporated into a template at User:Peregrine Fisher/Workspace/ActingFilmography-tv, with the result being the first tabel at User:Peregrine Fisher/Workspace/Testpage. - Peregrine Fisher 08:11, 11 March 2007 (UTC)

Sorta Broken?

class="sortable wikitable" worked well when I set up the table Nilgiris_(mountains)#List_of_peaks_in_the_Nilgiri_Hills and others I learned from by example, but now they only sort the first column. Has something changed or did I just make an error? Any sortable wikitable guru please help!Marcus 19:51, 26 September 2007 (UTC)

I made changes which removes the empty fifth column, and makes all remaining four columns sortable. There are other issues with empty fields and how context is lost after sorting, so look it over carefully—a revert might be in order. —EncMstr 20:26, 26 September 2007 (UTC)

Multiple tables in one row

I have a table that's rather long and narrow (only two columns). I'd like to split it in two parts and display them side by side, so instead of one table that's a page long and big empty space next to it I have two shorter tables running in parallel. What's the best way to do this? --Itinerant1 19:24, 19 March 2007 (UTC)

Wiki markup Table

What the hell has happened to the Wiki markup type table. Has the formatting changed ? It looks awful and was much better the way it was before. 195.137.109.177 10:29, 24 March 2007 (UTC)


Where is help for class="wikitable"?

Hi. This page is obviously rather out of date, considering that all over the wikipedia nearly all tables in heavily-maintained pages have been updated to make use of class="wikitable." But for those of us who don't really know much about CSS, where on earth is the basic page for class="wikitable" styles? Doops | talk 08:03, 26 March 2007 (UTC)

Yes, where, please ? i's been searching too. Yes, like the doc for things such as style="width: 100%; text-align: center; font-size: smaller; table-layout: fixed;" (pls don't reply that they are self-explanatory) --Jerome Potts (talk) 21:02, 27 November 2007 (UTC)

I need help with this too. The table i want to use on the examples page just says "wikitable" and I don't know what I need exactly to being able to use that on my own wiki site. Bluesoju (talk) 11:15, 2 February 2009 (UTC)

Wikitable is a CSS class for a table style. To use it on another wiki, you need to import the wikitable section from MediaWiki:Common.css. --—— Gadget850 (Ed) talk - 12:00, 2 February 2009 (UTC)

After finding this: http://mwusers.com/forums/showthread.php?t=5015 I went here to post about it, but looks like you beat me to the punch. Either way thanks for being helpful :D Bluesoju (talk) 13:34, 2 February 2009 (UTC)

Make line thicker

Is it possible for one column line to be darker? Epson291 05:52, 14 April 2007 (UTC)

Floating tables good or bad??

The page says

Do not, under any circumstances, use "float" to position a table.
It will break page rendering at large font sizes.

Yet one paragraph below, it is explained how to produce a floating table. I think either the negative advise or the how-to should be removed Jasy jatere 23:27, 26 April 2007 (UTC)

Well, it's the way all infoboxes are created, and yes, the infoboxes do cause problems when the ratio font size / window width gets large. This really has to be solved. I think a good solution would be to turn floating tables into normal full width tables when they get larger than say half of the window width. Shinobu 04:22, 19 September 2007 (UTC)

Bad Link in this Page

The "Mediawiki edit toolbar" link found in the "Using the Toolbar" section (copy of which is quoted below) only links to a "Wikipedia does not have an article with this exact name." but the link is a "blue" link. I thought links to non-existent pages were "red"

Using the Toolbar
 
You can use the Mediawiki edit toolbar to create tables.The toolbar is helpful to generate the necessary codings. —Preceding unsigned comment added by Dbiel (talkcontribs) 12:44, 9 May 2007

Two tables

side by side

How can you put two narrow tables side by side? --Mika1h 11:38, 15 May 2007 (UTC)

Method 1: float the tables left and right
Method 2: place both tables into another table with one row and two columns.
I expect Method 2 will yield better results in more browsers and variety of screen widths. —EncMstr 15:06, 15 May 2007 (UTC)
The best Option you wanna use is the col template.
Example:

I hope the above example helps you. BetaNew (talk) 10:38, 12 February 2020 (UTC)

underneath each other

And how can I put two tables (at the beginning of an article) underneath each other? My tables always end up, being side by side, and only after enough text has been added, the second table kinda slides underneath the first one. The text will float to the left of the tables, as desired. Thanks. - Mactie 13:38, 3 October 2007 (UTC)

You can use {{clear}} between the tables. --Gadget850 ( Ed) 13:45, 3 October 2007 (UTC)

Filtering?

Is it possible to filter a table so that it only shows rows where one column = X (X could be set by a link, dropdown menu, or radio buttons)? I would like to have a large table and be able to see only sections of it at a time, based on a specific field. The functionality would be similar to the AutoFilter feature that is in Microsoft Excel. --Scott Alter 00:35, 23 May 2007 (UTC)

If this currently does not exist, may I request it as a new feature. Here are examples of filters in use on webpages: http://www.viala.hu/frdl/tablesort/tablesort.html http://leparlement.org/filterTable --Scott Alter 02:26, 23 May 2007 (UTC)

Links

The links to "header," "row" and "cell" under the wiki toolbar section all lead to disambiguation pages. Could someone familiar with this page find the appropriate articles? Thanks. Awadewit | talk 20:52, 21 June 2007 (UTC)

Table footnotes --- HOW TO ???

Have tried to use html code of <footnotes> </footnotes> for a table on the page of Eagles and it doesn't work. I have also tried another alternative of caption code and it gave an appearance which is yuki. Wiki admin, please help to provide me a good visual example here somewhere —Preceding unsigned comment added by 222.64.49.173 (talkcontribs) 08:45, 27 June 2007

Help with table creation

Would someone here be willing to help me with table creation for my user page. I don't think it will be difficult for someone that knows what they are doing and i'm not sure where else to ask. JmfangioTalk 21:01, 14 July 2007 (UTC)

Classes

Is there a list of classes such as wikitable, sortable, infobox and the like? --Gadget850 ( Ed) 16:09, 17 July 2007 (UTC)

Yes, is there, please? --Jerome Potts (talk) 21:04, 27 November 2007 (UTC)

Archive?

This page is getting a bit long. Users with slow internet connections are having to wait a long time to load the entire page. I feel that it is a good time to archive this page? Any comments about this are welcomed. --Siva1979Talk to me 05:18, 24 July 2007 (UTC)

wouldn't it be nice if could be archived just the sections where the discussion is closed/settled? --Jerome Potts (talk) 21:06, 27 November 2007 (UTC)

Macs

I use a Mac and when I try to sort a table that can be sorted, such as the one about cities and temperatures on the sorting page on metawiki, no matter which column I want to sort the information by, it is always sorted by the city's name (I think generally it will sort the table according to the first column). Are there any settings I can change to correct this? asyndeton 19:22, 2 August 2007 (UTC)

Indent within table cell?

I'd like to indent within a table cell without a bullet. How can it be done? WriterHound 03:16, 23 August 2007 (UTC)

Here's one way to do it. Unfortunately, the wikimarkup is rather ugly.
column 1 column 2
11 no indent 12 no indent
21 indented 1

22 no indent

31 indented 2
32 no indent
41 indented 3
42 indented 1
EncMstr 14:15, 23 August 2007 (UTC)

You could also use non-breaking spaces (&nbsp;) for smaller indents. --Gadget850 ( Ed) 15:40, 24 August 2007 (UTC)

Help request: Table moves to bottom of page

Hi, Please take a look at the table on this page. In the markup of the page the table directly follows the heading ==Userboxes==. However, when the page is rendered as you will notice the table shows up at the bottom of the page below all other text. I can't figure out what causes this. Any suggestions are welcome. ʍαμ$ʏ5043 17:39, 1 September 2007 (UTC)

You closed your table with |-} where it should have been |}. You can also use {{Userboxtop}} and {{Userboxbottom}} to group your userboxes. See User:Gadget850/about for a sample. --Gadget850 ( Ed) 18:15, 1 September 2007 (UTC)

Thanks for helping out. Much appreciated. ʍαμ$ʏ5043 09:31, 2 September 2007 (UTC)

help page is unclear and could stand to be improved

Problem with floating wikitables

Observe this wikitable:

さくら
怪獣
じゃない
もん!
さくら
怪獣
じゃない
もん!

If we try to float it to the right something ugly happens.

Lorem ipsum, quia dolor sit, amet, consectetur, adipisci uelit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quærat uoluptatem. Vt enim ad minima ueniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem uel eum iure reprehenderit, qui in ea uoluptate uelit esse, quam nihil molestiæ consequatur, uel illum, qui dolorem eum fugiat, quo uoluptas nulla pariatur? At uero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis præsentium uoluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcæcati cupiditate non prouident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum.

さくら
怪獣
じゃない
もん!

Floating it on the left works better.

Lorem ipsum, quia dolor sit, amet, consectetur, adipisci uelit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quærat uoluptatem. Vt enim ad minima ueniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem uel eum iure reprehenderit, qui in ea uoluptate uelit esse, quam nihil molestiæ consequatur, uel illum, qui dolorem eum fugiat, quo uoluptas nulla pariatur? At uero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis præsentium uoluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcæcati cupiditate non prouident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum.

さくら
怪獣
じゃない
もん!

How it probably should look, emulated by adding CSS.

Lorem ipsum, quia dolor sit, amet, consectetur, adipisci uelit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quærat uoluptatem. Vt enim ad minima ueniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem uel eum iure reprehenderit, qui in ea uoluptate uelit esse, quam nihil molestiæ consequatur, uel illum, qui dolorem eum fugiat, quo uoluptas nulla pariatur? At uero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis præsentium uoluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcæcati cupiditate non prouident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum.

さくら
怪獣
じゃない
もん!

On the left.

Lorem ipsum, quia dolor sit, amet, consectetur, adipisci uelit, sed quia non numquam eius modi tempora incidunt, ut labore et dolore magnam aliquam quærat uoluptatem. Vt enim ad minima ueniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem uel eum iure reprehenderit, qui in ea uoluptate uelit esse, quam nihil molestiæ consequatur, uel illum, qui dolorem eum fugiat, quo uoluptas nulla pariatur? At uero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis præsentium uoluptatum deleniti atque corrupti, quos dolores et quas molestias excepturi sint, obcæcati cupiditate non prouident, similique sunt in culpa, qui officia deserunt mollitia animi, id est laborum.

I thought the whole point of using CSS classes was not to have to use inline CSS. Shouldn't there be CSS classes for left/right floating tables that contain all the proper CSS? Shinobu 17:50, 2 September 2007 (UTC)

Agreed, there should be. However, this is a wikipedia-wide problem which is apparent with infoboxes and images as well. I'll pass it on to the keepers of the site-wide CSS. Thanks. —EncMstr 21:25, 2 September 2007 (UTC)
Ack! I couldn't find an example article demonstrating any problems. It seems to be fixed. If you do run across it, mention it on MediaWiki talk:Common.js. —EncMstr 16:10, 4 September 2007 (UTC)
@It seems to be fixed.: O RLY? Then what are the CSS classes to use? Then I can fix Color Graphics Adapter without using inline CSS. Shinobu 14:25, 10 September 2007 (UTC)
It looks okay, though two of the tables Full CGA 16-color palette and Dark Yellow get the text pretty close (but not touching or overlapping) at various window widths. What do you see? (Maybe you could upload a screen shot?) —EncMstr 15:03, 10 September 2007 (UTC)
See Image:Floating-Wikipedia-tables.png. The same problem occurs on the CGA article as well. It also occurs consistently across all browsers I have: Safari (screenshot), Konqueror, IE and Firefox, regardless of fontsize, and window width. This is why CSS class "wikitable" by itself cannot be used for floating tables, because it lookes hideous. Fixing it would currently necessitate the use of inline CSS, which is to be abhorred. Shinobu 03:54, 13 September 2007 (UTC)
(Thanks for prompting.) Yep, that's the same thing I see. The text isn't obscured, but it is "distracted" by being so close to the image. Odd that your text doesn't fill in under the image. I'm seeing it do that (correctly) with SeaMonkey and FireFox, though at some browser widths, bits of it "touch" the image. Would you be willing to mention it on MediaWiki talk:Common.css? —EncMstr 14:49, 20 September 2007 (UTC)
Sure, I'll try to describe the problem as clearly as possible. If I fail at doing so I encourage you to comment on it there. Shinobu 11:35, 22 September 2007 (UTC)

This discussion is continued at MediaWiki talk:Common.css. Shinobu 11:35, 22 September 2007 (UTC)

Table within a table

Could anyone help - I have created 3 tables on this page here Manchester, Bolton and Bury Canal, but to tidy things up I would very much like to put those 3 tables into 1 big table, with each arm of the canal forming a column, and underneath each arm column, would be the 2 columns for location and coordinates. Sorry if that doesn't make any sense! Parrot of Doom 11:56, 4 September 2007 (UTC)

I took a stab at it using {{Col-begin}}. --Gadget850 ( Ed) 12:58, 4 September 2007 (UTC)
Super smashing great :) Thanks Parrot of Doom 13:42, 4 September 2007 (UTC)

Column background

Does anyone know how to get a column with a background colour without having to add the |style="background:#FAF17F"| text on each individual row? I'm trying to do it on this example, with the yellow, red and green colours going all the way down to the bottom. glennb28 tc 18:16, 9 September 2007 (UTC)

I don't think there exists any convenient way, short of using an editor to do the repetitive work for you. The html editors don't know of any way to optimize it. (The wikitable syntax is closely related to the html table markup.) —EncMstr 06:04, 10 September 2007 (UTC)
Except that HTML has the colgroup and col tags, which very conveniently allow markup such as this to be specified. The real WTF is that MediaWiki's sanatizer filters these tags, treating them as if surrounded by a <nowiki>. Shinobu 04:13, 13 September 2007 (UTC)

Table parameters

I know about the "wikitable" and "sortable" parameters, but are there others? Where do I find the list if there are? In particular, can I set a table to "hideable"? How about a single column? Arthurrh 16:44, 14 September 2007 (UTC)

I asked above and still haven't received an answer. I just found Wikipedia:Catalogue of CSS classes or WP:CLASS. It looks like these are table classes:
  • wikitable
  • sortable
  • infobox
  • navbox
  • prettytable (obsoleted by wikitable)
  • collapsible
  • collapsed
  • autocollapse
  • toccolours
  • messagebox
  • standard-talk


I may have missed or added some by mistake. --Gadget850 ( Ed) 17:05, 14 September 2007 (UTC)

Yes, I saw those classes. I'd really like to have hideable tables and columns. Maybe I'll just try the obvious and put the word "hideable" and see what happens. ;-) Arthurrh 18:37, 14 September 2007 (UTC)
I think collapsible is the ticket. Arthurrh 18:18, 18 September 2007 (UTC)

Help With Right Floating Table

I'm trying to float a table on the right side of the body text of the article Juice Plus and can't seem to get it right. The table looks OK but when the code is dropped in at the beginning of the article, all of the article's text appears in the table -- I am trying to keep it left justified outside the table. Can anyone help? Any general suggestions for making the table look better aesthetically (e.g. borders, colors, etc.) would also be appreciated. Thanks. Rhode Island Red 19:35, 29 September 2007 (UTC)

[Note: table code removed; table was taking up a lot of space; those interested can find the corrected table in the (now-)linked article, or look at a prior version of this page. -- John Broughton (♫♫) 19:05, 16 November 2007 (UTC) ]

THIS TEXT SHOULD BE OUTSIDE OF THE TABLE

There were some missing "close table" delimiters. I added three, and removed the break. See if that works better. —EncMstr 20:46, 29 September 2007 (UTC)
You don't need the align=right, that is included in the infobox class. The margin auto was making it center. I would think there wood be a template for this. --Gadget850 ( Ed) 21:01, 29 September 2007 (UTC)
You rock brother! I had a feeling it was something as simple as that. Much appreciated! Rhode Island Red 21:05, 29 September 2007 (UTC)

Automatically split table into X columns

Is there a way to have a table autamatically split into a certain ammount of columns?
I ask because i have a long list of rows (growing regulary) and it's hard to split them into 4 columns by moving the 3 | all the times. --89.61.200.168 16:21, 28 October 2007 (UTC)

Edit

Instead of include the message: This is a copy of the master help page at Meta. Do not edit this copy. Edits will be lost in the next update from the master page. See below for more information.

It would be a protected page (none can edit it in Wikipedia, but yes in Meta). --Nopetro 08:30, 8 November 2007 (UTC)

Can't get my table quite right

See User:Kotniski/Sandbox. When I use class=wikitable the cellpadding parameter stops working. When I don't use class=wikitable, the borders of merged cells start disappearing. Can anyone help solve at least one of these problems?--Kotniski 11:31, 4 December 2007 (UTC) Update: I managed to solve the second problem (seems you can't leave a cell absolutely empty in that case; have to put a nbsp or something). I still don't understand why wikitable doesn't support cellpadding though (unless I'm doing something wrong).--Kotniski 13:34, 4 December 2007 (UTC)

The wikitable class uses CSS styles that will override certain styles. See MediaWiki:Common.css and search for "wikitable" to see the styles. You can use style="empty-cells:show;" to show empty cells by default. --— Gadget850 (Ed) talk - 14:19, 4 December 2007 (UTC)
Great, thanks!--Kotniski 15:31, 4 December 2007 (UTC)

Templates for various tables might be useful

Wikipedia:How to make a table in wikipedia I started this template page, so people could just copy and paste the code to make the tables they want. I personally think a page with table examples and templates to copy and paste is more user friendly than having to read through all the stuff on the current Help:Table page. Though I think there is a need for both pages, because the current help page explains the whole process, so it's more educational for people who want to really understand what they are doing, rather than quickly just creating a table. Further templates could be added to it and/or a standard table/s could appear there to help make wikipedia tables consistent. A vivid dreamer (talk) 04:26, 5 December 2007 (UTC)

Nice idea - will definitely be useful!--Kotniski (talk) 09:24, 5 December 2007 (UTC)
This is a good idea—it took me quite a while to get up to speed on table markup. I was going to note that template {{table}} exists, but you aren't using the term template in the usual Wikipedia context; the more common term here for what you are describing in your article is boilerplate. --— Gadget850 (Ed) talk - 11:17, 5 December 2007 (UTC)

Auto-generation of nbsp tags for empty cells

Tables with empty cells are rendered by some browsers without grid lines around empty cells.

This can be unsightly as here: http://en.wikipedia.org/wiki/Ethanol_(data_page)#Properties_of_aqueous_ethanol_solutions

It would be possible, but very tedious, to manually add nbsp tags to all empty cells in the table cited above.

It would be handy if there was the option to tell the wikitable code interpreter to insert nbsp tags automatically at empty cells. -- Ac44ck (talk) 01:30, 13 December 2007 (UTC)

See Empty cells in HTML tables. --— Gadget850 (Ed) talk - 02:20, 13 December 2007 (UTC)
I looked at it. It offers three suggestions:
  • Adding nbsp tags manually, which I noted as being tedious.
  • Doing something in CSS:
  • With which I am not familiar, and
  • The link notes that it "works less often than the nbsp hack."
  • Inserting some "intentionally empty" marker manually, which would be as tedious as entering nbsp tags manually.
The wikitable interpreter is already turning wiki-markup into HTML tags. Why not make a provision for it generate nbsp tags for empty cells while it is making td and /td tags from the wiki-markup? --Ac44ck (talk) 04:52, 13 December 2007 (UTC)
Use it in the CSS style in the table header: {| border="2" cellpadding="5" cellspacing="0" style="font-size:90%; line-height:120%; empty-cells:show;" --— Gadget850 (Ed) talk - 11:51, 13 December 2007 (UTC)
I don't use CSS. I don't like CSS. I usually browse with it turned off because too many page designers, including Wikipedia, insist on specifying a glaringly bright background for their text.
My _personal_ computer allows me to set the default background colors used by Windows. Web designers are entirely too eager to override my preferred color scheme with their CSS. So I don't usually let them do it.
I would still prefer that the wiki-code interpreter insert nbsp tags for blank cells -- putting borders around empty cells without dictating what colors I "should" be using to view the page.
Here is my attempt to put the suggested CSS code in a context by borrowing an example from the help page (but omitting the 'class' tag):
header 1 header 2 header 3
row 1, col 1 row 1, col 3
row 2, col 1 row 2, col 2 row 2, col 3
Which works _if_ I enable CSS and endure the glaring background color, which I am generally loathe to do.
The nbsp "hack", as it is called in Empty cells in HTML tables, doesn't require the visitor to have CSS enabled:
header 1 header 2 header 3
row 1, col 1   row 1, col 3
row 2, col 1 row 2, col 2 row 2, col 3
Thanks for helping me to implement a partial solution -- for the benefit of those who have CSS enabled and are willing to endure the eye strain caused by the bright background.
Again: The wikitable interpreter is already turning wiki-markup into HTML tags. For it to generate nbsp tags for empty cells while it is making td and /td tags from the wiki-markup still seems preferable to me. --Ac44ck (talk) 20:43, 13 December 2007 (UTC)