Template talk:Chembox
Template:Chembox is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Chembox template. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13Auto-archiving period: 60 days |
This page is for discussion about format, layout, content (parameters), and application howto of the Chemical infoboxes. Discussions older than several months, and now outdated, are archived. Planning and progress of implementation of these infoboxes to the numerous articles is discussed and (where possible) organized in the Chemicals WikiProject, part of the Chemistry WikiProject. |
This template was considered for deletion on 2018 November 26. The result of the discussion was "withdrawn". |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||
|
Certain features not working
[edit]Not sure if this is correct forum to post this. When I try to use some features, such as quadruple bond ($) and square planar (@SP) when editing the SMILES model in chembox of a compound on Wikipedia, it ends up either crashing or not rendering correctly. Anyone knows why this may be the case? AnDeargMor (talk) 12:00, 12 June 2024 (UTC)
- Hi AnDeargMor,
- Could you explain what you mean by "crashing", and what kind of "rendering" you mean? Some specific examples would be best. DMacks (talk) 15:03, 12 June 2024 (UTC)
- For instance, when I was trying to indicate square planar structure for Cisplatin by using [NH3][Pt@SP1](Cl)(Cl)[NH3] with notation from the Daylight Chemical Information Systems’ theory manual on SMILES, it instead showed the platinum as a pink atom and the structure stayed tetrahedral. Also, when I was trying to indicate the presence of the quadruple bond in Chromium(II) Acetate using [Cr+2]1234([OH2])$[Cr+2]([OH2])(O[C-](C)O1)(O[C-](C)O2)(O(C)[C-]O3)O(C)[C-]O4, it simply says it can’t load the file when I click on the link to the model AnDeargMor (talk) 16:13, 12 June 2024 (UTC)
- The JSmol tool in the Chembox and Drugbox is hosted by a third party, and is unfortunately limited in its ability to handle metal-complex and several other classes of structures that have special or complicated geometry based on our SMILES strings. And it relies on a fourth party (NCI CACTUS server) for some structures, adding yet another layer of possibly fragile interaction or incomplete support. Wish we had a better way:( DMacks (talk) 17:11, 12 June 2024 (UTC)
- Sounds complex as hell. I’ve also noticed that any SMILES model with Uranium in it will fail to load, is the convoluted hosting also a cause for this? AnDeargMor (talk) 11:33, 13 June 2024 (UTC)
- The JSmol tool in the Chembox and Drugbox is hosted by a third party, and is unfortunately limited in its ability to handle metal-complex and several other classes of structures that have special or complicated geometry based on our SMILES strings. And it relies on a fourth party (NCI CACTUS server) for some structures, adding yet another layer of possibly fragile interaction or incomplete support. Wish we had a better way:( DMacks (talk) 17:11, 12 June 2024 (UTC)
- For instance, when I was trying to indicate square planar structure for Cisplatin by using [NH3][Pt@SP1](Cl)(Cl)[NH3] with notation from the Daylight Chemical Information Systems’ theory manual on SMILES, it instead showed the platinum as a pink atom and the structure stayed tetrahedral. Also, when I was trying to indicate the presence of the quadruple bond in Chromium(II) Acetate using [Cr+2]1234([OH2])$[Cr+2]([OH2])(O[C-](C)O1)(O[C-](C)O2)(O(C)[C-]O3)O(C)[C-]O4, it simply says it can’t load the file when I click on the link to the model AnDeargMor (talk) 16:13, 12 June 2024 (UTC)
Discussion about chemical data pages
[edit]There is a discussion about chemical data pages at WP:VPP § Policy for chemical data page. Mgp28 (talk) 07:33, 15 June 2024 (UTC)
Parameter explanations in Chembox:Properties are not aligned with the parameter names.
[edit]Depending on font and screen size, the lists of parameter names and explanations may fail to be aligned with each other. Jorge Stolfi (talk) 22:05, 2 July 2024 (UTC)
Units for molar mass
[edit]Please see discussion at Template talk:Chem molar mass#Non-standard molar mass notation that is about the display of part of the Chembox. DMacks (talk) 04:07, 3 July 2024 (UTC)
Duplicate parameters
[edit]In Ammonium hexacyanoferrate(II), {{Chembox Properties}} has two values for the "N" parameter, which might be chemically correct, but the template returns an error:
- Warning: Ammonium hexacyanoferrate(II) is calling Template:Chembox Properties with more than one value for the "N" parameter. Only the last value provided will be used.
Has it been applied incorrectly? —GoldRingChip 16:53, 18 September 2024 (UTC)
- Passing more than one N parameter is not correct in this context, per the template's docs and technical meaning of this set of fields. I fixed the parameters (there was also another mistake). DMacks (talk) 16:59, 18 September 2024 (UTC)
- Thank you. —GoldRingChip 17:20, 18 September 2024 (UTC)