সাঁচ:Chembox/doc: বিভিন্ন সংশোধনসমূহৰ মাজৰ পাৰ্থক্য
Content deleted Content added
No edit summary |
No edit summary |
||
1 নং শাৰী:
<!-- {{Convert to use Infobox}} -->
{{Documentation subpage}}
{{Sandbox other||{{#ifeq:{{PAGENAME}}|Chembox<!-- in top /documentation only -->
|<!--match-->{{Lua|Module:String|Module:TemplatePar}}
{{Tracks Wikidata|P628|P2566|cat=Chemical compounds and Wikidata|section=Input from Wikidata}}|<!--no match-->}}}}
Template {{tlx|Chembox}} is an '''[[WP:INFOBOX|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".
==Usage==
{{Hatnote|See also: [[:Template:Chembox/doc/full parameter list|full parameter list]]}}
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 {{para|ImageFile|}} and {{para|IUPACName|}}), each section is added with this pattern (as the value of a parameter {{Para|Section''x''}}.
<pre>
{{Chembox
| ImageFile =
| IUPACName =
<!-- more general
| Section1 = {{
| CASNo =
| PubChem =
27 নং শাৰী:
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 {{para|Section''#''|}}. Then a section is defined with <code>"|Section# = {{
Keep in mind the advice in the main Infobox documentation to use the {{tl|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 {{para|OtherNames}}, since many names use commas within them, and using commas as separators leads to ambiguity. For example:
41 নং শাৰী:
| (next parameter) = <!-- etc. -->
</pre>
====Small, simple form====
Line 48 ⟶ 47:
{|
|- style="vertical-align:top;"
|
<pre style="overflow: auto">
{{Chembox
<!-- Images -->
| ImageFile =
| ImageSize =
| ImageAlt =
<!-- Names -->
| IUPACName =
| OtherNames =
<!-- Sections -->
| Section1 = {{
| CASNo =
| PubChem =
| SMILES =
}}
| Section2 = {{
| Formula =
| MolarMass =
72 নং শাৰী:
| Solubility =
}}
| Section3 = {{
| MainHazards =
| FlashPt =
| AutoignitionPt =
}}
}}
</
|}
====Medium form====
To use, simply copy and paste the left column into the document, filling in whatever you can:
{|
|- style="vertical-align:top"
| <pre>
{{Chembox
| Reference =
<!-- Names -->
| Name =
| IUPACName =
| PIN =
| SystematicName = not
| OtherNames = {{Unbulleted list
| ''name1''
Line 132 ⟶ 100:
| ''name50''
}}
| data page pagename =
<!-- Images -->
| ImageFile =
Line 138 ⟶ 106:
| ImageAlt =
| ImageName =
| ImageCaption =
| ImageFile1 =
| ImageSize1 =
| ImageAlt1 =
| ImageName1 =
| ImageCaption1 =
| ImageFile2 =
| ImageSize2 =
| ImageAlt2 =
| ImageName2 =
| ImageCaption2 =
| ImageFile3 =
| ImageSize3 =
Line 170 ⟶ 138:
| ImageNameR2 =
<!-- Sections -->
| Section1 = {{
| 3DMet =
| Abbreviations =
Line 191 ⟶ 159:
| UNNumber =
}}
| Section2 = {{
| AtmosphericOHRateConstant =
| Appearance =
Line 214 ⟶ 182:
| VaporPressure =
}}
| Section3 = {{
| Coordination =
| CrystalStruct =
| MolShape =
}}
| Section4 = {{
| DeltaGf =
| DeltaHc =
Line 226 ⟶ 194:
| HeatCapacity =
}}
| Section5 = {{
| ShockSens =
| FrictionSens =
Line 232 ⟶ 200:
| REFactor =
}}
| Section6 = {{
| ATCvet =
| ATCCode_prefix =
Line 266 ⟶ 234:
| Addiction_liability =
}}
| Section7 = {{
| AutoignitionPt =
| ExploLimits =
Line 285 ⟶ 253:
| PPhrases =
}}
| Section9 = {{
| OtherAnions =
| OtherCations =
Line 293 ⟶ 261:
}}
}}
</
| {{Pre2|scroll|2=
.
Reference, use {{tag|ref}} and add {{tag|references|e}} to the page
Title (default: article name)
IUPAC name
Line 309 ⟶ 277:
.
A non-default data page name (default, eg for ammonia: "<nowiki>[[Ammonia (data page)]]</nowiki>")
Like filename.svg (not [[file:filename.svg]])
Picture width (default=220px; example: ImageSize=100px)
Line 346 ⟶ 314:
.
{{tl|
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
Line 365 ⟶ 333:
RTECS, no link
SMILES, no link
<br/>{{tl|
Atmospheric OH rate constant
Its appearance
Line 384 ⟶ 352:
In which solvent it is soluble
Vapor pressure
{{tl|
Coordination
Crystal structure
Molecular shape
{{tl|
Delta Gf
Delta Hc
Line 396 ⟶ 364:
Entropy
Heat capacity
{{tl|
[[Shock sensitivity]]
[[Friction sensitivity]]
[[Explosive velocity]]
[[Relative effectiveness factor]]
{{tl|
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
Line 415 ⟶ 383:
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
{{tl|
Autoignition temperature
Explosion limits
Line 449 ⟶ 417:
NFPA-S: Special hazards (aka Other; [[NFPA 704#white|white]]): W, OX, COR, ALK, ACID, CRYO, RA
PEL
URL for [[Safety data sheet]]
HPhrases: use the {{tl|H-phrases}} template for this
PPhrases: use the {{tl|P-phrases}} template for this
{{tl|
Other anions
Other cations
Other compounds with a given function
The given function<br/>Other compounds: adds a chemical 'see also' section
}}
|}
====Full form====
To use, simply copy and paste the left column into the document, and press save to get an empty
{{collapse top|title=Long parameter list for {{tl|
{{hatnote|Sections parameter lists may be incomplete
{{See also|Template:Chembox/doc/images|l1=More on images}}
{|
|- style="vertical-align:top;"
|
<pre style = "overflow: auto">
{{Chembox
| Reference =
<!-- Names -->
| Name =
| IUPACName =
|
|
| data page pagename =
<!-- Images -->
| ImageFile =
| ImageAlt =
|
| ImageFile1 =
| ImageAlt1 =
|
| ImageFile2 =
| ImageAlt2 =
|
| ImageFile3 =
| ImageAlt3 =
|
|
| ImageAlt4 =
| ImageCaption4 =
| ImageFileL1 =
| ImageAltL1 =
|
| ImageFileR1 =
| ImageSizeR1 =
| ImageAltR1 =
|
| ImageFileL2 =
| ImageAltL2 =
|
| ImageFileR2 =
| ImageSizeR2 =
| ImageAltR2 =
|
<!-- Style settings -->
| width =
<!-- Sections -->
| Section1 = {{
|
| CASNo =
| CASNo_Comment =
| CASNo_Ref =
|
|
|
|
|
|
|
| ChemSpiderID =
| ChemSpiderID_Comment =
|
| ChemSpiderIDOther =
| EINECS =
| EC_number =
| EC_number_Comment =
|
|
| KEGG =
| MeSHName =
|
| RTECS =
|
|
|
|
|
| InChI =
|
|
|
| Section2 = {{Chembox Properties
| Formula =
| MolarMass =
| Appearance =
| Density =
| MeltingPt =
| MeltingPt_notes =
| BoilingPt =
| BoilingPt_notes =
| LogP =
| VaporPressure =
Line 835 ⟶ 533:
| pKa =
| pKb =
|
|
|
|
| Methacrylate Equiv Wt =
|
}}
| Section3 = {{Chembox Structure
|
|
|
}}
| Section4 = {{Chembox Thermochemistry
| DeltaGf =
| DeltaHc =
|
|
| 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 =
|
| REFactor =
| Section7 = {{Chembox Hazards
|
|
| NFPA-H =
| NFPA-R =
| NFPA-S =
|
|
|
|
|
| FlashPt =
|
|
| LD50 =
| PEL =
}}
| Section8 = {{Chembox Related
| OtherAnions =
| OtherCations =
| OtherFunction_label =
|
| OtherCompounds =
}}
}}
</pre>
|
<div style = "overflow: auto">
Chembox: Template name
*Name: title above the box (DEFAULT: article name)
*filename.svg ('''not''' <nowiki>[[image:filename.svg]]</nowiki>
*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 <nowiki><ref> </ref></nowiki>s, add <nowiki><references/></nowiki> to the page
'''Section Identifiers:''' Standard numbers, etc.
*any abbreviations
*CAS Number: links to eMolecules
**http://www.commonchemistry.org/
*PubChem: links to https://pubchem.ncbi.nlm.nih.gov;
**up to 5 numbers
*PubChem_Comment: comment at the number
*PubChemOther: for other information
*ChemSpider: links to http://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 {{tl|ATC}} and/or {{tl|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#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)
*HPhrases: use the {{tl|H-phrases}} template for this
*PPhrases: use the {{tl|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
</div>
|}
{{collapse bottom}}
Line 1,604 ⟶ 795:
=====same substance, same index=====
When the
:{{para|CASNo}} is {{para|InChI}} is {{para|SMILES}}
:{{para|CASNo1}} is {{para|InChI1}} is {{para|SMILES1}}
:{{para|CASNo}} is ''not'' {{para|InChI1}} is ''not'' {{para|SMILES4}}
{{
=====Labeling the substances=====
By using a parameter like {{para|index2_label}}, you can prefix every #2-input with that same prefix.
<div style="float:left;">
<source lang="moin">
{{chembox
}}
</source></div>
{{chembox
| Name=[[Linalool]]
| show_footer=no
|
| index_label=
| index1_label= (''R'')
| index2_label= (''S'')
| index_comment=(+/-)-linalool
| index1_comment= (-)-linalool
| index2_comment=(+)-linalool
Line 1,650 ⟶ 841:
}}
}}
{{
<div style="float:right;">
<pre>
| CASNo_Comment =
| CASNo1_Comment =
| CASNo5_Comment =
</pre></div>
*For specific additions, each parameter has a {{para|_Comment}} option.
{{
====Section subtemplates====
The following section subtemplates are available:
*{{tl|
*{{tl|
*{{tl|
*{{tl|
*{{tl|
*{{tl|
*{{tl|
*{{tl|
And the automated section, that is visible when 'pagename (data page)' exists:
*{{tl|
See these subsections for their parameter options.
The ''order'' of these sections in the infobox is set by the ''section number'' ({{para|Section#}}) only. Not by the typed sequence. This documentation keeps this arbitrary order:
<pre>
| Section1 = {{
| Section2 = {{
| Section3 = {{
| Section4 = {{
| Section5 = {{
| Section6 = {{
| Section7 = {{
| Section9 = {{
</pre>
Sections that are not used can be safely removed, renumbering is not necessary.
==
{{Further|Template:Chembox/doc/images}}
===Parameters===
Image parameters for the first images:
<source lang="xml">
{{Chembox
<!-- Other chembox parameters can go here -->
<!-- Row 1/7 -->
|
|
|
|
|
|
<!-- Row 2/7 -->
|
|
|
|
|
|
<!-- Row 3/7 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- More chembox parameters can go here, like |Section1=... -->
}}</source>
{{clear}}
===Examples===
Image parameters for an image (example: File1). All are optional.
{{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
|
| ImageCaption1 = A caption shows here
|
|
| show_footer=no<!-- set for documentation simplicity -->
}}
<pre style="overflow: auto">
{{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
|
| ImageCaption1 = A caption shows here
|
| ImageFile1_Ref =ref
}}
</pre>
{{clear}}
Adding two images:
{{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
| show_footer=no<!-- set for documentation simplicity -->
}}
<pre style="overflow: auto">
{{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
}}
</pre>
This gives two images, each image on his own row (note, ImageFile is the first image, ImageFile1 is the second).
{{clear}}
Adding two images, side by side (L1 and R1):
{{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
| show_footer=no<!-- set for documentation simplicity -->
}}
<pre style="overflow: auto">
{{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
}}
</pre>
This gives one row with two images. Note that ImageFile is now not supplied.
{{clear}}
===Multiple images===
{{Further|Template:Chembox/doc/images}}
{{Chembox/doc/image-ordering}}
This gives the possibility to play a bit with which image is first (rows with empty parameters are not displayed). Example:
{{Chembox
| ImageFileL1 = Furfural.svg
| ImageSizeL1 =
| 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
| 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
| show_ss_note=no<!-- set for documentation clarity -->
}}
<pre style="overflow: auto">
{{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
}}
</pre>
This gives one row with two images, and one row with one image.
{{clear}}
==Names==
{{Template:Chembox/doc/names}}
===Example===
{{Chembox
| Name=''cis''-3-Hexen-1-ol
| IUPACNames = A, B
| PIN = PIN
| SystematicName = SYS
| OtherNames = X<br/>Y<br/>Z
| show_footer=no
}}
<pre>
{{Chembox
| Name=''cis''-3-Hexen-1-ol
| IUPACNames = A, B
| PIN = PIN
| SystematicName = SYS
| OtherNames = X<br/>Y<br/>Z
}}</pre>
{{clear}}
==Input from Wikidata==
{{Sandbox other||{{#ifeq:{{PAGENAME}}|Chembox<!-- in top /documentation only -->
|<!--match-->{{Tracks Wikidata|P628|P2566|cat=Chemical compounds and Wikidata}}|<!--no match-->}}}}
[[E number]] and [[ECHA|ECHA InfoCard ID]] are read from Wikidata.
==Maintenance==
===Troubleshooting===
*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 <nowiki>| Section# = {{Chembox sectionname |" and end with "}}"</nowiki>.
:*Is there inconsistency in the Section numbering? Available numbers for sections are 1 – 9.
===Tracking categories===
*{{clc|Chembox tracking categories}}
*{{clc|Chemical articles with unknown parameter in Chembox}}
==Template Data==
{{collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools|bg=#ccc}}
{{TemplateData header|noheader=1}}
<templatedata>
{
"params": {
"width": {
"label": "Width",
"description": "The overall width of the box; the default is normally fine. Using the unit \"em\" helps the box scale for different font sizes.",
"example": "22 em",
"default": "22 em"
},
"style": {
"label": "Custom CSS",
"description": "Any additional CSS to apply to the box; see the width parameter to set the width."
},
"Name": {
"label": "Name",
"description": "
"example": "
"type": "string",
"default": "
"suggested": true
},
"Reference": {
"label": "Title reference",
"description": "A reference to be shown in the title. Use <ref> tags or equivalent, such as {{cite book}}.",
"Chembox_ref": {
"label": "Title reference (2)",
"description": "Equivalent to the title reference parameter; appears second if both are provided."
},
"ImageFile": {
"label": "Image file
"description": "
"
"suggested": true
},
"ImageFile1": {
"label": "Image file (second row; full width)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"
"label": "Image
"description": "
"type": "wiki-file-name"
},
"ImageFile3": {
"label": "Image file (sixth row; full width)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"ImageFileL1": {
"label": "Image file (third row, left half)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"ImageFileR1": {
"label": "Image file (third row, right half)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"ImageFileL2": {
"label": "Image file (fifth row, left half)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"ImageFileR2": {
"label": "Image file (fifth row, right half)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"ImageFileL3": {
"label": "Image file (seventh row, left half)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"ImageFileR3": {
"label": "Image file (seventh row, right half)",
"description": "An image file to display; omit \"File:\".",
"type": "wiki-file-name"
},
"ImageName": {
"label": "Image
"description": "
"
},
"ImageSize": {
"label": "Image size (first row, full width)",
"description": "Image width in pixels, with px suffix.",
"example": "200px",
"type": "string",
"default": "220px"
},
"ImageAlt": {
"label": "Image alt text (first row, full width)",
"description": "
"type": "string"
},
"ImageCaption": {
"label": "Image caption (first row, full width)",
"description": "Caption
"
},
"ImageFile_Ref": {
"label": "Image
"description": "
"
},
"ImageName1": {
"label": "Image name (second row, full width)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSize1": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "220px"
},
"
"label": "Image alt text (second row, full width)",
"description": "The text description read out to users who cannot see the image.",
"
},
"
"label": "Image caption (second row, full width)",
"description": "Caption displayed below the image.",
"
},
"ImageFile1_Ref": {
"label": "Image reference (second row, full width)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageNameL1": {
"label": "Image name (third row, left half)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSizeL1": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "110px"
},
"ImageAltL1": {
"label": "Image alt text (third row, left half)",
"description": "The text description read out to users who cannot see the image.",
"type": "string"
},
"ImageCaptionL1": {
"label": "Image caption (third row, left half)",
"description": "Caption displayed below the image.",
"type": "content"
},
"ImageFileL1_Ref": {
"label": "Image reference (third row, left half)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageNameR1": {
"label": "Image name (third row, right half)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSizeR1": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "110px"
},
"
"label": "Image alt text (third row, right half)",
"description": "The text description read out to users who cannot see the image.",
"type": "string"
},
"
"label": "Image caption (third row, right half)",
"description": "Caption displayed below the image.",
"
},
"ImageFileR1_Ref": {
"label": "Image reference (third row, right half)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageName2": {
"label": "Image name (fourth row, full width)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSize2": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "220px"
},
"
"label": "Image alt text (fourth row, full width)",
"description": "The text description read out to users who cannot see the image.",
"
},
"
"label": "Image caption (fourth row, full width)",
"description": "Caption displayed below the image.",
"
},
"ImageFile2_Ref": {
"label": "Image reference (fourth row, full width)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageNameL2": {
"label": "Image name (fifth row, left half)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSizeL2": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "110px"
},
"ImageAltL2": {
"label": "Image alt text (fifth row, left half)",
"description": "The text description read out to users who cannot see the image.",
"type": "string"
},
"ImageCaptionL2": {
"label": "Image caption (fifth row, left half)",
"description": "Caption displayed below the image.",
"type": "content"
},
"ImageFileL2_Ref": {
"label": "Image reference (fifth row, left half)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageNameR2": {
"label": "Image name (fifth row, right half)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSizeR2": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "110px"
},
"ImageAltR2": {
"label": "Image alt text (fifth row, right half)",
"description": "The text description read out to users who cannot see the image.",
"type": "string"
},
"ImageCaptionR2": {
"label": "Image caption (fifth row, right half)",
"description": "Caption displayed below the image.",
"type": "content"
},
"ImageFileR2_Ref": {
"label": "Image reference (fifth row, right half)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageCaptionLR2": {
"label": "Image caption
"description": "
"type": "content"
},
"
"
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSize3": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "220px"
},
"
"label": "Image alt text (sixth row, full width)",
"description": "The text description read out to users who cannot see the image.",
"
},
"
"label": "Image caption (sixth row, full width)",
"description": "Caption displayed below the image.",
"
},
"ImageFile3_Ref": {
"label": "Image reference (sixth row, full width)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageNameL3": {
"label": "Image name (seventh row, left half)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSizeL3": {
"label": "Image size
"description": "
"example": "200px",
"type": "string",
"default": "110px"
},
"ImageAltL3": {
"label": "Image alt text (seventh row, left half)",
"description": "The text description read out to users who cannot see the image.",
"type": "string"
},
"ImageCaptionL3": {
"label": "Image caption (seventh row, left half)",
"description": "Caption displayed below the image.",
"type": "content"
},
"ImageFileL3_Ref": {
"label": "Image reference (seventh row, left half)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageNameR3": {
"label": "Image name (seventh row, right half)",
"description": "If set, this is the title of the image; it appears if you hover over it.",
"type": "string"
},
"ImageSizeR3": {
"label": "Image size
"description": "Image width in pixels, with px suffix.",
"example": "200px",
"type": "string",
"default": "110px"
},
"ImageAltR3": {
"label": "Image alt text (seventh row, right half)",
"description": "The text description read out to users who cannot see the image.",
"type": "string"
},
"ImageCaptionR3": {
"label": "Image caption (seventh row, right half)",
"description": "Caption displayed below the image.",
"type": "content"
},
"ImageFileR3_Ref": {
"label": "Image reference (seventh row, right half)",
"description": "A reference for this image. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"ImageCaptionLR3": {
"label": "Image caption
"description": "
"type": "content"
},
"ImageCaptionAll": {
"
"description": "An overall image caption.",
"type": "content"
},
"OtherNames": {
"label": "Other names",
"description": "A list of other names. Using the {{Unbulleted list}} template is recommended, as separating names with commas can be ambiguous.",
"example": "{{Unbulleted list|Ethanoic acid|Acetic acid}}",
"type": "content",
"suggested": true
},
"IUPACName": {
"
"description": "For a single name. Use IUPAC names for a plural.",
"type": "content",
"suggested": true
},
"IUPACNames": {
"label": "IUPAC names",
"description": "For multiple names. Use IUPAC name for the singular.",
"type": "content"
},
"PIN": {
"
"type": "content"
},
"SystematicName": {
"
"type": "content",
"
},
"Names_ref": {
"label": "Names reference",
"description": "A reference for the names. Use <ref> tags or equivalent such as {{cite book}}.",
"type": "content"
},
"pronounce": {
"label": "Pronunciation",
"type": "content"
},
"Section1": {
"label": "Section 1",
"description": "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}}.",
"type": "
"suggested": true
},
"Section2": {
"label": "Section 2",
"description": "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}}.",
"type": "
"suggested": true
},
"Section3": {
"label": "Section 3",
"description": "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}}.",
"type": "
"suggested": true
},
"Section4": {
"label": "Section 4",
"description": "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}}.",
"type": "
"suggested": true
},
"Section5": {
"label": "Section 5",
"description": "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}}.",
"type": "
"suggested": true
},
"Section6": {
"label": "Section 6",
"description": "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}}.",
"type": "
"suggested": true
},
"Section7": {
"label": "Section 7",
"description": "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}}.",
"type": "
},
"Section8": {
"label": "Section 8",
"description": "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}}.",
"type": "
},
"Section9": {
"label": "Section 9",
"description": "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}}.",
"type": "
},
"show_footer": {
"label": "Show footer",
"description": "Set to no to hide the footer",
"type": "boolean",
"default": "Defaults to \"yes\""
},
"Verifiedfields": {
"label": "Verified fields",
"description": "Bot maintained; do not add, edit, or remove."
},
"Watchedfields": {
"label": "Watched fields",
"description": "Bot maintained; do not add, edit, or remove."
},
"verifiedrevid": {
"label": "Verified revision ID",
"description": "Bot maintained; do not add, edit, or remove."
},
"show_ss_note": {
"label": "Show standard state note",
"description": "Set to \"no\" to hide the standard state note.",
"type": "boolean"
},
"show_infobox_ref": {
"label": "Show infobox reference",
"description": "Set to \"no\" to hide the infobox reference notice."
},
"general_note": {
"label": "General note",
"description": "A general note to display in the bottom box.",
"type": "content"
},
"ImageCaptionLR1": {
"label": "Image caption (third row, left and right halves)",
"description": "Image caption for both halves of row 3.",
"type": "content"
},
"data page pagename": {
"
"
"
"default": "
},
"
"description": "Bot-maintained parameter"
}
},
"description": "Template {{Chembox}} 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.",
"format": "block",
"paramOrder": [
"width",
"style",
"Name",
"Reference",
"Chembox_ref",
"ImageFile",
"
"ImageFileL1",
"ImageFileR1",
"ImageFile2",
"ImageFileR2",
"ImageFileL2",
"ImageFile3",
"ImageFileL3",
"ImageFileR3",
"ImageName",
"ImageSize",
"ImageAlt",
"ImageCaption",
"ImageFile_Ref",
"
"ImageSize1",
"ImageAlt1",
"ImageCaption1",
"ImageFile1_Ref",
"
"ImageSizeL1",
"ImageAltL1",
"ImageCaptionL1",
"ImageFileL1_Ref",
"ImageNameR1",
"ImageSizeR1",
"ImageAltR1",
"ImageCaptionR1",
"ImageFileR1_Ref",
"ImageCaptionLR1",
"
"
"ImageAlt2",
"ImageCaption2",
"ImageFile2_Ref",
"ImageNameL2",
"ImageSizeL2",
"ImageAltL2",
"ImageCaptionL2",
"ImageFileL2_Ref",
"ImageNameR2",
"ImageSizeR2",
"ImageAltR2",
"ImageCaptionR2",
"ImageFileR2_Ref",
"ImageCaptionLR2",
"
"
"ImageAlt3",
"ImageCaption3",
"ImageFile3_Ref",
"ImageNameL3",
"ImageSizeL3",
"ImageAltL3",
"ImageCaptionL3",
"ImageFileL3_Ref",
"
"ImageSizeR3",
"ImageAltR3",
"ImageCaptionR3",
Line 2,122 ⟶ 1,632:
"PIN",
"SystematicName",
"Names_ref",
"pronounce",
"Section1",
"Section2",
Line 2,133 ⟶ 1,643:
"Section8",
"Section9",
"show_footer",
"Verifiedfields",
"Watchedfields",
"verifiedrevid",
"show_ss_note",
"show_infobox_ref",
"general_note",
"data page pagename",
"Verifiedimages"
]
}
Line 2,145 ⟶ 1,657:
{{collapse bottom}}
==
{{Navbox Chembox|state=uncollapsed}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox
{{#ifeq:{{PAGENAME}}|Chembox
|<!--match-->[[Category:
[[Category:Templates using data from Wikidata]]
[[Category:Templates that add a tracking category]]
[[Category:Infobox templates]]
|<!--no match-->[[Category:Chembox templates]]
}}}}</includeonly>
|