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)
{{Chembox Identifiers}}
Any abbreviations
CAS Number, links to eMolecules
ChEBI, links to EBI
EINECS, links to ecb; URL is http://ecb.jrc.it/esis/index.php?GENRE=ECNO&ENTREE=
EINECS, links to ecb, different URL http://ecb.jrc.it/esis/index.php?GENRE=CASNO&ENTREE=
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 Structure}}: crystal structure
Coordination
Crystal structure
Molecular shape
{{Chembox Thermochemistry}}
Delta Gf
Delta Hc
Delta Hf
Entropy
Heat capacity
{{Chembox Explosive}}
Shock sensitivityFriction sensitivityExplosive velocityRelative effectiveness factor
{{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
Legal status in CA
Legal status in NZ
Legal status in US
Legal status in UK
Legal status in EU
Legal status in UN
Pregnancy Category
Pregnancy Category in US
Pregnancy Category in AU
Protein Bound
{{Chembox Hazards}}
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
RPhrases: use the {{R}} template for this
SPhrases: use the {{S}} template for this
RSPhrases: or use the combination of the two above
{{Chembox Related}}: related substances
The function
Other anions
Other cations
Other compounds: adds a chemical 'see also' section
Other function:
Full form
To use, simply copy and paste the left column into the document, and press save to get an empty Chembox:
Chembox: Template name
* Name: title above the box (DEFAULT: article name)
* filename.svg ('''not''' [[image:filename.svg]]
* picture size (example: ImageSize = 100px, default = 200px)
* alt text for picture (example: Fine dry white powder)
* Picture caption (example: Oxygen in liquid form)
* the IUPAC name
* hide IUPAC name if very long; show-button is displayed
* the systematic name
* any other name
* reference; include <ref> </ref>s, add <references/> to the page
'''Section Identifiers:''' Standard numbers etc.
* any abbreviations
* CAS Number: links to eMolecules
http://www.commonchemistry.org/
* PubChem: links to http://pubchem.ncbi.nlm.nih.gov;
up to 5 numbers
* PubChem_Comment: comment at the number
* PubChemOther: for other information
* ChemSpider: links to www.chemspider.com; up to 5 numbers
* EINECS: links to ecb; URL is
http://ecb.jrc.it/esis/index.php?GENRE = ECNO&ENTREE =
* also EINECS, but URL is
http://ecb.jrc.it/esis/index.php?GENRE = CASNO&ENTREE =
* KEGG: links to genome.ad.jp
* Medical Subject Headings: links to NIH
* ChEBI: links to EBI
* RTECS: no link
* 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)
* SMILES: no link
* InChI: no link
'''Section Properties:''' Physical properties
* the molecular formula
* molecular weight, including unit
* Its appearance
* Density, including unit.
* Melting Point, including unit.
* Notes on melting point.
* Boiling Point, including unit.
* Notes on boiling point.
* Partition coefficient
* Vapor pressure
* Henry's law constant (kH)
* Atmospheric OH rate constant
* pKa
* pKb
* Sheet Resistance
* Methacrylate Equiv Wt
* Bulk Conductivity
'''Section Structure:''' Crystal structure information
* Crystal Structure
* Coordination
* Molecular Shape
'''Section Thermochemistry:''' Thermochemical properties
* Delta Gf
* Delta Hc
* Delta Hf
* Entropy
* Heat Capacity
'''Section Pharmacology:''' Pharmacology/drug data
* Admin Routes
* Bioavailability
* Metabolism
* Half Life
* Protein Bound
* Excretion
* Legal status
* Legal status in US
* Legal status in UK
* Legal status in AU
* Legal status in CA
* Pregnancy Category
* Pregnancy Category in US
* Pregnancy Category in AU
'''Section Explosive:''' Explosive properties
* Shock Sensitivity
* Friction Sensitivity
* Explosive speed
* RE Factor
'''Section Hazards:''' Hazards
* URL for [[Safety Data Sheet]]
* EU Class
* EU Index
* Main Hazards
* NFPA-F: [[NFPA 704#red|NFPA 704]] Fire hazard 0&ndahs;4 (red)
* NFPA-H: [[NFPA 704#blue|NFPA 704]] Health hazard 0&ndahs;4 (blue)
* NFPA-R: [[NFPA 704#yellow|NFPA 704]] Reactivity hazard 0&ndahs;4 (yellow)
* NFPA-O: [[NFPA 704#white|NFPA 704]] Other hazards: W, OX, COR, ALK, ACID, CRYO, RA (white)
* RPhrases: use the {{R-phrase}} template for this
* SPhrases: use the ? template for this
* RSPhrases: or use the combination of the two above
* Flash Point
* Autoignition
* Explosion Limits
* LD50
* PEL
'''Section Related:''' Related compounds etc.
* Other Anions
* Other Cations
* Other Function: works with the next field
* Function: the function
* Other Compounds: chemical 'see also' section
-end
Indexed parameters take indexes 'blank'–1–5 (six options). They should have straight input, such as a correct CAS Registry Number. Each parameter can have a comment: |CASNo_Comment=.
Eight base parameters are indexed this way, all identifiers:
CASNo, ChEBI, ChEMBL, ChemSpiderID, DrugBank, InChI, KEGG, PubChem, SMILES, UNII
Then |_Other= (like |CASNoOther=) is available for free text input.
same substance, same index
When the chembox has multiple substances, 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:
{{Chembox
| ImageFile1 = Furfural structure.png
| 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
}}
{{Chembox
| ImageFile = Furfural structure.png
| 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).
{{Chembox
| ImageFileL1 = Furfural structure.png
| 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 structure.png
| 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)
links to http://ecb.jrc.ec.europa.eu/esis/
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, formatted as Celcius. And is converted to F and K
Also possible: MeltingPtF=, or MeltingPtK=
BoilingPt, any text
Number, formatted as Celcius. And 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}}}]]
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 Category: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 Fahrenheit
number, when in Kelvin
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 Fahrenheit
number, when in Kelvin
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 Fahrenheit
number, when in Kelvin
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 Fahrenheit
number, when in Kelvin
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: