Difference between revisions of "Template:Chemical formula/doc"
imported>DePiep (+template data to get TD-monthly reports) |
imported>DePiep (→Template data: 1-40) |
||
| Line 95: | Line 95: | ||
==Template data== | ==Template data== | ||
| − | {{ | + | {{TemplateData header}} |
| + | {{collapse top}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": {}, | ||
| + | "2": {}, | ||
| + | "3": {}, | ||
| + | "4": {}, | ||
| + | "5": {}, | ||
| + | "6": {}, | ||
| + | "7": {}, | ||
| + | "8": {}, | ||
| + | "9": {}, | ||
| + | "10": {}, | ||
| + | "11": {}, | ||
| + | "12": {}, | ||
| + | "13": {}, | ||
| + | "14": {}, | ||
| + | "15": {}, | ||
| + | "16": {}, | ||
| + | "17": {}, | ||
| + | "18": {}, | ||
| + | "19": {}, | ||
| + | "20": {}, | ||
| + | "21": {}, | ||
| + | "22": {}, | ||
| + | "23": {}, | ||
| + | "24": {}, | ||
| + | "25": {}, | ||
| + | "26": {}, | ||
| + | "27": {}, | ||
| + | "28": {}, | ||
| + | "29": {}, | ||
| + | "30": {}, | ||
| + | "31": {}, | ||
| + | "32": {}, | ||
| + | "33": {}, | ||
| + | "34": {}, | ||
| + | "35": {}, | ||
| + | "36": {}, | ||
| + | "37": {}, | ||
| + | "38": {}, | ||
| + | "39": {}, | ||
| + | "40": {} | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | {{collapse bottom}} | ||
=== See also === | === See also === | ||
* [[Template:Chem]], which allows providing charge, atomic number and mass number, but doesn't automatically link the elements or common formulas | * [[Template:Chem]], which allows providing charge, atomic number and mass number, but doesn't automatically link the elements or common formulas | ||
| Line 101: | Line 149: | ||
<includeonly> | <includeonly> | ||
| − | |||
[[Category:Chemistry templates]] | [[Category:Chemistry templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 12:56, 17 December 2018
| This is a documentation subpage for Template:Chemical formula. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Use the odd parameters for atoms (automatically linked) or miscellaneous text, and the even parameters for number of atoms. For example:
Some of the miscellaneous text (like common polyatomic anions) are also automatically linked if included in a single parameter. For example:
Here is the full table:
| Type | Symbol[nb 1] | Linked page | Notes |
|---|---|---|---|
| Atomic series | X | Halogen | |
| Atomic series | Ng | Noble gas | |
| Atomic series | Ln | Lanthanide | |
| Atomic series | Nu | Nucleophile | |
| Isotope | D | Deuterium | |
| Isotope | T | Tritium | |
| Molecule | H2O | Properties of water | |
| Molecule | CO2 | Carbon dioxide | |
| Molecule | CH4 | Methane | |
| Molecule | O2 | Dioxygen | |
| Group of a molecule | R | R group | |
| Group of a molecule | Ph | Phenyl group | |
| Group of a molecule | Bn | Benzyl group | |
| Group of a molecule | Bz | Benzoyl group | |
| Group of a molecule | Et | Ethyl group | |
| Group of a molecule | Me | Methyl group | |
| CH3 | |||
| Group of a molecule | NH2 | Amine group | |
| Group of a molecule | OH | Hydroxy group | |
| Group of a molecule | SH | Thiol group | |
| Group of a molecule | SeH | Selenol group | |
| Group of a molecule | Teh | Tellurol group | |
| Group of a molecule | COOH | Carboxyl group | |
| Group of a molecule | Tf | Trifluoromethylsulfonyl group | |
| Anion | CO3 | Carbonate | |
| Anion | PO4 | Phosphate | could theoretically refer to tetrapolonium (Po4), but that is not likely |
| Anion | SO4 | Sulfate | |
| Anion | SO3 | Sulfite | |
| Anion | NO3 | Nitrate | could theoretically refer to triniobium (No3), but that is not likely |
| Anion | PO3 | Phosphite | could theoretically refer to tripolonium (Po3), but that is not likely |
| Anion | ClO4 | Perchlorate | |
| Anion | ClO4 | Chlorate | |
| Anion | ClO4 | Chlorite | |
| Anion | ClO | Hypochlorite | |
| Cation | NH4 | Ammonium | |
| Cation | H3O | Hydronium | |
| Exotic matter | Ps | Positronium | |
| Exotic matter | Pn | Protonium | a bound proton and an anti-proton; the hydrogen isotope is protium |
| Exotic matter | Mu | Muonium |
- ↑ The inputs during usage are all-lowercase, and the numbers are not subscripted.
Template data
TemplateData for Chemical formula
Extended content
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
No description.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also
- Template:Chem, which allows providing charge, atomic number and mass number, but doesn't automatically link the elements or common formulas
- Template:Chem2, which has same functionality e.g. {{chem2|auto=yes|H2SO4}} gives H
2SO
4