Template {{Chembox}} is an infobox for chemicals. It has a large number of options to add relevant data and images. The infobox is organized in sections like "identifiers" and "hazards".
The Chembox has a modular design. After the general information like the chemical name and images, it can be built from multiple sections, each covering a group of information (like "pharmacology"). Depending on the compound, sections can be added or left out, and within a section parameters can be added or omitted (left blank).
The sections and their parameters are listed below.
Within the general chembox template (with its own parameters like |ImageFile= and |IUPACName=), each section is added with this pattern (as the value of a parameter |Sectionx=.
{{Chembox
| ImageFile =
| IUPACName =
<!-- more general Chembox parameters here -->
| Section1 = {{Chembox Identifiers
| CASNo =
| PubChem =
<!-- more Identifier parameters here -->
}}
}}
In this format, spaces and new lines have no meaning and can be used freely to separate sections (though within a data value, a space has a meaning, except generally leading and trailing spaces).
Each section has its own number in |Section#=. Then a section is defined with "|Section# = {{Chembox " and ends with "}}". Sections cannot 'nest': one must close one section with }} before adding another |Section#= {{Chembox ....
Keep in mind the advice in the main Infobox documentation to use the {{Unbulleted list}} template to present multiple values for a parameter so as to ensure that the values are each started on a new line and tagged appropriately in the underlying markup. This is particularly important with parameters like |OtherNames=, since many names use commas within them, and using commas as separators leads to ambiguity. For example:
Title (default: article name) Reference, use <ref> </ref> and add <references/> to the page IUPAC name The systematic name(s) Any other name(s)
Like filename.svg (not [[image:filename.svg]]) Picture width (default=200px; example: ImageSize=100px) Alt text for picture (example: Fine dry white powder) Picture caption (example: Oxygen in liquid form)
InChI, no link KEGG, links to genome.ad.jp Medical Subject Headings, links to NIH PubChem, links to pubchem RTECS, no link SMILES, no link
{{Chembox Properties}}: physical properties Atmospheric OH rate constant Its appearance Boiling point, in plain text Notes on boiling point Density, including unit The molecular formula Henry's law constant (kH) Partition coefficient Molecular weight, including unit Melting point, in plain text Notes on melting point pKa pKb Solubility in water Solubility in other solvents, goes together with next In which solvent it is soluble Vapor pressure
{{Chembox Pharmacology}}: drug data ATCvet=yes if the next two parameters define an ATCvet code ATCCode prefix (first three characters, omit the leading Q for ATCvet codes), internal link ATCCode suffix (last 4 characters), full ATC links to WHO C.C. Other ATC codes (use the {{ATC}} and/or {{ATCvet}} templates) Admin Routes Bioavailability Excretion Half Life Metabolism Legal status Legal status in AU
Autoignition temperature EU Class EU Index Explosion limits URL for Safety Data Sheet Flash point LD50 LC50 Main hazards NFPA-F: Fire hazard 0–4 (red) NFPA-H: Health hazard 0–4 (blue) NFPA-R: Reactivity hazard 0–4 (yellow) NFPA-S: Special hazards (aka Other; white): W, OX, COR, ALK, ACID, CRYO, RA PEL HPhrases: use the {{H-phrases}} template for this PPhrases: use the {{P-phrases}} template for this
{{Chembox Related}}: related substances The function Other anions Other cations Other compounds: adds a chemical 'see also' section Other function:
When the chembox has multiple substances, you can use the index. Make sure that |CASNo3= and |SMILES3= are about the same substance, and |CASNo3= and |SMILES2= are not. Treat index "0" the same way:
See these subsections for their parameter options.
The order of these sections in the infobox is set by the section number (|Section#=) only. Not by the typed sequence. This documentation keeps this arbitrary order:
Image parameters for an image (example: File1). All are optional.
Chembox
A caption shows here
Tracking categories (test):
{{Chembox
| ImageFile1 = Furfural.svg
| ImageAlt1 = Skeleton formula of a ring of four carbons and one oxygen, with a carbon-oxygen attached to a carbon next to an oxygen
| ImageName1 =
| ImageCaption1 = A caption shows here
| ImageSize1 = 120px
| ImageFile1_Ref =ref
}}
Adding two images:
Chembox
Tracking categories (test):
{{Chembox
| ImageFile = Furfural.svg
| ImageAlt = Skeleton formula of a ring of four carbons and one oxygen, with a carbon-oxygen attached to a carbon next to an oxygen
| ImageFile1 = Furfural-3D-vdW.png
| ImageAlt1 = 3D filled-sphere model of the same molecule
}}
This gives two images, each image on his own row (note, ImageFile is the first image, ImageFile1 is the second).
Adding two images, side by side (L1 and R1):
Chembox
Tracking categories (test):
{{Chembox
| ImageFileL1 = Furfural.svg
| ImageAltL1 = Skeleton formula of a ring of four carbons and one oxygen, with a carbon-oxygen attached to a carbon next to an oxygen
| ImageFileR1 = Furfural-3D-vdW.png
| ImageAltR1 = 3D filled-sphere model of the same molecule
}}
This gives one row with two images. Note that ImageFile is now not supplied.
{{Chembox
| ImageFileL1 = Furfural.svg
| ImageAltL1 = Skeleton formula of a ring of four carbons and one oxygen, with a carbon-oxygen attached to a carbon next to an oxygen
| ImageFileR1 = Furfural-3D-vdW.png
| ImageSizeR1 =
| ImageAltR1 = 3D filled-sphere model of the same molecule
| ImageFile2 = Water droplet blue bg05.jpg
| ImageAlt2 = Water droplet erupting from the center of a concentric ring of ripples, evidently in response to a drop landing in the water just before
| IUPACName = example
}}
This gives one row with two images, and one row with one image.
Infobox title (Pagetitle is default)
IUPAC name
Using -s makes section header plural
Preferred IUPAC name
Systematic IUPAC name
List of all other name(s)
{{Chembox Identifiers}}
------
CAS registry number, links to http://www.commonchemistry.org/
CAS registry number comment
Other CAS RN (unformatted)
------
ChEBI, links to http://www.ebi.ac.uk/chebi/
------
CHeMBL
------
ChemSpider ID, links to http://www.chemspider.com/
ChemSpider ID comment
ChemSpider ID verified? If yes, type: {{Chemspidercite}}
Other ChemSpider ID
------
DrugBank
comment
Other DrugBank
------
IUPHAR/BPS
comment
Other IUPHAR
------
KEGG entry, links to http://www.genome.jp/kegg/
------
PubChem compound ID, links to http://pubchem.ncbi.nlm.nih.gov/
PubChem compound ID comment
Other PubChem compound ID
------
SMILES
SMILES comment
Other SMILES
------
StdInChI
StdInChI comment
StdInChI Key
StdInChI Key comment
------
InChI
InChI comment
Other InChI
InChI Key
InChI Key comment
Other InChI Key
------
UNII: Unique Ingredient Identifier, by FDA
UNII comment
Other UNII
------
3DMET entry, links to http://www.3dmet.dna.affrc.go.jp/
Abbreviations
Beilstein reference
EC_number (aka EINECS)
E number (food additive code)
Gmelin ID
UN number
MeSH heading, links to http://www.nlm.nih.gov/mesh/
RTECS number
{{Chembox Properties}} - incomplete list
Reference
Chemical formula
reference
comment
per element (alternative input)
molecule charge
MolarMass
MolarMassRound
MolarMass_ref
MolarMass_notes
Appearance
Odor, Odour
Density
MeltingPt, any text
Number, in Celsius. Is converted to F and K
Also possible: MeltingPtF=, or MeltingPtK=
BoilingPt, any text
Number, in Celsius. Is converted to F and K
Also possible: BoilingPtF=, or BoilingPtK=
SublimationConditions
Solubility in water (Aqueous solution)
SolubilityProduct
SolubilityProductAs
SolubleOther
Solvent
Solubility1
[[{{{Solvent1}}}]]
Solubility2
[[{{{Solvent2}}}]]
Solubility3
[[{{{Solvent3}}}]]
Solubility4
[[{{{Solvent4}}}]]
Solubility5
[[{{{Solvent5}}}]]
CMC
HLB
LogP
VaporPressure
HenryConstant
AtmosphericOHRateConstant
pKa
pKb
IsoelectricPt
LambdaMax
Absorbance
BandGap
ElectronMobility
SpecRotation
MagSus
ThermalConductivity
RefractIndex
Viscosity
CriticalRelativeHumidity
Dipole
OrbitalHybridisation
SpecificSurfaceArea
PoreVolume
AveragePoreSize
{{Chembox Hazards}} - complete list
link to (data page)#Safety data sheet
link to an external Material safety data sheet (MSDS)
Danger pictograms according to GHS
GHS Signal Word - See ವರ್ಗ:GHS templates
GHS Hazard statements
GHS Precautionnary statements
Risk phrases (EU system)
Safety phrases (EU system)
Flammability by NFPA 704, red. See {{NFPA 704 diamond}} documentation
Health, blue. Health hazard code (0–4 or -)
Reactivity, yellow. Reactivity hazard code (0–4 or -)
Special hazards, white. Other hazard codes (like W, OX, RA, -. See list)
Reference for the NFPA fire diamond
Flash point, any text
Temperature, number in C. Can be a range: '50 to 60'. Also _PtF, _PtK. (see: temperatures)
Autoignition point, any text
Temperature, number in C. Can be a range: '50 to 60'. Also _PtF, _PtK. (see: temperatures)
PEL
Threshold Limit Value
Threshold Limit Value: Time Weighted Average
Threshold Limit Value: Short Time Exposure Limit
Lethal dose for half a population either by oral, dermal or intravenous
{{Chembox Footer}} - (Chembox internal only; parameters entered in main {{Chembox}})
Set lefthand text column width (default is 40%; see also 'width=' option in {{Chembox}})
Set '=no' will hide the standard state notice
Allows a general note in the bottom box
Set '=no' will hide the infobox reference notice
Bot maintained
Do not edit, add or remove these fields
Four or less parameters are needed to present temperature data:
|MeltingPt=Decomposes when > |MeltingPtC=50 |MeltingPt_ref=<ref>[www.example.com]</ref> |MeltingPt_notes=My notes<ref>[www.chemspider.com]</ref>
Decomposes when >_50 °C (122 °F; 323 K)[1]_My notes[2]
The options for conversion: |MeltingPtC=50 |MeltingPtF=50 |MeltingPtK=50
Temperature range: |MeltingPtC=50 to 70 |MeltingPtF=50 to 70 |MeltingPtK=50 to 70
50 °C (122 °F; 323 K)
10 °C; 50 °F; 283 K
−223.2 °C; −369.7 °F; 50.0 K
50 to 70 °C (122 to 158 °F; 323 to 343 K)
10 to 21 °C; 50 to 70 °F; 283 to 294 K
−223.2 to −203.2 °C; −369.7 to −333.7 °F; 50.0 to 70.0 K
{{Chembox Properties}} - all temperature parameters
Any text for melting point value
Temperature, number only. Can be a range: '100 to 200'
number, when in degrees Fahrenheit
number, when in kelvins
References (always shows, right after calculations or 'any text')
Notes (always shows last; can include references)
Any text for boiling point value
Temperature, number only. Can be a range: '100 to 200'
number, when in degrees Fahrenheit
number, when in kelvins
References (always shows, right after calculations or 'any text')
Notes (always shows last; can include references)
{{Chembox Hazards}} - all temperature parameters
Any text for Flash point value.
Temperature, number only. Can be a range: '100 to 200'
number, when in degrees Fahrenheit
number, when in kelvins
References (always shows, right after calculations or 'any text')
Notes (always shows last; can include references)
Any text for autoignition temperature value
Temperature, number only. Can be a range: '100 to 200'
number, when in degrees Fahrenheit
number, when in kelvins
References (always shows, right after calculations or 'any text')
Notes (always shows last; can include references)
A template like {{cascite}} is added and set by CheMoBot automatically after certain edits. Depending on the earlier data checks, the template will be marked "correct" or "changed" (i.e., to be checked). 'changed' articles are categorized for maintenance.
For example, when parameter |CASNo= is changed in the article, the bot sets |CASNo_Ref={{cascite|changed|??}} initially. See
By {{Chembox}} and {{Drugbox}} settings, a bot checks articles for parameter validation. The bot then adds and sets templates like {{cascite}} to the article. Depending on the template settings, articles are categorized for maintenance.
Usage
A template is added and set by User:CheMoBot automatically after certain edits. Depending on the earlier data checks, the template will be marked "correct" or "changed" (i.e., to be checked). 'changed' articles are categorized.
Initially the parameters are set {{cascite|changed|??}}
The primary parameter can have an index (see its documentation):
|CASNo3=1234-56-7
|CASNo3_Ref={{cascite|...|...}}
Indexed parameters like |CASNo1= and |CASNo2= are verified too, and are treated independently. So an article can have: |CASNo={{cascite|correct|CAS}} and |CASNo3={{cascite|changed}}.
Data 'correct' or 'changed' (parameter #1)
The first parameter is either correctY or changedN always: {{cascite|correct|CAS}}. Cross-marked articles are categorized as 'changed'. With any other text like monkeyN, again the cross is shown and the article is categorized, now sorted under "?".
Correct by source (parameter #2)
Initially, the bot sets this to |?? (='source unknown').
Parameter #2 has the source that confirms the statement. By confirmation, the parameter can mention the confirming source. When that source is not the standard (as listed above), the input source is mentioned in a superscript linked: