Template:Chemical formula/doc
This is a documentation subpage for Template:Chemical formula. It contains usage information, categories and other content that is not part of the original template page. |
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