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
上述文档嵌入自Template:Chemical formula/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |