Bản mẫu:Chembox AllOtherNames/format

Bách khoa toàn thư mở Wikipedia

| colspan=2 style="text-align:left;" | Tên

|-

Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Template {{Hộp hóa chất}} 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".

Cách sử dụng[sửa mã nguồn]

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=.

{{Hộp hóa chất
| 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 {{Danh sách không dấu đầu dòng}} 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. Cho ví dụ:

| OtherNames = {{Danh sách không dấu đầu dòng
  | 2,4,6(1''H'',3''H'',5''H'')-pyrimidinetrione
  | 2,4,6-trioxohexahydropyrimidine
  | pyrimidinetriol
  | malonylurea
  | 6-hydroxyuracil
  | ''N'',''N''-(1,3-dioxo-1,3-propanediyl)urea
  }}
| (next parameter) = <!-- etc. -->


Small, simple form[sửa mã nguồn]

To use, simply copy and paste the left column into the document, filling in whatever you can, and save:

{{Hộp hóa chất
<!-- Images -->
| ImageFile = 
| ImageSize = 
| ImageAlt =
<!-- Names -->
| IUPACName = 
| OtherNames =
<!-- Sections -->
| Section1 = {{Chembox Identifiers
| CASNo = 
| PubChem = 
| SMILES = 
  }}
| Section2 = {{Chembox Properties
| Formula = 
| MolarMass = 
| Appearance = 
| Density = 
| MeltingPt = 
| BoilingPt = 
| Solubility = 
  }}
| Section3 = {{Chembox Hazards
| MainHazards =
| FlashPt =
| AutoignitionPt =
  }}
}}

Medium form[sửa mã nguồn]

To use, simply copy and paste the left column into the document, filling in whatever you can:

{{Hộp hóa chất
| Reference =
<!-- Names -->
| Name =
| IUPACName =
| PIN =
| SystematicName =not
| OtherNames = {{Danh sách không dấu đầu dòng
  | ''name1''
  | ''name2''
  ...
  | ''name50''
  }}
| data page pagename =
<!-- Images -->
| ImageFile = 
| ImageSize = 
| ImageAlt = 
| ImageName = 
| ImageCaption =
| ImageFile1 = 
| ImageSize1 = 
| ImageAlt1 = 
| ImageName1 = 
| ImageCaption1 =
| ImageFile2 = 
| ImageSize2 = 
| ImageAlt2 = 
| ImageName2 = 
| ImageCaption2 =
| ImageFile3 = 
| ImageSize3 = 
| ImageAlt3 = 
| ImageName3 = 
| ImageFileL1 = 
| ImageSizeL1 = 
| ImageAltL1 = 
| ImageNameL1 = 
| ImageFileR1 = 
| ImageSizeR1 = 
| ImageAltR1 = 
| ImageNameR1 = 
| ImageFileL2 = 
| ImageSizeL2 = 
| ImageAltL2 = 
| ImageNameL2 = 
| ImageFileR2 = 
| ImageSizeR2 = 
| ImageAltR2 = 
| ImageNameR2 = 
<!-- Sections -->
| Section1 = {{Chembox Identifiers
| 3DMet = 
| Abbreviations = 
| Beilstein = 
| CASNo = 
| CASNo_Comment = 
| CASOther = 
| ChEBI = 
| ChemSpiderID = 
| EINECS = 
| EC_number = 
| EC_number_Comment = 
| Gmelin = 
| InChI = 
| KEGG = 
| MeSHName = 
| PubChem = 
| RTECS = 
| SMILES = 
| UNNumber = 
  }}
| Section2 = {{Chembox Properties
| AtmosphericOHRateConstant = 
| Appearance = 
| BoilingPt = 
| BoilingPtC = 
| BoilingPt_ref = 
| BoilingPt_notes = 
| Density = 
| Formula = 
| HenryConstant = 
| LogP = 
| MolarMass = 
| MeltingPt = 
| MeltingPtC = 
| MeltingPt_ref = 
| MeltingPt_notes = 
| pKa = 
| pKb = 
| Solubility = 
| SolubleOther = 
| Solvent = 
| VaporPressure = 
  }}
| Section3 = {{Chembox Structure
| Coordination = 
| CrystalStruct = 
| MolShape = 
  }}
| Section4 = {{Chembox Thermochemistry
| DeltaGf = 
| DeltaHc = 
| DeltaHf = 
| Entropy = 
| HeatCapacity = 
  }}
| Section5 = {{Chembox Explosive
| ShockSens = 
| FrictionSens = 
| DetonationV = 
| REFactor = 
  }}
| Section6 = {{Chembox Pharmacology
| ATCvet = 
| ATCCode_prefix = 
| ATCCode_suffix = 
| ATC_Supplemental = 
| AdminRoutes = 
| Bioavail = 
| Excretion = 
| HalfLife = 
| Metabolism = 
| legal_status = 
| legal_AU = 
| legal_AU_comment = 
| legal_CA = 
| legal_CA_comment = 
| legal_NZ = 
| legal_NZ_comment = 
| legal_US = 
| legal_US_comment = 
| legal_UK = 
| legal_UK_comment = 
| legal_EU = 
| legal_EU_comment = 
| legal_UN = 
| legal_UN_comment = 
| pregnancy_category = 
| pregnancy_AU = 
| pregnancy_AU_comment = 
| pregnancy_US = 
| pregnancy_US_comment = 
| ProteinBound = 
| Dependence_liability = 
| Addiction_liability = 
  }}
| Section7 = {{Chembox Hazards
| AutoignitionPt = 
| ExploLimits = 
| FlashPt = 
| LD50 = 
| LC50 = 
| MainHazards = 
| NFPA-F = 
| NFPA-H = 
| NFPA-R = 
| NFPA-S = 
| PEL = 
| REL = 
| ExternalSDS = 
| GHSPictograms = 
| GHSSignalWord = 
| HPhrases = 
| PPhrases = 
  }}
| Section9 = {{Chembox Related
| OtherAnions = 
| OtherCations = 
| OtherFunction = 
| OtherFunction_label = 
| OtherCompounds = 
  }}
}}

Reference, use <ref>...</ref> and add to the page   Title (default: article name) IUPAC name The prefered name The systematic name(s) Any other name(s) . . . . . A non-default data page name (default, eg for ammonia: "[[Ammonia (data page)]]") Like filename.svg (not [[file:filename.svg]]) Picture width (default=220px; ví dụ: ImageSize=100px) Alt text for picture (ví dụ: Fine dry white powder) Image link title Picture caption (ví dụ: 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 description; optional. E.g. "Decomposes at" Temperature, number only. Can be a range: '100 to 200'

Notes on boiling point Density, including unit The molecular formula Henry's law constant (kH) Partition coefficient Molecular weight, including unit Melting point description; optional. E.g. "Decomposes at" Temperature, number only. Can be a range: '100 to 200'

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 sensitivity Friction sensitivity Explosive velocity Relative 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 AU Pregnancy Category in US Protein Bound {{Chembox Hazards}} Autoignition temperature Explosion limits 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 URL for Safety data sheet HPhrases: use the {{H-phrases}} template for this PPhrases: use the {{P-phrases}} template for this {{Chembox Related}}: related substances Other anions Other cations Other compounds with a given function The given function
Other compounds: adds a chemical 'see also' section

Full form[sửa mã nguồn]

To use, simply copy and paste the left column into the document, and press save to get an empty Chembox:

Danh sách tham số dài cho {{Hộp hóa chất}}
{{Hộp hóa chất
| Reference =
<!-- Names -->
| Name =
| IUPACName =
| SystematicName = 
| OtherNames = 
| data page pagename =
<!-- Images -->
| ImageFile = 
| ImageAlt = 
| ImageCaption = 
| ImageFile1 = 
| ImageAlt1 = 
| ImageCaption1 = 
| ImageFile2 = 
| ImageAlt2 = 
| ImageCaption2 = 
| ImageFile3 = 
| ImageAlt3 = 
| ImageCaption3 = 
| ImageFile4 = 
| ImageAlt4 = 
| ImageCaption4 = 
| ImageFileL1 = 
| ImageAltL1 = 
| ImageCaptionL1 = 
| ImageFileR1 = 
| ImageSizeR1 = 
| ImageAltR1 = 
| ImageCaptionR1 = 
| ImageFileL2 = 
| ImageAltL2 = 
| ImageCaptionL2 = 
| ImageFileR2 = 
| ImageSizeR2 = 
| ImageAltR2 = 
| ImageCaptionR2 = 
<!-- Style settings -->
| width =
<!-- Sections -->
| Section1 = {{Chembox Identifiers
| Abbreviations = 
| CASNo = 
| CASNo_Comment = 
| CASNo_Ref = 
| CASNos = 
| CASOther = 
| PubChem = 
| PubChem_Comment = 
| PubChem5 = 
| PubChem5_Comment = 
| PubChemOther = 
| ChemSpiderID = 
| ChemSpiderID_Comment = 
| ChemSpiderID5 = 
| ChemSpiderIDOther = 
| EINECS = 
| EC_number = 
| EC_number_Comment = 
| UNNumber = 
| DrugBank = 
| KEGG = 
| MeSHName = 
| ChEBI = 
| RTECS = 
| ATCvet = 
| ATCCode_prefix = 
| ATCCode_suffix = 
| ATC_Supplemental = 
| SMILES = 
| InChI = 
| Beilstein = 
| Gmelin = 
| 3DMet = }}
| Section2 = {{Chembox Properties
| Formula = 
| MolarMass = 
| Appearance = 
| Density = 
| MeltingPt = 
| MeltingPt_notes = 
| BoilingPt = 
| BoilingPt_notes = 
| LogP = 
| VaporPressure = 
| HenryConstant = 
| AtmosphericOHRateConstant = 
| pKa = 
| pKb = 
| Solubility = 
| SolubleOther = 
| Solvent = 
| Sheet Resistance = 
| Methacrylate Equiv Wt = 
| Bulk Conductivity =
  }}
| Section3 = {{Chembox Structure
| CrystalStruct = 
| Coordination = 
| MolShape =
  }}
| Section4 = {{Chembox Thermochemistry
| DeltaGf = 
| DeltaHc = 
| DeltaHf = 
| Entropy = 
| HeatCapacity =
  }}
| Section5 = {{Chembox Pharmacology
| AdminRoutes = 
| Bioavail = 
| Metabolism = 
| HalfLife = 
| ProteinBound = 
| Excretion = 
| legal_status = 
| legal_AU = 
| legal_AU_comment = 
| legal_CA = 
| legal_CA_comment = 
| legal_NZ = 
| legal_NZ_comment = 
| legal_US = 
| legal_US_comment = 
| legal_UK = 
| legal_UK_comment = 
| legal_EU = 
| legal_EU_comment = 
| legal_UN = 
| legal_UN_comment = 
| pregnancy_category = 
| pregnancy_AU = 
| pregnancy_AU_comment = 
| pregnancy_US = 
| pregnancy_US_comment = 
  }}
| Section6 = {{Chembox Explosive
| ShockSens = 
| FrictionSens = 
| ExplosiveV = 
| REFactor =
  }}
| Section7 = {{Chembox Hazards
| MainHazards = 
| NFPA-F = 
| NFPA-H = 
| NFPA-R = 
| NFPA-S = 
| ExternalSDS = 
| GHSPictograms = 
| GHSSignalWord = 
| HPhrases = 
| PPhrases = 
| FlashPt = 
| Autoignition = 
| ExploLimits = 
| LD50 = 
| PEL =
  }}
| Section8 = {{Chembox Related
| OtherAnions = 
| OtherCations = 
| OtherFunction_label = 
| OtherFunction = 
| OtherCompounds =
  }}
}}

Chembox: Template name

  • Name: title above the box (DEFAULT: article name)
  • filename.svg (not [[image:filename.svg]]
  • picture size (ví dụ: ImageSize = 100px, default = 200px)
  • alt text for picture (ví dụ: Fine dry white powder)
  • Picture caption (ví dụ: 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.

  • 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 Index
  • Main Hazards
  • NFPA-F: NFPA 704 Fire hazard 0&ndahs;4 (red)
  • NFPA-H: NFPA 704 Health hazard 0&ndahs;4 (blue)
  • NFPA-R: NFPA 704 Reactivity hazard 0&ndahs;4 (yellow)
  • NFPA-O: NFPA 704 Other hazards: W, OX, COR, ALK, ACID, CRYO, RA (white)
  • HPhrases: use the {{H-phrases}} template for this
  • PPhrases: use the {{P-phrases}} template for this
  • Flash Point
  • Autoignition
  • Explosion Limits
  • LD50
  • PEL

Section Supplement: Separate data page

  • data page pagename

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

Các tham số được chỉ số[sửa mã nguồn]

| CASNo = 
| CASNo1 = 
| CASNo2 = 
| CASNo3 = 
| CASNo4 = 
| CASNo5 = 
| CASNoOther = 
Các tham số được chỉ số

Overview
(index numbers 2-3-4 omitted):

| CASNo =
| CASNo1 =
| CASNo5 =
| CASNoOther =
| ChEBI =
| ChEBI1 =
| ChEBI5 =
| ChEBIOther =
| ChEMBL =
| ChEMBL1 =
| ChEMBL5 =
| ChEMBLOther =
| ChemSpiderID =
| ChemSpiderID1 =
| ChemSpiderID5 =
| ChemSpiderIDOther =
| DrugBank =
| DrugBank1 =
| DrugBank5 =
| DrugBankOther =
| InChI =
| InChI1 =
| InChI5 =
| InChIOther =
| KEGG =
| KEGG1 =
| KEGG5 =
| KEGGOther =
| PubChem =
| PubChem1 =
| PubChem5 =
| PubChemOther =
| SMILES =
| SMILES1 =
| SMILES5 =
| SMILESOther =
| UNII =
| UNII1 =
| UNII5 =
| UNIIOther =

Indexed parameters take indexes 'blank', 1–5 (six options together). They should have straight input, such as a correct CAS Registry Number.

  • 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[sửa mã nguồn]

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:

|CASNo= is |InChI= is |SMILES=
|CASNo1= is |InChI1= is |SMILES1=
|CASNo= is not |InChI1= is not |SMILES4=
Labeling the substances[sửa mã nguồn]

By using a parameter like |index2_label=, you can prefix every #2-input with that same prefix.

{{Hộp hóa chất
| Name=[[Linalool]]
|Section1={{Chembox Identifiers
| index_label    =
| index1_label   = (''R'')
| index2_label   = (''S'')
| index_comment  = (+/-)-linalool 
| index1_comment = (-)-linalool
| index2_comment = (+)-linalool
| CASNo    = 78-70-6
| CASNo1   = 126-91-0
| CASNo2   = 126-90-9
| PubChem  = 6549
| PubChem1 = 443158
| PubChem2 = 67179
  }}
}}
Linalool
Nhận dạng
Số CAS78-70-6
PubChem6549
Trừ khi có ghi chú khác, dữ liệu được cung cấp cho các vật liệu trong trạng thái tiêu chuẩn của chúng (ở 25 °C [77 °F], 100 kPa).
| CASNo_Comment =
| CASNo1_Comment =
| CASNo5_Comment =
  • For specific additions, each parameter has a |_Comment= option.

Section subtemplates[sửa mã nguồn]

The following section subtemplates are available:

And the automated section, that is visible when 'pagename (data page)' exists:

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:

| Section1 = {{Chembox Identifiers}}
| Section2 = {{Chembox Properties}}
| Section3 = {{Chembox Structure}}
| Section4 = {{Chembox Thermochemistry}}
| Section5 = {{Chembox Explosive}}
| Section6 = {{Chembox Pharmacology}}
| Section7 = {{Chembox Hazards}}
| Section9 = {{Chembox Related}}

Sections that are not used can be safely removed, renumbering is not necessary.

Thêm hình ảnh[sửa mã nguồn]

Các tham số[sửa mã nguồn]

Image parameters for the first images:

{{Hộp hóa chất
<!-- Other chembox parameters can go here -->
<!-- Row 1/7 -->
| ImageFile = 
| ImageName = 
| ImageSize = 
| ImageAlt = 
| ImageCaption = 
| ImageFile_Ref = 
<!-- Row 2/7 -->
| ImageFile1 = 
| ImageName1 = 
| ImageSize1 = 
| ImageAlt1 = 
| ImageCaption1 = 
| ImageFile1_Ref = 
<!-- Row 3/7 -->
| ImageFileL1 = 
| ImageNameL1 = 
| ImageSizeL1 = 
| ImageAltL1 = 
| ImageCaptionL1 = 
| ImageFileL1_Ref = 

| ImageFileR1 = 
| ImageNameR1 = 
| ImageSizeR1 = 
| ImageAltR1 = 
| ImageCaptionR1 = 
| ImageFileR1_Ref = 

| ImageCaptionL1R1 = 
<!-- More chembox parameters can go here, like |Section1=... -->
}}

Các ví dụ[sửa mã nguồn]

Image parameters for an image (ví dụ: File1). All are optional.

Chembox AllOtherNames/format
Skeleton formula of a ring of four carbons and one oxygen, with a carbon-oxygen attached to a carbon next to an oxygen
Trừ khi có ghi chú khác, dữ liệu được cung cấp cho các vật liệu trong trạng thái tiêu chuẩn của chúng (ở 25 °C [77 °F], 100 kPa).
{{Hộp hóa chất
| 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 = 
| ImageFile1_Ref =ref
}}

Adding two images:

Chembox AllOtherNames/format
Skeleton formula of a ring of four carbons and one oxygen, with a carbon-oxygen attached to a carbon next to an oxygen
3D filled-sphere model of the same molecule
Trừ khi có ghi chú khác, dữ liệu được cung cấp cho các vật liệu trong trạng thái tiêu chuẩn của chúng (ở 25 °C [77 °F], 100 kPa).
{{Hộp hóa chất
| 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 AllOtherNames/format
Trừ khi có ghi chú khác, dữ liệu được cung cấp cho các vật liệu trong trạng thái tiêu chuẩn của chúng (ở 25 °C [77 °F], 100 kPa).
{{Hộp hóa chất
| 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.

Nhiều hình ảnh[sửa mã nguồn]

Sắp xếp hình ảnh hộp hóa chất
hàng 1 ImageFile
hàng 2 ImageFile1
hàng 3 ImageFileL1 ImageFileR1
hàng 4 ImageFile2
hàng 5 ImageFileL2 ImageFileR2
hàng 6 ImageFile3
hàng 7 ImageFileL3 ImageFileR3

This gives the possibility to play a bit with which image is first (rows with empty parameters are not displayed). Ví dụ:

Chembox AllOtherNames/format
[[Tập tin:Furfural.svg giữa]]
Water droplet erupting from the center of a concentric ring of ripples, evidently in response to a drop landing in the water just before
Danh pháp IUPACví dụ
{{Hộp hóa chất
| 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 = ví dụ
}}

This gives one row with two images, and one row with one image.

Names[sửa mã nguồn]

Bản mẫu:Chembox/doc/names

Ví dụ[sửa mã nguồn]

cis-3-Hexen-1-ol
Tên hệ thốngSYS
Tên khácX
Y
Z
Trừ khi có ghi chú khác, dữ liệu được cung cấp cho các vật liệu trong trạng thái tiêu chuẩn của chúng (ở 25 °C [77 °F], 100 kPa).
{{Hộp hóa chất
| Name=''cis''-3-Hexen-1-ol
| IUPACNames = A, B
| PIN = PIN
| SystematicName = SYS
| OtherNames = X<br/>Y<br/>Z
}}

Nhập từ Wikidata[sửa mã nguồn]

Số EID thẻ thông tin ECHA được đọc từ Wikidata.

Bảo trì[sửa mã nguồn]

Xử lý sự cố[sửa mã nguồn]

  • When supplying a parameter with a value, and nothing or the wrong value shows up, check:
  • Is the parameter placed in the correct section?
  • Are the sections properly defined? Sections start with | Section# = {{Chembox sectionname |" and end with "}}".
  • Is there inconsistency in the Section numbering? Available numbers for sections are 1 – 9.

Thể loại theo dõi[sửa mã nguồn]

Dữ liệu bản mẫu[sửa mã nguồn]

Dữ liệu bản mẫu
Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho Chembox AllOtherNames

Template {{Hộp hóa chất}} is an infobox for chemicals. It has a large number of options to add relevant data and images. 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). Please see this template's page for full documentation.

Tham số bản mẫu[Quản lý Dữ liệu bản mẫu]

Nên dùng bản mẫu này với các tham số đặt thành khối.

Tham sốMiêu tảKiểuTrạng thái
Widthwidth

The overall width of the box; the default is normally fine. Using the unit "em" helps the box scale for different font sizes.

Mặc định
22 em
Ví dụ
22 em
Không rõtùy chọn
Custom CSSstyle

Any additional CSS to apply to the box; see the width parameter to set the width.

Không rõtùy chọn
NameName

Compound name for the chembox's title. Defaults to the page title.

Mặc định
Page title.
Ví dụ
Ethanoic acid
Chuỗi dàikhuyên dùng
Title referenceReference

A reference to be shown in the title. Use <ref> tags or equivalent, such as {{cite book}}.

Nội dungtùy chọn
Title reference (2)Chembox_ref

Equivalent to the title reference parameter; appears second if both are provided.

Không rõtùy chọn
Image file (top row, full width)ImageFile

An image file to display; omit "File:".

Tập tinkhuyên dùng
Image file (second row; full width)ImageFile1

An image file to display; omit "File:".

Tập tintùy chọn
Image file (third row, left half)ImageFileL1

An image file to display; omit "File:".

Tập tintùy chọn
Image file (third row, right half)ImageFileR1

An image file to display; omit "File:".

Tập tintùy chọn
Image file (fourth row, full width)ImageFile2

An image file to display; omit "File:".

Tập tintùy chọn
Image file (fifth row, right half)ImageFileR2

An image file to display; omit "File:".

Tập tintùy chọn
Image file (fifth row, left half)ImageFileL2

An image file to display; omit "File:".

Tập tintùy chọn
Image file (sixth row; full width)ImageFile3

An image file to display; omit "File:".

Tập tintùy chọn
Image file (seventh row, left half)ImageFileL3

An image file to display; omit "File:".

Tập tintùy chọn
Image file (seventh row, right half)ImageFileR3

An image file to display; omit "File:".

Tập tintùy chọn
Image name (first row, full width)ImageName

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (first row, full width)ImageSize

Image width in pixels, with px suffix.

Mặc định
220px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (first row, full width)ImageAlt

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (first row, full width)ImageCaption

Caption displayed below the image.

Nội dungtùy chọn
Image reference (first row, full width)ImageFile_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image name (second row, full width)ImageName1

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (second row, full width)ImageSize1

Image width in pixels, with px suffix.

Mặc định
220px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (second row, full width)ImageAlt1

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (second row, full width)ImageCaption1

Caption displayed below the image.

Nội dungtùy chọn
Image reference (second row, full width)ImageFile1_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image name (third row, left half)ImageNameL1

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (third row, left half)ImageSizeL1

Image width in pixels, with px suffix.

Mặc định
110px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (third row, left half)ImageAltL1

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (third row, left half)ImageCaptionL1

Caption displayed below the image.

Nội dungtùy chọn
Image reference (third row, left half)ImageFileL1_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image name (third row, right half)ImageNameR1

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (third row, right half)ImageSizeR1

Image width in pixels, with px suffix.

Mặc định
110px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (third row, right half)ImageAltR1

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (third row, right half)ImageCaptionR1

Caption displayed below the image.

Nội dungtùy chọn
Image reference (third row, right half)ImageFileR1_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image caption (third row, left and right halves)ImageCaptionLR1

Image caption for both halves of row 3.

Nội dungtùy chọn
Image name (fourth row, full width)ImageName2

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (fourth row, full width)ImageSize2

Image width in pixels, with px suffix.

Mặc định
220px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (fourth row, full width)ImageAlt2

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (fourth row, full width)ImageCaption2

Caption displayed below the image.

Nội dungtùy chọn
Image reference (fourth row, full width)ImageFile2_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image name (fifth row, left half)ImageNameL2

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (fifth row, left half)ImageSizeL2

Image width in pixels, with px suffix.

Mặc định
110px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (fifth row, left half)ImageAltL2

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (fifth row, left half)ImageCaptionL2

Caption displayed below the image.

Nội dungtùy chọn
Image reference (fifth row, left half)ImageFileL2_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image name (fifth row, right half)ImageNameR2

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (fifth row, right half)ImageSizeR2

Image width in pixels, with px suffix.

Mặc định
110px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (fifth row, right half)ImageAltR2

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (fifth row, right half)ImageCaptionR2

Caption displayed below the image.

Nội dungtùy chọn
Image reference (fifth row, right half)ImageFileR2_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image caption (fifth row, left and right halves)ImageCaptionLR2

Image caption for both halves of row 5.

Nội dungtùy chọn
Image name (sixth row, full width)ImageName3

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (sixth row, full width)ImageSize3

Image width in pixels, with px suffix.

Mặc định
220px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (sixth row, full width)ImageAlt3

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (sixth row, full width)ImageCaption3

Caption displayed below the image.

Nội dungtùy chọn
Image reference (sixth row, full width)ImageFile3_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image name (seventh row, left half)ImageNameL3

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (seventh row, left half)ImageSizeL3

Image width in pixels, with px suffix.

Mặc định
110px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (seventh row, left half)ImageAltL3

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (seventh row, left half)ImageCaptionL3

Caption displayed below the image.

Nội dungtùy chọn
Image reference (seventh row, left half)ImageFileL3_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image name (seventh row, right half)ImageNameR3

If set, this is the title of the image; it appears if you hover over it.

Chuỗi dàitùy chọn
Image size (seventh row, right half)ImageSizeR3

Image width in pixels, with px suffix.

Mặc định
110px
Ví dụ
200px
Chuỗi dàitùy chọn
Image alt text (seventh row, right half)ImageAltR3

The text description read out to users who cannot see the image.

Chuỗi dàitùy chọn
Image caption (seventh row, right half)ImageCaptionR3

Caption displayed below the image.

Nội dungtùy chọn
Image reference (seventh row, right half)ImageFileR3_Ref

A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Image caption (seventh row, left and right halves)ImageCaptionLR3

Image caption for both halves of row 7

Nội dungtùy chọn
Image caption (all)ImageCaptionAll

An overall image caption.

Nội dungtùy chọn
Other namesOtherNames

A list of other names. Using the {{Danh sách không dấu đầu dòng}} template is recommended, as separating names with commas can be ambiguous.

Ví dụ
{{Danh sách không dấu đầu dòng|Ethanoic acid|Acetic acid}}
Nội dungkhuyên dùng
IUPAC nameIUPACName

For a single name. Use IUPAC names for a plural.

Nội dungkhuyên dùng
IUPAC namesIUPACNames

For multiple names. Use IUPAC name for the singular.

Nội dungtùy chọn
Preferred IUPAC namePIN

không có miêu tả

Nội dungtùy chọn
Systematic IUPAC nameSystematicName

không có miêu tả

Nội dungkhuyên dùng
Names referenceNames_ref

A reference for the names. Use <ref> tags or equivalent such as {{cite book}}.

Nội dungtùy chọn
Pronunciationpronounce

không có miêu tả

Nội dungtùy chọn
Section 1Section1

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungkhuyên dùng
Section 2Section2

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungkhuyên dùng
Section 3Section3

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungkhuyên dùng
Section 4Section4

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungkhuyên dùng
Section 5Section5

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungkhuyên dùng
Section 6Section6

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungkhuyên dùng
Section 7Section7

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungtùy chọn
Section 8Section8

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungtùy chọn
Section 9Section9

A section sub-template with more information. One of {{Chembox Identifiers}}, {{Chembox Properties}}, {{Chembox Structure}}, {{Chembox Thermochemistry}}, {{Chembox Explosive}}, {{Chembox Pharmacology}}, {{Chembox Hazards}}, or {{Chembox Related}}.

Nội dungtùy chọn
Show footershow_footer

Set to no to hide the footer

Mặc định
Defaults to "yes"
Luận lýtùy chọn
Verified fieldsVerifiedfields

Bot maintained; do not add, edit, or remove.

Không rõtùy chọn
Watched fieldsWatchedfields

Bot maintained; do not add, edit, or remove.

Không rõtùy chọn
Verified revision IDverifiedrevid

Bot maintained; do not add, edit, or remove.

Không rõtùy chọn
Show standard state noteshow_ss_note

Set to "no" to hide the standard state note.

Luận lýtùy chọn
Show infobox referenceshow_infobox_ref

Set to "no" to hide the infobox reference notice.

Không rõtùy chọn
General notegeneral_note

A general note to display in the bottom box.

Nội dungtùy chọn
Data pagedata page pagename

Data page article name

Mặc định
<compound> (data page)
Ví dụ
Properties of water
Không rõtùy chọn
VerifiedimagesVerifiedimages

Bot-maintained parameter

Không rõtùy chọn

Xem thêm[sửa mã nguồn]