Template talk:Chembox

(Redirected from Template talk:Chembox CompTox/doc)
Latest comment: 1 day ago by Jdlrobson in topic Dark mode support for images

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)Reply

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)Reply
Thank you. —GoldRingChip 17:20, 18 September 2024 (UTC)Reply

Spacing

edit

This template is generating an extra <p> element above the lead section at Carbon dioxide containing TemplateStyles. I've no idea how you might fix that. Hairy Dude (talk) 10:32, 24 September 2024 (UTC)Reply

Drug_class field not working

edit

Hello. The "Drug_class" field in Section6 "Chembox Pharmacology" (see Template:Chembox_Pharmacology/doc for documentation) does not seem to be working. The field does not show in the drugbox when filled and instead this text is deposited on the page: "Template:Chembox DrugClass". Hoping for a fix so that this field can be used. Thank you. – 76.174.0.57 (talk) 10:33, 7 November 2024 (UTC)Reply

Dark mode support for images

edit

Can we add skin-invert-image to the images in this box or give them a white background?

The chemical formulae are not readable in dark mode e.g. https://en.wikipedia.org/wiki/Borax?vectornightmode=1&useskin=vector-2022 🐸 Jdlrobson (talk) 00:40, 25 November 2024 (UTC)Reply