Template:Format molecular formula/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>DB1729 at 16:14, 15 December 2025 (Category:Chemistry templates). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Format molecular formula|H2O}} gives the molecular formula for water (H2O ).

Example arguments: H2O (above), CO2 (CO2 ), H6C2O (H6C2O ), H2SO4 (H2SO4 ).

The Lua module just puts "<sub></sub>" tags in the wanted spots.

Similar templates

[edit source]

{{Format ion formula}}, for ion chemical formulas.