Jump to content

Help talk:Table/Archive 4

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MiszaBot II (talk | contribs) at 09:29, 4 February 2011 (Archiving 2 thread(s) from Help talk:Table.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archive 1Archive 2Archive 3Archive 4Archive 5Archive 6Archive 10

Text to be centered only in certain cell

Title Year Author and Notes
First text Second text Third text
First text Second text Third text

I want automatically the "year" cell to be centered, how can I do that? Except manually adding style="text-align: center;" to each separating sign ("|-"). Userpd (talk) 21:08, 9 July 2010 (UTC)

As far as I know, that's the only way it can be done:
Title Year Author and Notes
r1 c1 text r1 c2 text r1 c3 text
r2 c1 text r2 c2 text r2 c3 text
We'd all like column styles to be applied from the first row automatically, but there's some limitation which prevents that from working. I think I read about it in bugzilla several years ago. —EncMstr (talk) 22:17, 9 July 2010 (UTC)
«but there's some limitation which prevents that from working.» And I was wondering why can't I apply vertical align for the first row automatically. Also, why don't you use valign=top instead of style="vertical-align:top;"? Userpd (talk) 18:01, 10 July 2010 (UTC)

Display the value from one infobox in another one within the same article

{{A infobox
|par1 =
|par2 =
}}

{{B infobox
|par1 =
}}

I have two infoboxes in one article. I would like the value of the parameter "par1" from A infobox display as the parameter "par1" in B infobox. If the "par2" in A infobox is not empty, change the background color of B infobox. Is it possible to do it? --WlaKom (talk) 21:30, 10 July 2010 (UTC)

I don't think you can do that, unless you created a special template for it (which I don't think is a good idea), like {{A infobox|par1={{something}}}} {{B infobox|par1={{something}}}}. What exactly are you trying to do? Also, what does this have to do with tables? This is probably not the best page to discuss this issue. Svick (talk) 22:06, 10 July 2010 (UTC)

Footnotes

I need to insert footnotes into a table. Could anyone add a section in the text describing process. Or at least write me so I can do it.RonRodex (talk) 17:35, 25 July 2010 (UTC)

Footnotes would be added like any other text. See WP:FOOTNOTES for an overview of the process. ---— Gadget850 (Ed) talk 20:53, 25 July 2010 (UTC)

Problems with display

Resolved

I wasn't sure where to ask for help, so came here. I have a problem with the display of a centered table. There are two problems which may or may not be related. Also, I use old browsers, so others may not be seeing what I see; if not please tell me. The two problems are both displayed in the article 42 (number), in the table with the caption "In other languages".

  1. The first problem is that the table is centered, but the table caption is sort of half centered. The caption text is placed to the left of where it should be. I also see this problem in this article at Help:Table#Centering tables.
  2. The second problem is that the table insists on displaying at the end of the article, just before the Categories. This is despite the fact that the table markup is higher up than that. No matter where the markup is placed in the article, the table always displays at the end (which is not where I want it to be).

Thanks for any help you can give. (Please respond here.) HairyWombat 01:46, 7 August 2010 (UTC)

I saw that table apprearing at the bottom of the page too. And it's really weird. I don't have a clue how I fixed it, because at my first edit it went back to normal and I couldn't reproduce the bug.
The table is well centered. If your are using old browsers because your boss told you to, please slap him gently for me. If it's your own decision... well... just do something about it. ;-) Cheers, Dodoïste (talk) 08:33, 7 August 2010 (UTC)

Great, many thanks. I use the most recent browsers that my operating system can support. Upgrading to more recent browsers would require a whole new computer. HairyWombat 14:01, 7 August 2010 (UTC)

Oh, interesting case. I did not know that Firefox doesn't work with old operating systems. In this case, you can use Ubuntu (operating system). Ubuntu is free and works just fine with old computers. You'll be able to have the latest version of Ubuntu for free, and install the latest browsers. You may even find an install-party near your place and have someone do the job for you! :p Dodoïste (talk) 23:50, 7 August 2010 (UTC)