![]() | Template:Chem2 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 template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
|
|
This page has archives. Sections older than 730 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
Why the {{chem2}} template works incorrectly on certain Wikipedia pages? This bug has nothing to do with browsers, operating systems or computer settings, it is a {{chem2}} template bug.
For example, the {{chem2|CO3(2−)}}
and {{chem2|NO3−}}
normally gives CO2−3 and NO−3 respectively, but on certain pages (e.g., Trigonal planar molecular geometry, Caesium sesquioxide and all Search results pages) it crashes and gives CO2−3 and NO−3 respectively. What on this Earth is going on? Can someone correct this annoying bug? Bernardirfan (talk) 13:30, 18 August 2023 (UTC)
<chem>
element instead, but why not correct this annoying {{chem2}} bug in the first place. Bernardirfan (talk) 18:37, 9 December 2023 (UTC)Putting physical state (like solid, gaseous, aqueous) to lower index does not seem to be correct, and examples like
should be fixed to
(See e.g. IUPAC Red Book, IR-2.2.3.1, example 16.)
—Mykhal (talk) 10:12, 2 October 2023 (UTC)
I'm surprised no one has mentioned this yet, but stoichiometric fractions are a mess with this template. Simply putting in both numbers and a slash results in the following:
A simple workaround I've seen is to put the numerator as a superscript:
but this is very ugly IMO, at least compared to {{sfrac}}, 1/2, or its cousin {{frac}}, 1⁄2. Putting those templates into the chem2 template produces the following gnarly error:
Sure, one could split the template up and include {{sfrac}} midway, but then you'd have to encase the whole thing in {{nowrap}} to ensure the equation doesn't line break when the webpage is made thin. Surely there's a way to code for this in the template directly? <chem> detects syntax like '1/2' and automatically renders it as a vertical fraction. User:Graeme Bartlett has told me off before for converting line equations to <chem>, but at least <chem> can present fractions simply, cleanly, and correctly without wacky workarounds:
Could something like this be implemented into chem2? I'd love to try my hand at fixing this issue rather than complain, but I'm afraid I have no idea where to even begin coding a template like this, much less edit one OlliverWithDoubleL (talk) 07:21, 25 October 2023 (UTC)
Isn't the IUPAC recommendation to stagger the charges? e.g. SO42-
See section 2.10.1 iv p51 of IUPAC (2007) Quantities, Units and Symbols in Physical Chemistry, Third Edition (The “Green Book”) https://iupac.org/wp-content/uploads/2019/05/IUPAC-GB3-2012-2ndPrinting-PDFsearchable.pdf
Ewen (talk) 13:11, 19 February 2024 (UTC)
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please add these fairly common abbreviations:
Me = 'Methyl group',
Bu = 'Butyl group',
Pn = 'Pentyl group',
Cp = 'Cyclopentadienyl',
Looking at Skeletal formula or other list, it's hard to say which other abbreviations should definitely be added. Many are rare. Many clash with atoms (Ac is actinium, so no acetyl. Pr is praseodymium, so no propyl.) -A876 (talk) 23:08, 3 December 2024 (UTC)
Hey, I'm translating the module into Icelandic and I noticed that Copernicium, element 112 is as Cp and not Cn in the module, see this image:
I'm putting it as Cn in the Icelandic translation since that's the correct one according to the wikipedia page on copernicium, https://en.wikipedia.orghttps://demo.azizisearch.com/lite/wikipedia/page/Copernicium. Would be cool if somebody would fix this on here also, I can't because of the protection. Thanks :) Huldar98 (talk) 00:02, 18 December 2024 (UTC)
![]() | This edit request to Module:Chem2 has been answered. Set the |answered= parameter to no to reactivate your request. |
Please change (in module:chem2):
Cp = "Copernicium",
to
Cn = "Copernicium",
per last comment and copernicium. Christian75 (talk) 02:33, 26 December 2024 (UTC)
Is there a way to get rid of <br>
in this template?
A source of nitrate in the human diets arises from the consumption of leafy green foods, such as spinach and arugula. NO−
3 can be present in beetroot juice.
The same applies to {{chem}}. Jack who built the house (talk) 09:16, 11 April 2025 (UTC)