Template:chem
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:
TemplateData
[change]TemplateData for chem
Template for adding chemical formulas easily.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | The atomic symbol(s) of the chemical formula. | Line | optional |
2 | 2 | The subscript number. | Number | optional |
3 | 3 | The atomic symbol(s) of the chemical formula. | Line | optional |
4 | 4 | The subscript number. | Number | optional |
5 | 5 | The atomic symbol(s) of the chemical formula. | Line | optional |
6 | 6 | The subscript number. | Number | optional |
7 | 7 | The atomic symbol(s) of the chemical formula. | Line | optional |
8 | 8 | The subscript number. | Number | optional |
9 | 9 | The atomic symbol(s) of the chemical formula. | Line | optional |
10 | 10 | The subscript number. | Number | optional |
11 | 11 | The atomic symbol(s) of the chemical formula. | Line | optional |
12 | 12 | The subscript number. | Number | optional |
13 | 13 | The atomic symbol(s) of the chemical formula. | Line | optional |
14 | 14 | The subscript number. | Number | optional |
15 | 15 | The atomic symbol(s) of the chemical formula. | Line | optional |
16 | 16 | The subscript number. | Number | optional |
17 | 17 | The atomic symbol(s) of the chemical formula. | Line | optional |
18 | 18 | The subscript number. | Number | optional |
19 | 19 | The atomic symbol(s) of the chemical formula. | Line | optional |
20 | 20 | The subscript number. | Number | optional |
Link | link | The page title for the chemical formula to link to. | Page name | optional |
The above documentation is transcluded from Template:chem/doc. (change | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |