Template talk:Chem infobox

From Citizendium
Revision as of 13:37, 24 March 2008 by imported>Robert W King (→‎Colors: new section)
Jump to navigation Jump to search

Thanks for the quick action Robert! :) David E. Volk 15:23, 20 March 2008 (CDT)

I want to make this a major improvement over the elem box. --Robert W King 15:24, 20 March 2008 (CDT)

Robert, I would like to leave out the chemical structure pictures, or make it a "if exist" type of variable, because the pictures will be too small to see for many chemicals, or the box will need to be very fat. I notice WP uses pictures on many articles, but can't fit them in to many others. So, I was thinking that the structure picture goes on top right (not in the template) and the template would be directly under the picture. That way we can scale the structures to always be readable while giving the template a slim profile. David E. Volk 15:37, 20 March 2008 (CDT)

In that case, if I put the picture on the top box, it might work out ok. Can you make an example on your talk page or this talk page? Or do you not want the picture a part of the data? Do you want the data as wide as the picture? --Robert W King 15:39, 20 March 2008 (CDT)

itraconazole for test site

Robert, I tried to use the full box, in the article itraconazole. The long IUPAC name made it crash. I don't know how to put the picture into the chem infobox. Please look at itraconazole and try to put the picture into it for my if you would. Thanks. David E. Volk 15:54, 20 March 2008 (CDT)

I put it inside. There's a {{{picture}}} variable so you can put the image stuff inside. There's also a {{{align}}} and {{{width}}} so the width can be adjusted as necessary and the box can be placed left, right, or center on the page. I'll have all this stuff documented. --Robert W King 15:57, 20 March 2008 (CDT)

Template description

Robert, could you modify the template description, both here and for the elem_infobox, to make a point of distinction between the two and to alert users to the existence of the other one on each page? David E. Volk 16:34, 20 March 2008 (CDT)

uses/hazards

I had originally put the uses and hazards next to each other because I thought the hazards should be known while the product is actually in use; arranging them differently (and thus obviously) I thought might be more informative. --Robert W King 14:12, 21 March 2008 (CDT)

Colors

David, the zebra striped colors are painful to read! --Robert W King 14:37, 24 March 2008 (CDT)