Jump to content

Template talk:Chembox

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]