Template talk:Chem infobox: Difference between revisions
imported>Robert W King |
imported>Robert W King |
||
Line 7: | Line 7: | ||
== itraconazole for test site == | == 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. [[User:David E. Volk|David E. Volk]] 15:54, 20 March 2008 (CDT) | 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. [[User:David E. Volk|David E. Volk]] 15:54, 20 March 2008 (CDT) | ||
:I put it inside. There's a <code>{{{picture}}}</code> variable so you can put the image stuff inside. There's also a <code>{{{align}}}</code> and <code>{{{width}}}</code> so the width can be adjusted as necessary and the box can be placed left, right, or center on the page. --[[User:Robert W King|Robert W King]] 15:57, 20 March 2008 (CDT) | :I put it inside. There's a <code>{{{picture}}}</code> variable so you can put the image stuff inside. There's also a <code>{{{align}}}</code> and <code>{{{width}}}</code> 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. --[[User:Robert W King|Robert W King]] 15:57, 20 March 2008 (CDT) |
Revision as of 14:57, 20 March 2008
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)