Template:Chembox

From WikiMD's Wellness Encyclopedia

Revision as of 17:59, 17 December 2024 by Prab (talk | contribs)

Page Template:Chembox/styles.css has no content.

Chembox - - - - - - -
Data sourced from verified databases

Usage

This template displays chemical information in a clean infobox.

Example

{{Chembox
| Name        = Flavopiridol
| ImageFile   = Flavopiridol.svg
| ImageSize   = 200px
| ImageFile1  = Alvocidib ball-and-stick.png
| ImageSize1  = 200px
| IUPACName   = 2-(2-chlorophenyl)-5,7-dihydroxy-8-[(3S,4R)-3-hydroxy-1-methyl-4-piperidinyl]-4-chromenone
| OtherNames  = Flavopiridol, HMR 1275, L-868275

| Section1    = {{Chembox Identifiers
| UNII = 45AD6X575G
| CASNo = 146426-40-6
| PubChem = 5287969
| ChEBI = 47344
| ChEMBL = 428690
| ChemSpiderID = 4450222
| KEGG = D09868
| StdInChI = 1S/C21H20ClNO5/...
| DrugBank = DB03496
| SMILES = Clc4ccccc4C=2Oc1c(c(O)cc(O)c1...)
}}

| Section2    = {{Chembox Properties
| Formula = C<sub>21</sub>H<sub>20</sub>ClNO<sub>5</sub>
| MolarMass = 401.8402
}}

| Section3    = {{Chembox Hazards
| MainHazards = 
}}
}}

Parameters

  • `Name` - Title displayed in the infobox header.
  • `ImageFile`, `ImageFile1` - Chemical structure or other images.
  • `ImageSize` - Image size (default 200px).
  • `IUPACName` - Official IUPAC name.
  • `OtherNames` - Alternate names.
  • `Section1` - Identifier section using `Chembox Identifiers`.
  • `Section2` - Properties section using `Chembox Properties`.
  • `Section3` - Hazards section using `Chembox Hazards`.

Notes

  • Sections like `Section1`, `Section2`, and `Section3` are optional.
  • Add as many sections as needed for chemical data.