This is an archive of past discussions. 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 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
After a discussion on IRC I see that some things in the {{ chembox new}} have to be changed, especially regarding the identifiers and probably everything with a unit. I set up a workshop here: Wikipedia:Chemical_infobox/Workshop, feel free to add and/or comment there, or on the talkpage. -- Dirk Beetstra T C 16:42, 16 January 2008 (UTC)
I have just noticed that where we have "ImageName" in the chem box, hover (cursor over image and wait!) on the image displays the literal "ImageFile" rather than "ImageName". Sulfur hexafluoride is an example. Axiosaurus ( talk) 11:05, 19 January 2008 (UTC)
Trying to replace silver bromide chembox. Dielectric constant is quoted --only field I cannot find a sensible home for. Help! Don't know what I am doing enough to add it. -- Axiosaurus ( talk) 19:29, 22 January 2008 (UTC)
Could someone add the field InChIKey
to {{
Chembox Identifiers}}? It should fit with {{
Chembox InChIKey}}, which is needed as a (short and minor) test on the presentation of InChIs.
Physchim62
(talk) 16:14, 27 January 2008 (UTC)
Please edit the template to say "Formula" or "Chemical formula" instead of "Molecular formula". Many substances are not molecules, as has been mentioned before. I'd be bold and do it but the page is protected. -- Itub ( talk) 10:32, 19 February 2008 (UTC)
The SMILES field does not show up at all when a user has JavaScript disabled. It should show the whole formula when JavaScript is disabled.
AJRobbins (
talk) 15:20, 6 October 2008 (UTC)
Would there be any objections to switching Template:Chembox new to use class="infobox"? -- MZMcBride ( talk) 16:43, 22 February 2008 (UTC)
The code is here (from MediaWiki:Common.css):
.infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; }
The current class is "toccolours", which only works in monobook skins: there is also a great deal of specified style at the top of {{ chembox new}}, some of which would become unnecessary if we changed css-styles. Physchim62 (talk) 14:16, 24 February 2008 (UTC)
Is there any way to change the size of the chembox, so that the maximum width is the size of the picture. In a lot of cases the smiles and IUPAC name are bigger than the image and the article itself is squeezed to the left. -- Panoramix303 ( talk) 12:51, 8 March 2008 (UTC)
Agreed, I've run into a similar problem where IUPAC names are so large they run off the page. Such coding would be helpful in preventing this. -- Rkitko ( talk) 20:46, 24 March 2008 (UTC)
Interwiki [[fi:Malline:Yhdiste]]
should be added to
Template:Chembox new. Ty,
George Esayas (
talk) 14:45, 16 March 2008 (UTC)
Does anyone have a good example of how the `SolubleOther` field is used? «
D. Trebbien (
talk) 20:25
2008
March 16 (UTC)
It seems, in accordance with WP:Verifiability, that chemical infoboxes should have a clear set of citations for data. There's a link saying "disclaimer and references" at the bottom, leading to Wikipedia:Chemical infobox, but that leaves a little to be desired. There aren't any proper citations, and it's a Wikipedia: namespace page, which means it isn't treated as a proper article. I wonder if anything could be done about this to improve the appearance of verifiability. Maybe if the "disclaimer and references" link was split into two links:
I note that the chembox doesn't correctly handle cases where a melting or boiling point is entered as a range to indicate that the exact value is uncertain (see for example the article on
Hexachlorobutadiene. Looking at the calculated values for kelvins, it seems that the range is being interpreted as a subtraction sum as the m.p. kelvin figure given corresponds to +5 degrees C. The Fahrenheit figure is even further out.
Can we enhance the infobox to cope with this ? An alternative would be to have a flag somewhere indicating that the figure is approximate - thoughts anyone?
Kiwi137 (
talk) 13:26, 28 April 2008 (UTC)
Has the addition of
UN numbers to the "Identifiers" section of the template been discussed?
It is an important chemical numbering scheme, used world-wide in the context of
dangerous goods transportation.
RickJP (
talk) 10:56, 21 May 2008 (UTC)
During the WP:Chem team IRC Chat this past week a discussion regarding the potential to add a ChemSpider ID to the Chembox to accompany the PubChem, Drugbank and eMolecules links. The WP:Chem team members on the IRC Chat supported the inclusion based on the nature of additional data, content and functionality now available on ChemSPider. -- ChemSpiderMan ( talk) 01:05, 22 May 2008 (UTC)
I'd like to revisit this issue. Due to ChemSpiderMan's active involvement here, it might not have been appropriate to have started listing chemspider IDs when chemspider just started. *However*, things have changed. The German Wiki has seen fit to use ChemSpider as a reliable source for physical properties (e.g. http://de.wikipedia.org/wiki/Sorbitanfetts%C3%A4ureester), and PubChem now links to ChemSpider (e.g. http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=9690109). Table creep notwithstanding, I think we are ready to include ChemSpider IDs in the chemboxes, and have them link directly to ChemSpider. I'm going to be bold and create the link out - since no articles are affected at present, it makes no difference. But I hope you guys do give feedback, and perhaps we can enable it in our articles. -- Rifleman 82 ( talk) 18:06, 22 July 2008 (UTC)
There's a problem with using the MeltingPtC entry: it doesn't work if you use a proper minus sign (−), i.e. it requires a hyphen-minus (-), which is not as good.
Ben ( talk) 01:04, 8 June 2008 (UTC)
I've removed the disclaimer reference in the infobox and renamed the section on this page to reflect the reasoning of the guideline against disclaimers in articles. All site content is already covered by the general disclaimer linked from the bottom of every page.-- chaser - t 18:43, 1 August 2008 (UTC)
Anyone have any problem with adding the ChemspiderID to entries that have drugboxes as opposed to chemboxes? I'm looking to link the entire wikipedia collection to Chemspider, and it seems a large portion of the wikipedia chemical entries are drugs and so have a drugbox, not a chembox. Casforty ( talk) 04:26, 21 August 2008 (UTC)
Is there any consensus as to whether infoboxes like NatOrganic or LabChemical will be taken under the general Chemical infobox? I occasionally see these kinds of infoboxes, but don't know why they are differentiated from other chemicals. It also seems that a lot of inorganics don't have infoboxes, is that just my perception? Casforty ( talk) 02:11, 16 September 2008 (UTC)
Dirk, if there is a place where you want me to list them so they can be converted I will gladly do so. Should I just compile a list of names? Casforty ( talk) 04:25, 19 September 2008 (UTC)
The MeSHName field is broken for valid terms containing blanks, see the box to the right, the MeSH field is:
| MeSHName = melamine cyanurate
Can somebody fix this? Cacycle ( talk) 22:04, 27 September 2008 (UTC)
{{chembox new | Section1 = {{Chembox Identifiers | MeSHName = melamine cyanurate }} }}
{{ Chembox}} is now a redirect to {{ chembox new}}. The older version of the chembox can be found at {{ chembox old}}, but should no longer be used on articles. Please don't do a massive conversion of the wikimarkup yet – we can do a bot run, but we need to check the IRC bot first. Physchim62 (talk) 09:10, 6 October 2008 (UTC)
This edit (and experimentation) shows that the automatic formulae and molar masses don't work in the short version of the chembox (without modules). To fix the problem that Geni was referring to, see this edit (easier to give an example than to spell it out!) Physchim62 (talk) 22:43, 8 October 2008 (UTC)
Not only does the input not work properly if you use a minus sign (−) in the template, as pointed out by Ben above, still probably unfixed, but furthermore, the output should be fixed so that it does use proper minus signs in the displayed results after conversions. Can somebody please fix that? Gene Nygaard ( talk) 07:47, 19 November 2008 (UTC)
"IUPAC name" should link to "IUPAC nomenclature" and not "International Union of Pure and Applied Chemistry nomenclature" as it currently does.
I think that it would be a good idea to add the Canadian format for hazard materials which is described by the Workplace Hazardous Materials Information System (WHMIS) WHMIS has its own design of logos which vary slightly from the US and European classification system. Could such a parameter be added. Arturkjakub ( talk) 21:35, 9 January 2009 (UTC)
{{ editprotected}}
Can someone add an optional field for lipidbank.jp identifiers? As far as I can tell there's no more specific template to add this to. It should be straighforward since the id goes at the end of the url, e.g. http://lipidbank.jp/cgi-bin/detail.cgi?id=BBA0024. Thanks, Xasodfuih ( talk) 21:55, 15 January 2009 (UTC)
I couldn't set the formula Si3N4 in the infobox of the respective article. It keeps sorting out elements by number, i.e. N4Si3. Any help ? Thank you. NIMSoffice ( talk) 00:07, 7 February 2009 (UTC)
Could we please add the following parameters to {{ Chembox Hazards}}:
GHSPictograms
GHSSignalWord
HPhrases
PPhrases
The corresponding templates already exist, and are intended to allow us to implement the Globally Harmonized System of Classification and Labelling of Chemicals (GHS). For the time being, these parameters should not be used by editors if we already have an EU classification, but can be used if there is no EU classification but a reliable GHS classification (eg, monomethylhydrazine). The EU classifications are being phased out under the CLP Regulation, but we have until December 2010 to figure out how to do a large-scale changeover! I am working on more complete documentation, both for editors and for users. Physchim62 (talk) 11:24, 2 April 2009 (UTC)
As many of you will be aware, CAS is currently beta-testing their new site
http://www.commonchemistry.org which contains the CAS Registry Numbers we have been using to verify the chemboxes. As a quick fix, the CAS number field in the chembox was modified so that all CAS numbers link to the new site: however, not all of our CAS numbers have entries at commonchemistry.org! A better solution would be if we only linked those CAS numbers which have been verified against the CAS list. The required code for {{
Chembox Identifiers}} and {{
Chembox CASNo}} is at {{
Chembox Identifiers/Sandbox}} and {{
Chembox CASNo/Sandbox}} respectively, and has been tested at {{
Chembox/Testbed}}. Note that I've also simplified the code for the Identifiers module and removed the unused parameter EINECSCASNO
. Could someone move the sandboxes over the main templates?
Physchim62
(talk) 11:54, 8 April 2009 (UTC)
Many chemicals have, instead of the SMILES string, a link to eMolecules or ChemSpider or both. Whatever about the merits of these links (see "Justification for Emolecules links?" below), the SMILES string should be included explicitly in this box. The current situation is that you need to click on the link to eMolecules or ChemSpider to find the SMILES string (the SMILES string is embedded in the link to these websites, but it's encoded). SMILES strings have an independent existence that is unrelated to chemical vendor or chemical community websites.
As an example of what I'm talking about, please see the aspirin page. These links are so common that it's not clear to me whether this a Wikipedia:Chemicals policy and that any 'corrections' would be reverted. Baoilleach ( talk) 08:19, 29 April 2009 (UTC)
I am not sure how often it is still there, and hence ' Category:Chemical infoboxes with misplaced or deprecated parameters': I have, in the past, seen articles with {{ chembox}} which had some parameters in the main of the box (like boiling point). Chembox does still support that (it is from a very old version of the box), but these parameters should be moved into their own sections (boiling point to properties, InChI and SMILES to identifiers. I adapted the code of the chembox, categorising all articles with that problem into said category, we have to see if and how it fills up and then clean it. I would suggest that once we have cleaned the lot, we remove the support of those parameters from the main chembox, making it dependent solely on the subboxes where it should be. Any help is appreciated. Thanks. -- Dirk Beetstra T C 09:56, 30 April 2009 (UTC)
Please could you add fields for Specific Surface Area, Pore Volume, and Average Pore Size? thanks E.J.Hoekstra ( talk) 16:08, 24 May 2009 (UTC)
I noticed the CAS number islinked and inside square brackets. Should those brackets be there? I had a look at the code, but have no idea where those brackets come from. Debresser ( talk) 19:01, 4 June 2009 (UTC)
I don't find EC-numbers for any chemicals anymore. (Search: "EC-number" or "EC number") Have they been removed from all articles?-- Christopher King ( talk) 15:42, 13 June 2009 (UTC)
I noticed that the external link for the CAS number in the Chemical infobox has an extra pair of brackets around it. Not only that but the links often (maybe always?) produce a "No CAS Registry Number® matched your search" results page at commonchemistry.org. Try for example, Tyropanoic acid or Tocofersolan. Jason Quinn ( talk) 16:36, 25 June 2009 (UTC)
We have nowadays the CASNo linking to the commonchemistry website, which is run by CAS. Following the link for benzene ( http://www.commonchemistry.org/ChemicalDetail.aspx?ref=71-43-2 71-43-2] gives a page, where they do not use square brackets. I think hence that maybe they should go. Next problem that comes then, is that we use the brackets to notify if the CASNo has been verified. We may have to come up with something else there ( ( ?) and ( ?) ??). -- Dirk Beetstra T C 13:46, 21 August 2009 (UTC)
I noticed that chembox was using the toccolors HTML class rather than the pre-cooked infobox class. This means that it looks a little out of place and had to employ its own floating code, for instance. I've created a sandbox to work on a fix for this, and the results are available test cases page. Comments? I'm planning on doing further work to make this template easier to maintain in future. Chris Cunningham (not at work) - talk 10:38, 30 July 2009 (UTC)
class="toccolors"
is purely historical: the infobox was written before the infobox
class was introduced, and we've never changed it for fear of breaking something somewhere on the 5000 or so diverse uses of the template.{{ editprotected}}
As there's been no further discussion, requesting sync with the sandbox. As the test cases show, this leads to a significantly more compact infobox without any unpleasant side-effects, and also removes an HTML ID which may cause pages to generate invalid markup right now. Chris Cunningham (not at work) - talk 08:17, 13 August 2009 (UTC)
I will try it in mainspace. What I mean is, that it looks like the title-cell is split into two cells (there is a vertical divisor visible which seems to split the header into two cells, but the placing of the title does not care about it, that one is centered with respect to the width of the box, not with respect to the 'cell' it is in (which generally is the second column). So it looks like:
| | Benzene |
for a longer name:
| Nitrobenzene |
(as if the line is overwritten). I hope this is more clear, it might be an Opera problem. -- Dirk Beetstra T C 09:12, 13 August 2009 (UTC)
Why does this template have a show/hide button rather than simply showing the IUPAC name from the beginning? Meeve ( talk) 15:25, 14 August 2009 (UTC)
When the CASOther field is used, the CAS number in the chembox is followed by a comma. However, it seems that the most common use of CASOther is to put a qualifier in parentheses such as "(HCl salt)" or "(monohydrate)", or to put a line break followed by additional info (such as magnesium sulfate, for example). In all these situations, the comma is unneeded and just plain looks funny. Can we remove this comma? In any situation where it is wanted, it can then be added manually. ChemNerd ( talk) 21:38, 30 August 2009 (UTC)
Category:Chemboxes which contain changes to watched fields is appearing in article namespace. This template needs editing to make it hidden or part of Wikipedia namespace. -- Alan Liefting ( talk) - 02:08, 6 September 2009 (UTC)
I've been working on Template:Chembox SMILES, trying to figure out what it is supposed to be doing. Yesterday I greatly simplified the logic. What is left doesn't really make sense - it shows value3 if it is not empty, otherwise it shows value. It doesn't look like any pages are actually using value2 or value3, so I can't tell what they are supposed to be used for. Anyone have any idea? — RockMFR 22:34, 19 September 2009 (UTC)
I keep wanting to put what human metabolites are found into those places. You look at " Morphine" it says "Hepatic 90%", so this wouldn't be the place to put it's major metabolites? We need a section of the chemical information box to have that. Morphine would have M3G & M6G, cocaine would have subsections (words only, not a place in the info box, I just imagine it written-) like "pyrolysis: methylecgonidine", etc. Could we work that in or am I missing the place for metabolites not just how excretion is made but what activity or metabolic pathway is made to result in what actual molecules from which (in humans.. since it all assumes in humans, but we have the "Oxycodone" article with chemical molecular metabolites unique to rabbits(!))... thanks.. 4.242.174.200 ( talk) 10:45, 15 October 2009 (UTC)
In Category:Chemical pages needing a CAS Registry Number it states "This category is populated by articles which have a {{ chembox}} or a {{ drugbox}}, but which do not have a CAS Registry Number mentioned in the box."
However I have seen articles with no CAS number and a {{
chembox}} (e.g.
Polythiazyl) that don't appear in the catagory, so I assume the correct code is not present.
I see that the template {{
drugbox}} has the following code...
| bgcolor="#eeeeee" | {{#if:{{{CAS_number|}}} | <span class="reflink plainlinks nourlexpansion">[http://www.nlm.nih.gov/cgi/mesh/2009/MB_cgi?term={{{CAS_number}}}&rn=1 {{{CAS_number}}}]</span> | ?[[Category:Chemical pages needing a CAS Registry Number]] }} {{#if:{{{CAS_supplemental|}}} | {{{CAS_supplemental|}}} }}
I have checked, and I cannot find any code within the {{ chembox}} template (or sub templates) which is similar to the {{ drugbox}} piece above.
Can someone add the appropriate code to the{{ chembox}} template(s). It's a bit advanced for me - I'm still learning that syntax. Ronhjones (Talk) 23:37, 17 November 2009 (UTC)
The documentation of Template:Chembox Hazards fails to mention that LD50 is one option. Possibly there are other omissions. See, for example, gamma-Butyrolactone, where the LD50 is shown in the Chembox. Albmont ( talk) 10:53, 19 January 2010 (UTC)
This is an archive of past discussions. 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 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
After a discussion on IRC I see that some things in the {{ chembox new}} have to be changed, especially regarding the identifiers and probably everything with a unit. I set up a workshop here: Wikipedia:Chemical_infobox/Workshop, feel free to add and/or comment there, or on the talkpage. -- Dirk Beetstra T C 16:42, 16 January 2008 (UTC)
I have just noticed that where we have "ImageName" in the chem box, hover (cursor over image and wait!) on the image displays the literal "ImageFile" rather than "ImageName". Sulfur hexafluoride is an example. Axiosaurus ( talk) 11:05, 19 January 2008 (UTC)
Trying to replace silver bromide chembox. Dielectric constant is quoted --only field I cannot find a sensible home for. Help! Don't know what I am doing enough to add it. -- Axiosaurus ( talk) 19:29, 22 January 2008 (UTC)
Could someone add the field InChIKey
to {{
Chembox Identifiers}}? It should fit with {{
Chembox InChIKey}}, which is needed as a (short and minor) test on the presentation of InChIs.
Physchim62
(talk) 16:14, 27 January 2008 (UTC)
Please edit the template to say "Formula" or "Chemical formula" instead of "Molecular formula". Many substances are not molecules, as has been mentioned before. I'd be bold and do it but the page is protected. -- Itub ( talk) 10:32, 19 February 2008 (UTC)
The SMILES field does not show up at all when a user has JavaScript disabled. It should show the whole formula when JavaScript is disabled.
AJRobbins (
talk) 15:20, 6 October 2008 (UTC)
Would there be any objections to switching Template:Chembox new to use class="infobox"? -- MZMcBride ( talk) 16:43, 22 February 2008 (UTC)
The code is here (from MediaWiki:Common.css):
.infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; }
The current class is "toccolours", which only works in monobook skins: there is also a great deal of specified style at the top of {{ chembox new}}, some of which would become unnecessary if we changed css-styles. Physchim62 (talk) 14:16, 24 February 2008 (UTC)
Is there any way to change the size of the chembox, so that the maximum width is the size of the picture. In a lot of cases the smiles and IUPAC name are bigger than the image and the article itself is squeezed to the left. -- Panoramix303 ( talk) 12:51, 8 March 2008 (UTC)
Agreed, I've run into a similar problem where IUPAC names are so large they run off the page. Such coding would be helpful in preventing this. -- Rkitko ( talk) 20:46, 24 March 2008 (UTC)
Interwiki [[fi:Malline:Yhdiste]]
should be added to
Template:Chembox new. Ty,
George Esayas (
talk) 14:45, 16 March 2008 (UTC)
Does anyone have a good example of how the `SolubleOther` field is used? «
D. Trebbien (
talk) 20:25
2008
March 16 (UTC)
It seems, in accordance with WP:Verifiability, that chemical infoboxes should have a clear set of citations for data. There's a link saying "disclaimer and references" at the bottom, leading to Wikipedia:Chemical infobox, but that leaves a little to be desired. There aren't any proper citations, and it's a Wikipedia: namespace page, which means it isn't treated as a proper article. I wonder if anything could be done about this to improve the appearance of verifiability. Maybe if the "disclaimer and references" link was split into two links:
I note that the chembox doesn't correctly handle cases where a melting or boiling point is entered as a range to indicate that the exact value is uncertain (see for example the article on
Hexachlorobutadiene. Looking at the calculated values for kelvins, it seems that the range is being interpreted as a subtraction sum as the m.p. kelvin figure given corresponds to +5 degrees C. The Fahrenheit figure is even further out.
Can we enhance the infobox to cope with this ? An alternative would be to have a flag somewhere indicating that the figure is approximate - thoughts anyone?
Kiwi137 (
talk) 13:26, 28 April 2008 (UTC)
Has the addition of
UN numbers to the "Identifiers" section of the template been discussed?
It is an important chemical numbering scheme, used world-wide in the context of
dangerous goods transportation.
RickJP (
talk) 10:56, 21 May 2008 (UTC)
During the WP:Chem team IRC Chat this past week a discussion regarding the potential to add a ChemSpider ID to the Chembox to accompany the PubChem, Drugbank and eMolecules links. The WP:Chem team members on the IRC Chat supported the inclusion based on the nature of additional data, content and functionality now available on ChemSPider. -- ChemSpiderMan ( talk) 01:05, 22 May 2008 (UTC)
I'd like to revisit this issue. Due to ChemSpiderMan's active involvement here, it might not have been appropriate to have started listing chemspider IDs when chemspider just started. *However*, things have changed. The German Wiki has seen fit to use ChemSpider as a reliable source for physical properties (e.g. http://de.wikipedia.org/wiki/Sorbitanfetts%C3%A4ureester), and PubChem now links to ChemSpider (e.g. http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=9690109). Table creep notwithstanding, I think we are ready to include ChemSpider IDs in the chemboxes, and have them link directly to ChemSpider. I'm going to be bold and create the link out - since no articles are affected at present, it makes no difference. But I hope you guys do give feedback, and perhaps we can enable it in our articles. -- Rifleman 82 ( talk) 18:06, 22 July 2008 (UTC)
There's a problem with using the MeltingPtC entry: it doesn't work if you use a proper minus sign (−), i.e. it requires a hyphen-minus (-), which is not as good.
Ben ( talk) 01:04, 8 June 2008 (UTC)
I've removed the disclaimer reference in the infobox and renamed the section on this page to reflect the reasoning of the guideline against disclaimers in articles. All site content is already covered by the general disclaimer linked from the bottom of every page.-- chaser - t 18:43, 1 August 2008 (UTC)
Anyone have any problem with adding the ChemspiderID to entries that have drugboxes as opposed to chemboxes? I'm looking to link the entire wikipedia collection to Chemspider, and it seems a large portion of the wikipedia chemical entries are drugs and so have a drugbox, not a chembox. Casforty ( talk) 04:26, 21 August 2008 (UTC)
Is there any consensus as to whether infoboxes like NatOrganic or LabChemical will be taken under the general Chemical infobox? I occasionally see these kinds of infoboxes, but don't know why they are differentiated from other chemicals. It also seems that a lot of inorganics don't have infoboxes, is that just my perception? Casforty ( talk) 02:11, 16 September 2008 (UTC)
Dirk, if there is a place where you want me to list them so they can be converted I will gladly do so. Should I just compile a list of names? Casforty ( talk) 04:25, 19 September 2008 (UTC)
The MeSHName field is broken for valid terms containing blanks, see the box to the right, the MeSH field is:
| MeSHName = melamine cyanurate
Can somebody fix this? Cacycle ( talk) 22:04, 27 September 2008 (UTC)
{{chembox new | Section1 = {{Chembox Identifiers | MeSHName = melamine cyanurate }} }}
{{ Chembox}} is now a redirect to {{ chembox new}}. The older version of the chembox can be found at {{ chembox old}}, but should no longer be used on articles. Please don't do a massive conversion of the wikimarkup yet – we can do a bot run, but we need to check the IRC bot first. Physchim62 (talk) 09:10, 6 October 2008 (UTC)
This edit (and experimentation) shows that the automatic formulae and molar masses don't work in the short version of the chembox (without modules). To fix the problem that Geni was referring to, see this edit (easier to give an example than to spell it out!) Physchim62 (talk) 22:43, 8 October 2008 (UTC)
Not only does the input not work properly if you use a minus sign (−) in the template, as pointed out by Ben above, still probably unfixed, but furthermore, the output should be fixed so that it does use proper minus signs in the displayed results after conversions. Can somebody please fix that? Gene Nygaard ( talk) 07:47, 19 November 2008 (UTC)
"IUPAC name" should link to "IUPAC nomenclature" and not "International Union of Pure and Applied Chemistry nomenclature" as it currently does.
I think that it would be a good idea to add the Canadian format for hazard materials which is described by the Workplace Hazardous Materials Information System (WHMIS) WHMIS has its own design of logos which vary slightly from the US and European classification system. Could such a parameter be added. Arturkjakub ( talk) 21:35, 9 January 2009 (UTC)
{{ editprotected}}
Can someone add an optional field for lipidbank.jp identifiers? As far as I can tell there's no more specific template to add this to. It should be straighforward since the id goes at the end of the url, e.g. http://lipidbank.jp/cgi-bin/detail.cgi?id=BBA0024. Thanks, Xasodfuih ( talk) 21:55, 15 January 2009 (UTC)
I couldn't set the formula Si3N4 in the infobox of the respective article. It keeps sorting out elements by number, i.e. N4Si3. Any help ? Thank you. NIMSoffice ( talk) 00:07, 7 February 2009 (UTC)
Could we please add the following parameters to {{ Chembox Hazards}}:
GHSPictograms
GHSSignalWord
HPhrases
PPhrases
The corresponding templates already exist, and are intended to allow us to implement the Globally Harmonized System of Classification and Labelling of Chemicals (GHS). For the time being, these parameters should not be used by editors if we already have an EU classification, but can be used if there is no EU classification but a reliable GHS classification (eg, monomethylhydrazine). The EU classifications are being phased out under the CLP Regulation, but we have until December 2010 to figure out how to do a large-scale changeover! I am working on more complete documentation, both for editors and for users. Physchim62 (talk) 11:24, 2 April 2009 (UTC)
As many of you will be aware, CAS is currently beta-testing their new site
http://www.commonchemistry.org which contains the CAS Registry Numbers we have been using to verify the chemboxes. As a quick fix, the CAS number field in the chembox was modified so that all CAS numbers link to the new site: however, not all of our CAS numbers have entries at commonchemistry.org! A better solution would be if we only linked those CAS numbers which have been verified against the CAS list. The required code for {{
Chembox Identifiers}} and {{
Chembox CASNo}} is at {{
Chembox Identifiers/Sandbox}} and {{
Chembox CASNo/Sandbox}} respectively, and has been tested at {{
Chembox/Testbed}}. Note that I've also simplified the code for the Identifiers module and removed the unused parameter EINECSCASNO
. Could someone move the sandboxes over the main templates?
Physchim62
(talk) 11:54, 8 April 2009 (UTC)
Many chemicals have, instead of the SMILES string, a link to eMolecules or ChemSpider or both. Whatever about the merits of these links (see "Justification for Emolecules links?" below), the SMILES string should be included explicitly in this box. The current situation is that you need to click on the link to eMolecules or ChemSpider to find the SMILES string (the SMILES string is embedded in the link to these websites, but it's encoded). SMILES strings have an independent existence that is unrelated to chemical vendor or chemical community websites.
As an example of what I'm talking about, please see the aspirin page. These links are so common that it's not clear to me whether this a Wikipedia:Chemicals policy and that any 'corrections' would be reverted. Baoilleach ( talk) 08:19, 29 April 2009 (UTC)
I am not sure how often it is still there, and hence ' Category:Chemical infoboxes with misplaced or deprecated parameters': I have, in the past, seen articles with {{ chembox}} which had some parameters in the main of the box (like boiling point). Chembox does still support that (it is from a very old version of the box), but these parameters should be moved into their own sections (boiling point to properties, InChI and SMILES to identifiers. I adapted the code of the chembox, categorising all articles with that problem into said category, we have to see if and how it fills up and then clean it. I would suggest that once we have cleaned the lot, we remove the support of those parameters from the main chembox, making it dependent solely on the subboxes where it should be. Any help is appreciated. Thanks. -- Dirk Beetstra T C 09:56, 30 April 2009 (UTC)
Please could you add fields for Specific Surface Area, Pore Volume, and Average Pore Size? thanks E.J.Hoekstra ( talk) 16:08, 24 May 2009 (UTC)
I noticed the CAS number islinked and inside square brackets. Should those brackets be there? I had a look at the code, but have no idea where those brackets come from. Debresser ( talk) 19:01, 4 June 2009 (UTC)
I don't find EC-numbers for any chemicals anymore. (Search: "EC-number" or "EC number") Have they been removed from all articles?-- Christopher King ( talk) 15:42, 13 June 2009 (UTC)
I noticed that the external link for the CAS number in the Chemical infobox has an extra pair of brackets around it. Not only that but the links often (maybe always?) produce a "No CAS Registry Number® matched your search" results page at commonchemistry.org. Try for example, Tyropanoic acid or Tocofersolan. Jason Quinn ( talk) 16:36, 25 June 2009 (UTC)
We have nowadays the CASNo linking to the commonchemistry website, which is run by CAS. Following the link for benzene ( http://www.commonchemistry.org/ChemicalDetail.aspx?ref=71-43-2 71-43-2] gives a page, where they do not use square brackets. I think hence that maybe they should go. Next problem that comes then, is that we use the brackets to notify if the CASNo has been verified. We may have to come up with something else there ( ( ?) and ( ?) ??). -- Dirk Beetstra T C 13:46, 21 August 2009 (UTC)
I noticed that chembox was using the toccolors HTML class rather than the pre-cooked infobox class. This means that it looks a little out of place and had to employ its own floating code, for instance. I've created a sandbox to work on a fix for this, and the results are available test cases page. Comments? I'm planning on doing further work to make this template easier to maintain in future. Chris Cunningham (not at work) - talk 10:38, 30 July 2009 (UTC)
class="toccolors"
is purely historical: the infobox was written before the infobox
class was introduced, and we've never changed it for fear of breaking something somewhere on the 5000 or so diverse uses of the template.{{ editprotected}}
As there's been no further discussion, requesting sync with the sandbox. As the test cases show, this leads to a significantly more compact infobox without any unpleasant side-effects, and also removes an HTML ID which may cause pages to generate invalid markup right now. Chris Cunningham (not at work) - talk 08:17, 13 August 2009 (UTC)
I will try it in mainspace. What I mean is, that it looks like the title-cell is split into two cells (there is a vertical divisor visible which seems to split the header into two cells, but the placing of the title does not care about it, that one is centered with respect to the width of the box, not with respect to the 'cell' it is in (which generally is the second column). So it looks like:
| | Benzene |
for a longer name:
| Nitrobenzene |
(as if the line is overwritten). I hope this is more clear, it might be an Opera problem. -- Dirk Beetstra T C 09:12, 13 August 2009 (UTC)
Why does this template have a show/hide button rather than simply showing the IUPAC name from the beginning? Meeve ( talk) 15:25, 14 August 2009 (UTC)
When the CASOther field is used, the CAS number in the chembox is followed by a comma. However, it seems that the most common use of CASOther is to put a qualifier in parentheses such as "(HCl salt)" or "(monohydrate)", or to put a line break followed by additional info (such as magnesium sulfate, for example). In all these situations, the comma is unneeded and just plain looks funny. Can we remove this comma? In any situation where it is wanted, it can then be added manually. ChemNerd ( talk) 21:38, 30 August 2009 (UTC)
Category:Chemboxes which contain changes to watched fields is appearing in article namespace. This template needs editing to make it hidden or part of Wikipedia namespace. -- Alan Liefting ( talk) - 02:08, 6 September 2009 (UTC)
I've been working on Template:Chembox SMILES, trying to figure out what it is supposed to be doing. Yesterday I greatly simplified the logic. What is left doesn't really make sense - it shows value3 if it is not empty, otherwise it shows value. It doesn't look like any pages are actually using value2 or value3, so I can't tell what they are supposed to be used for. Anyone have any idea? — RockMFR 22:34, 19 September 2009 (UTC)
I keep wanting to put what human metabolites are found into those places. You look at " Morphine" it says "Hepatic 90%", so this wouldn't be the place to put it's major metabolites? We need a section of the chemical information box to have that. Morphine would have M3G & M6G, cocaine would have subsections (words only, not a place in the info box, I just imagine it written-) like "pyrolysis: methylecgonidine", etc. Could we work that in or am I missing the place for metabolites not just how excretion is made but what activity or metabolic pathway is made to result in what actual molecules from which (in humans.. since it all assumes in humans, but we have the "Oxycodone" article with chemical molecular metabolites unique to rabbits(!))... thanks.. 4.242.174.200 ( talk) 10:45, 15 October 2009 (UTC)
In Category:Chemical pages needing a CAS Registry Number it states "This category is populated by articles which have a {{ chembox}} or a {{ drugbox}}, but which do not have a CAS Registry Number mentioned in the box."
However I have seen articles with no CAS number and a {{
chembox}} (e.g.
Polythiazyl) that don't appear in the catagory, so I assume the correct code is not present.
I see that the template {{
drugbox}} has the following code...
| bgcolor="#eeeeee" | {{#if:{{{CAS_number|}}} | <span class="reflink plainlinks nourlexpansion">[http://www.nlm.nih.gov/cgi/mesh/2009/MB_cgi?term={{{CAS_number}}}&rn=1 {{{CAS_number}}}]</span> | ?[[Category:Chemical pages needing a CAS Registry Number]] }} {{#if:{{{CAS_supplemental|}}} | {{{CAS_supplemental|}}} }}
I have checked, and I cannot find any code within the {{ chembox}} template (or sub templates) which is similar to the {{ drugbox}} piece above.
Can someone add the appropriate code to the{{ chembox}} template(s). It's a bit advanced for me - I'm still learning that syntax. Ronhjones (Talk) 23:37, 17 November 2009 (UTC)
The documentation of Template:Chembox Hazards fails to mention that LD50 is one option. Possibly there are other omissions. See, for example, gamma-Butyrolactone, where the LD50 is shown in the Chembox. Albmont ( talk) 10:53, 19 January 2010 (UTC)