Template:Chemical formula
Usage
Use the odd parameters for atoms (automatically linked) or miscellaneous text, and the even parameters for number of atoms. For example:
- {{Chemical formula|H|2|O}} produces: H2O
- {{Chemical formula|H2O}} produces: H2O
- {{Chemical formula|H|2|S||O|4}} produces: H2SO4
- {{Chemical formula|H|2|SO4}} produces: H2SO4
See also
- Template:Chem, which allows providing charge, atomic number and mass number, but doesn't automatically link the elements or common formulas
The above documentation is transcluded from Template:Chemical formula/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |