Template instructions

ترمیم

This template, {{chem}}, serves to simplify the writing of chemical formulae. For example,

{{chem|H|2|O}}

will yield:

H
2
O

The template currently accepts up to twenty parameters, but could be easily extended beyond if need be.

The optional parameter link changes the formula into a link. For example:

{{chem|link=water|H|2|O}}

will yield:

H
2
O

Note: To include « = » in the formula, use = (for example, « {{chem|CH2=CH2}} » yields CH2=CH2).