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
[编辑]- {{Chem}}, which allows providing charge, atomic number and mass number, but doesn't automatically link the elements or common formulas