Template talk:CO2

Interesting
This is rather interesting. Should this be preferred over writing CO2 ? —Preceding unsigned comment added by UBeR (talk • contribs)
 * It's up to the individual to decide. This template was created because it was easier to type!  Your "manual" way produces everso slightly less server load so all else being equal, is the better one to use.
 * Smith609  Talk  07:43, 8 May 2008 (UTC)
 * Using the template provides several advantages.
 * Special:Whatlinkshere/Template:Co2 shows the pages that use the template. That's an alternative to searching for the displayed text string.
 * Everyone who uses the template will display the same text with the same formatting. That beats letting a large number of diverse editors come up with their own creative formatting.
 * In the unlikely event that the "preferred" formatting changes, then changing one template changes all instances of it. All instances that don't use the template would have to be tracked down manually and edited one at a time, by somebody.
 * The template provides an option to link the displayed text to the carbon dioxide article. Again, you could do that manually, but users might find different ways to do that. Using a template keeps it tidy.
 * --Teratornis (talk) 00:38, 7 May 2012 (UTC)

Subscript or Unicode?
Is there a reason why this uses HTML subscript notation rather than simply inserting a Unicode ₂ ? (See Subscript) --Nigelj (talk) 20:14, 3 April 2010 (UTC)


 * I reverted the template to use HTML subscript since the unicode appears above the baseline. Gobonobo  T C 01:29, 4 April 2010 (UTC)

How to wrap properly?
At present the template doesn't wrap properly: depending on the width of the browser page you can get "CO" at the end of one line and the subscript "2" on the start of the next line. I don't know how to fix this. Can someone do so? And message me, pretty please? John Stumbles (talk) 23:56, 9 May 2019 (UTC)


 * ✅ John Stumbles@undefined, I wrapped the text with .  Stepho  talk 09:09, 10 May 2019 (UTC)

Conflict with cite templates
The CO2 template has recently started triggering a warning when used with the family of templates. CO2 uses, which triggers the conflict. Therefore, some users are replacing the CO2 template in cites with HTML code. Some users have gone further and are replacing all uses of the CO2 template with HTML. This is being discussed at Wikipedia_talk:WikiProject_Chemistry.  Stepho  talk 00:16, 2 January 2022 (UTC)

I have edited this (and many other templates) in the past but the required permissions have changed.  Stepho  talk 09:19, 2 January 2022 (UTC)
 * Specific text to be added or removed: Can we replace CO2 with
 * Reason for the change: triggers a warning when used within  family templates but  does not.
 * References supporting change: See details at Wikipedia_talk:WikiProject_Chemistry
 * Hi, I've changed the COI request to a template edit request Signed, I Am Chaos (talk) 20:40, 3 January 2022 (UTC)
 * Thank you.  Stepho  talk 20:55, 3 January 2022 (UTC)
 * ✅ * Pppery * it has begun... 21:10, 3 January 2022 (UTC)
 * Thank you.  Stepho  talk 21:15, 3 January 2022 (UTC)

Need advice on similar template
I would like to have a template named {km2} which simply spits out km2, replacing the need to type and perhaps having similar refinements available with the {CO2} template.

A template with that name did exist but I am not sure of its functionality. It was deleted because of WP:OVERLINK.

Please advise on if this is a good idea or not, and the best way to make it good. Wizmut (talk) 10:44, 26 December 2023 (UTC)


 * If an article mentions square km then more than likely it should also show square miles, as per WP:UNITS. In which case just use.
 * Eg  gives 100 km2 .  Stepho  talk  22:43, 26 December 2023 (UTC)
 * Oh yes, I love including miles when there's room. But sometimes it's not appropriate.
 * Consider the readability of these two statements:
 * Mainland France (535,261 km²) and Corsica (8,680 km²) comprise European France or Metropolitan France. Total area is 633,109 km² when including Overseas departments (89,168 km²).
 * Mainland France (535261 km2) and Corsica (8680 km2) comprise European France or Metropolitan France. Total area is 633109 km2 when including Overseas departments (89168 km2).
 * The focus in the second one is all about the conversions, but the takeaway in the first one is the magnitude between each region. (My opinion)
 * Another constraint, the quoted text is in a footnote (from this article:List of European countries by area), so all those numbers are confusing in that tiny little box. But on the table itself, there's room for miles, so the miles are there. Wizmut (talk) 07:13, 27 December 2023 (UTC)


 * I'm not thrilled about it but I whipped up . Eg:  gives   Stepho  talk  08:15, 27 December 2023 (UTC)
 * Awesome! I'll try to set a good example where it's used. Wizmut (talk) 08:17, 27 December 2023 (UTC)