Template:chem/doc

From Wiktionary
Jump to navigation Jump to search
Edit-paste.svg
This is a documentation subpage for Template:chem.
It contains usage information, categories and other content that are not part of the original template page.

This template is used to easily create chemical formulas.

Usage[change]

{{chem
| link = Page to link to for the given formula
| 1 = Atomic symbol(s)
| 2 = Number in subscript
}}

This template can accept up to 20 parameters (10 atomic symbols and 10 subscript numbers). All other parameters are optional.

Example[change]

{{chem|link=sulfuric acid|H|2|SO|4}} gives you:

H2SO4

TemplateData[change]

This is the TemplateData documentation for the template used by the new VisualEditor.

Chem

Template for adding chemical formulas easily.

Template parameters

ParameterDescriptionTypeStatus
11

The atomic symbol(s) of the chemical formula.

Lineoptional
22

The subscript number.

Numberoptional
33

The atomic symbol(s) of the chemical formula.

Lineoptional
44

The subscript number.

Numberoptional
55

The atomic symbol(s) of the chemical formula.

Lineoptional
66

The subscript number.

Numberoptional
77

The atomic symbol(s) of the chemical formula.

Lineoptional
88

The subscript number.

Numberoptional
99

The atomic symbol(s) of the chemical formula.

Lineoptional
1010

The subscript number.

Numberoptional
1111

The atomic symbol(s) of the chemical formula.

Lineoptional
1212

The subscript number.

Numberoptional
1313

The atomic symbol(s) of the chemical formula.

Lineoptional
1414

The subscript number.

Numberoptional
1515

The atomic symbol(s) of the chemical formula.

Lineoptional
1616

The subscript number.

Numberoptional
1717

The atomic symbol(s) of the chemical formula.

Lineoptional
1818

The subscript number.

Numberoptional
1919

The atomic symbol(s) of the chemical formula.

Lineoptional
2020

The subscript number.

Numberoptional
Linklink

The page title for the chemical formula to link to.

Pageoptional