跳至內容

模板:Chemical formula/doc

維基百科,自由的百科全書

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