Template:Substance

This template can be used as a standardised sidebar on any page about substances. The resulting layout can be seen on the right. The template uses the following variables:

Variables

 * Type : Category to which this substance belongs (Chemical Element, Chemical Compound, or Substance)
 * Bg-color : The three-letter hexadecimal code for the appropriate background colour (Chemical Elements: #fc0, Chemical Compounds: #97a, Substances: #cf0)
 * Image : Filename of an image, without the "Image:" namespace prefix. May be a representation of the molecular structure.
 * Caption : Description of the image.
 * Name : Name of the substance.
 * Label1 : Additional information, e.g. Symbol, Uses
 * Data1: Additional information about the substance.
 * Appearance : Brief description of the substance as viewed under normal conditions.

Code
The following code can be copied to the top of any substance article directly.

Article template
A page template is available for articles about substances.