Help talk:Table/Archive 4
Appearance
![]() | 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 2 | Archive 3 | Archive 4 | Archive 5 | Archive 6 | → | Archive 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)