Template:Chembox: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{|class="infobox bordered" style="border-collapse:collapse; margin-top:2px; width:{{{width|22em}}}; text-align:left; {{{style|}}};"
<noinclude>{{Tdeprecated|Chembox|Chembox new}}{{hprotected}}
<!-- TITLE -->
<!-- This template has been defined after elaborate discussion in the Chemicals Wikiproject. Please do not add, deleted or otherwise change it unless after due discussion in [[wikipedia talk:WikiProject Chemicals]] -->
|+ colspan=2 style="text-align:center;" |{{#if:{{{Name|}}} |{{{Name}}} |{{PAGENAME}}}}{{{Reference|}}}
</noinclude>{| class="toccolours" border="1" style="float: right; clear: right; margin: 0 0 1em 1em; border-collapse: collapse;"
|- <!-- IMAGES -->
! {{chembox header}} | {{PAGENAME}} <!-- replace if not identical with the article name -->
{{#if:{{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}
|-
|<!-- Row 1/9 -->{{Chembox image
| align="center" width="300" colspan="2" bgcolor="#ffffff" | [[Image:{{PAGENAME}}.png|200px|{{PAGENAME}}]] <!-- replace if not identical with the pagename -->
|par_file={{{ImageFile|}}}
|-
|par_title={{{ImageName|}}}
! {{chembox header}} | General
|par_size={{{ImageSize|}}}
|-
|par_alt={{{ImageAlt|}}}
| [[International Union of Pure and Applied Chemistry nomenclature|Systematic name]]
|par_caption={{{ImageCaption|}}}
| ? <!-- e.g. Iron(II) chloride -->
|par_ref={{{ImageFile_Ref|}}} }}
|-
<!-- Row 2/9 -->{{Chembox image
| Other names
|par_file={{{ImageFile1|}}}<!-- par_file, not par_value any more -->
| ? <!-- e.g. Ferrous chloride etc, + linked mineral names -->
|par_title={{{ImageName1|}}}
|-
|par_size={{{ImageSize1|}}}
| [[Chemical formula|Molecular formula]]
|par_alt={{{ImageAlt1|}}}
| ? <!-- e.g. Na<sub>2</sub>CO<sub>3</sub> -->
|par_caption={{{ImageCaption1|}}}
|-
|par_ref={{{ImageFile1_Ref|}}} }}
| [[Simplified molecular input line entry specification|SMILES]] <!-- mostly for organic compounds, omit otherwise -->
<!-- Row 3/9 -->{{Chembox image sbs
| ?
|par_fileL={{{ImageFileL1|}}}
|-
|par_titleL={{{ImageNameL1|}}}
| [[Molar mass]]
|par_sizeL={{{ImageSizeL1|}}}
| ?.?? g/mol
|par_altL={{{ImageAltL1|}}}
|-
|par_captionL={{{ImageCaptionL1|}}}
| Appearance
|par_refL={{{ImageFileL1_Ref|}}}
| ? <!-- e.g. pale yellow solid, [[hygroscopic]] -->
|par_fileR={{{ImageFileR1|}}}
|-
|par_titleR={{{ImageNameR1|}}}
| [[CAS registry number|CAS number]]
|par_sizeR={{{ImageSizeR1|}}}
| [?-?-?]
|par_altR={{{ImageAltR1|}}}
|-
|par_captionR={{{ImageCaptionR1|}}}
! {{chembox header}} | Properties
|par_refR={{{ImageFileR1_Ref|}}} }}
|-
<!-- Row 4/9 -->{{Chembox image sbs
| [[Density]] and [[Phase (matter)|phase]]
|par_fileL={{{ImageFileL2|}}}
| ? g/cm³, ? <!-- ? g/cm³, solid / ? g/ml, liquid / ? g/l, gas -->
|par_titleL={{{ImageNameL2|}}}
|-
|par_sizeL={{{ImageSizeL2|}}}
| [[Solubility]] in [[Water_(molecule)|water]]
|par_altL={{{ImageAltL2|}}}
| ? g/100 ml (?°C) <!--  at least put miscible with, not soluble in -->
|par_captionL={{{ImageCaptionL2|}}}
|-
|par_refL={{{ImageFileL2_Ref|}}}
<!-- | Other solvents e.g. [[ethanol]], [[acetone]] -->
|par_fileR={{{ImageFileR2|}}}
<!-- | solubility info on other solvents -->
|par_titleR={{{ImageNameR2|}}}
<!-- |- -->
|par_sizeR={{{ImageSizeR2|}}}
| [[Melting point]]
|par_altR={{{ImageAltR2|}}}
| ?°C (? K) <!-- (mention any decomposition) -->
|par_captionR={{{ImageCaptionR2|}}}
|-
|par_refR={{{ImageFileR2_Ref|}}} }}
| [[Boiling point]]
<!-- Row 5/9 -->{{Chembox image
| ?°C (? K)
|par_file={{{ImageFile2|}}}
|-
|par_title={{{ImageName2|}}}
| [[Acid dissociation constant|Acidity]] (p''K''<sub>a</sub>) <!-- omit if not an acid or a base.  If several values, be clear -->
|par_size={{{ImageSize2|}}}
| ?
|par_alt={{{ImageAlt2|}}}
|-
|par_caption={{{ImageCaption2|}}}
| [[Acid dissociation constant|Basicity]] (p''K''<sub>b</sub>) <!-- omit if not a base. If several values, be clear -->
|par_ref={{{ImageFile2_Ref|}}} }}
| ?
<!-- Row 6/9 -->{{Chembox image
|-
|par_file={{{ImageFile3|}}}
| [[Specific rotation|Chiral rotation <nowiki>[α]</nowiki><sub>D</sub>]] <!-- (Only include this for chiral compounds, indicate direction/enantiomer combo if known) -->
|par_title={{{ImageName3|}}}
|
|par_size={{{ImageSize3|}}}
|-
|par_alt={{{ImageAlt3|}}}
| [[Viscosity]]
|par_caption={{{ImageCaption3|}}}
| ? [[Poise|cP]] at ?°C <!-- Liquids only, omit if data unavailable. You may use [[Pascal second|Pa.s]] if you prefer -->
|par_ref ={{{ImageFile3_Ref|}}} }}
|-
<!-- Row 7/9 -->{{Chembox image sbs
! {{chembox header}} | Structure
|par_fileL={{{ImageFileL3|}}}
|-
|par_titleL={{{ImageNameL3|}}}
| [[Orbital_hybridisation#Molecule_shape|Molecular shape]] <!-- for simple covalent molecules (omit for most large molecules, ionics and complexes) -->
|par_sizeL={{{ImageSizeL3|}}}
| ? <!-- e.g. trigonal bipyramidal -->
|par_altL={{{ImageAltL3|}}}
|-
|par_captionL={{{ImageCaptionL3|}}}
| [[Coordination geometry|Coordination<br />geometry]] <!-- for a metal complex or an ionic crystal, otherwise omit -->
|par_refL={{{ImageFileL3_Ref|}}}
| ? <!-- e.g. trigonal bipyramidal -->
|par_fileR={{{ImageFileR3|}}}
|-
|par_titleR={{{ImageNameR3|}}}
| [[Crystal structure]] <!-- omit if not a solid -->
|par_sizeR={{{ImageSizeR3|}}}
| ? <!-- e.g. [[triclinic]], [[monoclinic]], [[orthorhombic]], [[hexagonal]], [[rhombohedral|trigonal]], [[tetragonal]], [[cubic]], and mention "close packed" or similar.  You may also cite what class it belongs to, e.g. [[Cadmium_chloride#Crystal_structure|CdCl<sub>2</sub>]]  -->
|par_altR={{{ImageAltR3|}}}
|-
|par_captionR={{{ImageCaptionR3|}}}
| [[Dipole#Molecular_dipoles|Dipole moment]]
|par_refR={{{ImageFileR3_Ref|}}} }}
| ? [[Debye|D]]
<!-- Row 8/9 -->{{Chembox image sbs
|-
|par_fileL={{{ImageFileL4|}}}
! {{chembox header}} | Hazards <!--  Summary only- MSDS entry provides more complete information -->
|par_titleL={{{ImageNameL4|}}}
|-
|par_sizeL={{{ImageSizeL4|}}}
| [[Material safety data sheet|MSDS]]
|par_altL={{{ImageAltL4|}}}
| [[{{PAGENAME}} (data page)#Material Safety Data Sheet|External MSDS]] <!-- please replace with proper link-->
|par_captionL={{{ImageCaptionL4|}}}
|-
|par_refL={{{ImageFileL4_Ref|}}}
| Main [[Worker safety and health|hazard]]s
|par_fileR={{{ImageFileR4|}}}
| ? <!-- e.g. highly toxic, explosive, flammable, corrosive -->
|par_titleR={{{ImageNameR4|}}}
|-
|par_sizeR={{{ImageSizeR4|}}}
| [[NFPA 704]]
|par_altR={{{ImageAltR4|}}}
| <!-- {{NFPA 704 | Health=4 | Flammability=4 | Reactivity=4 | Other=OX }} These are set on "very dangerous" as default- adjust according to actual values -->
|par_captionR={{{ImageCaptionR4|}}}
|-
|par_refR={{{ImageFileR4_Ref|}}} }}
| [[Flash point]]
<!-- Row 9/9 -->{{Chembox image
| ?°C
|par_file={{{ImageFile4|}}}
|-
|par_title={{{ImageName4|}}}
| [[Risk and Safety Statements|R/S statement]]
|par_size={{{ImageSize4|}}}
| [[List of R-phrases|R]]: ? <br /> [[List of S-phrases|S]]: ?
|par_alt={{{ImageAlt4|}}}
|-
|par_caption={{{ImageCaption4|}}}
| [[RTECS]] number
|par_ref={{{ImageFile4_Ref|}}}}}
| ?
|<!-- No ImageFile entered for rows 1-4; row 5+ cannot be initial image -->
|-
 
! {{chembox header}} | [[{{PAGENAME}} (data page)|Supplementary data page]]
{{!}}-
|-
{{!}} colspan=2 style="line-height:1px;" {{!}}<!-- no image, we need a border-top -->
| [[{{PAGENAME}} (data page)#Structure and properties|Structure and<br />properties]]
{{!}}-
| [[Refractive index|''n'']], [[Dielectric constant|ε<sub>r</sub>]], etc.
 
|-
}}<!--
| [[{{PAGENAME}} (data page)#Thermodynamic properties|Thermodynamic<br />data]]
TEXTUAL VALUES ----- -->
| Phase behaviour<br />Solid, liquid, gas
{{#if:{{{OtherNames|}}}{{{IUPACName|}}}{{{IUPACNames|}}}{{{PIN|}}}{{{SystematicName|}}}|
|-
<!-- Other names listing: -->
| [[{{PAGENAME}} (data page)#Spectral data|Spectral data]]
{{Chembox AllOtherNames
| [[UV/VIS spectroscopy|UV]], [[Infrared spectroscopy|IR]], [[nuclear magnetic resonance spectroscopy|NMR]], [[Mass spectrometry|MS]]
|IUPACName={{{IUPACName|}}} {{{IUPACNames|}}}<!-- plural indicated by editor -->
|-
|PIN={{{PIN|}}}
! {{chembox header}} | Related compounds
|SystematicName={{{SystematicName|}}}
|-
|OtherNames={{{OtherNames|}}}
| Other [[Ion|anion]]s <!-- please omit if not applicable -->
|countIUPACnames={{#if:{{{IUPACNames|}}}|99|{{#ifeq:{{#invoke:String |match |s=_{{{IUPACName|}}} |pattern=%<br%s*%/?%s*%> |nomatch=_NO_BREAK_|plain=false|ignore_errors=false}}|_NO_BREAK_|0|9}}+{{#if:{{{IUPACName|}}}|1|0}} }}<!-- we only need to know: 0-1-many IUPACName/s? -->
| ? <!-- Put in related anions e.g, iron(II) fluoride & iron(II) bromide if compound is iron(II) chloride -->
}}
|-
}}<!-- end section OtherNames -->
| Other [[Ion|cation]]s <!-- please omit if not applicable -->
{{{Section1|}}}<!-- SECTIONS 1-9 --- -->
| ? <!-- Put in other oxidation states of same element e.g. [[iron(III) chloride]], also for related metals such as [[manganese(II) chloride]], [[cobalt(II) chloride]], ruthenium(III) chloride-->
{{{Section2|}}}
|-
{{{Section3|}}}
| Related [[?]] <!-- PLEASE INSERT FUNCTIONAL GROUP (e.g. [[aldehyde]]) FOR ORGANICS, please omit if not applicable -->
{{{Section4|}}}
| ? <!-- Insert related organics e.g. on formaldehyde page put [[acetaldehyde]] -->
{{{Section5|}}}
|-
{{{Section6|}}}
| Related compounds
{{{Section7|}}}
<!-- A miscellaneous heading - use for covalent inorganics; e.g. for PCl<sub>3</sub> you would list PCl<sub>5</sub>, POCl<sub>3</sub>, PF<sub>3</sub>, PBr<sub>3</sub>, NCl<sub>3</sub> and AsCl<sub>3</sub>.
{{{Section8|}}}
Please omit if not applicable -->
{{{Section9|}}}
| ?
<!-- SUPPLEMENT -->{{Chembox Supplement}}
|-
<!-- FOOTER -->{{Chembox Footer
| {{chembox header}} | <small>Except where noted otherwise, data are given for<br /> materials in their [[standard state|standard state (at 25&nbsp;°C, 100&nbsp;kPa)]]<br />[[wikipedia:Chemical infobox|Infobox disclaimer and references]]</small>
| useName={{#if:{{{Name|}}}|{{{Name|}}}|{{PAGENAME}}}}
|-
| Verifiedfields={{{Verifiedfields|}}}
|}<noinclude>
| Watchedfields={{{Watchedfields|}}}
[[Category:WikiProject Chemistry templates|{{PAGENAME}}]]
| verifiedrevid={{{verifiedrevid|}}}
| show_ss_note={{{show_ss_note |yes}}}
| show_infobox_ref={{{show_infobox_ref|yes}}}
| general_note={{{general_note|}}}
| style-left-column-width=40%<!-- sets left colomn width -->
| width={{{width|22em}}}<!-- infobox width setting, here for feedback -->
| hasImage={{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFile4|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}<!-- the verified images -->{{{ImageFileL3|}}}{{{ImageFileR3|}}}{{{ImageFileL4|}}}{{{ImageFileR4|}}}<!-- now complete, all 13 -->
| hasImageSize={{{ImageSizeL1|}}}{{{ImageSizeR1|}}}{{{ImageSizeL2|}}}{{{ImageSizeR2|}}}{{{ImageSizeL3|}}}{{{ImageSizeR3|}}}{{{ImageSizeL4|}}}{{{ImageSizeR4|}}}
| hasLocalImage=<!-- Check if file is local/not above L2, R2
-->{{#switch: en
|{{ParmPart |5 |{{filepath:{{{ImageFile|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFile1|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFile2|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFile3|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFile4|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileL1|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileR1|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileL2|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileR2|}}}}}}}=yes }}
| hasDeprecatedParams2={{{PIN_hidden|}}}{{{IUPACNames_hidden|}}}{{{IUPACName_hidden|}}}<!--depr show/hide Names 11 Feb 2015 -->
| hasTrackedParams1={{{width|}}}{{{style|}}}{{{show_ss_note|}}}{{{show_infobox_ref|}}}{{{general_note|}}}{{{style-left-column-width|}}}<!--
-->| hasTrackedParams2=<!-- image rows 7-8-9 -->{{{ImageFileL3|}}}{{{ImageNameL3|}}}{{{ImageSizeL3|}}}{{{ImageAltL3|}}}{{{ImageCaptionL3|}}}{{{ImageFileL3_Ref|}}}{{{ImageFileR3|}}}{{{ImageNameR3|}}}{{{ImageSizeR3|}}}{{{ImageAltR3|}}}{{{ImageCaptionR3|}}}{{{ImageFileR3_Ref|}}}<!-- Row 8/9 -->{{{ImageFileL4|}}}{{{ImageNameL4|}}}{{{ImageSizeL4|}}}{{{ImageAltL4|}}}{{{ImageCaptionL4|}}}{{{ImageFileL4_Ref|}}}{{{ImageFileR4|}}}{{{ImageNameR4|}}}{{{ImageSizeR4|}}}{{{ImageAltR4|}}}{{{ImageCaptionR4|}}}{{{ImageFileR4_Ref|}}}<!-- Row 9/9 -->{{{ImageFile4|}}}{{{ImageName4|}}}{{{ImageSize4|}}}{{{ImageAlt4|}}}{{{ImageCaption4|}}}{{{ImageFile4_Ref|}}}<!--
end footer -->}}
|}<!--
 
-->{{#invoke:TemplatePar
|check
|template=Template:Chembox
|all= |opt=
IUPACName_hidden= IUPACNames_hidden= IUPACNames= IUPACName= ImageAlt1= ImageAlt2= ImageAlt3= ImageAlt4= ImageAltL1= ImageAltL2= ImageAltL3= ImageAltL4= ImageAltR1= ImageAltR2= ImageAltR3= ImageAltR4= ImageAlt= ImageCaption1= ImageCaption2= ImageCaption3= ImageCaption4= ImageCaptionL1= ImageCaptionL2= ImageCaptionL3= ImageCaptionL4= ImageCaptionR1= ImageCaptionR2= ImageCaptionR3= ImageCaptionR4= ImageCaption= ImageFile1_Ref= ImageFile1= ImageFile2_Ref= ImageFile2= ImageFile3_Ref= ImageFile3= ImageFile4_Ref= ImageFile4= ImageFileL1_Ref= ImageFileL1= ImageFileL2_Ref= ImageFileL2= ImageFileL3_Ref= ImageFileL3= ImageFileL4_Ref= ImageFileL4= ImageFileR1_Ref= ImageFileR1= ImageFileR2_Ref= ImageFileR2= ImageFileR3_Ref= ImageFileR3= ImageFileR4_Ref= ImageFileR4= ImageFile_Ref= ImageFile= ImageName1= ImageName2= ImageName3= ImageName4= ImageNameL1= ImageNameL2= ImageNameL3= ImageNameL4= ImageNameR1= ImageNameR2= ImageNameR3= ImageNameR4= ImageName= ImageSize1= ImageSize2= ImageSize3= ImageSize4= ImageSizeL1= ImageSizeL2= ImageSizeL3= ImageSizeL4= ImageSizeR1= ImageSizeR2= ImageSizeR3= ImageSizeR4= ImageSize= Name= OtherNames= PIN= Reference= Section1= Section2= Section3= Section4= Section5= Section6= Section7= Section8= Section9= SystematicName= Verifiedfields= Watchedfields= general_note= show_infobox_ref= show_ss_note= style-left-column-width= style= verifiedrevid= width= <!-- 105 params -->
|cat=Chemical articles with unknown parameter in Chembox
|format=0|preview=1|errNS=0
}}<noinclude>
{{documentation}}
</noinclude>
</noinclude>

Revision as of 15:39, 6 April 2015

Template:TdeprecatedTemplate:Hprotected

Template:Chembox header | Chembox
Chembox
Template:Chembox header | General
Systematic name ?
Other names ?
Molecular formula ?
SMILES ?
Molar mass ?.?? g/mol
Appearance ?
CAS number [?-?-?]
Template:Chembox header | Properties
Density and phase ? g/cm³, ?
Solubility in water ? g/100 ml (?°C)
Melting point ?°C (? K)
Boiling point ?°C (? K)
Acidity (pKa) ?
Basicity (pKb) ?
Chiral rotation [α]D
Viscosity ? cP at ?°C
Template:Chembox header | Structure
Molecular shape ?
Coordination
geometry
?
Crystal structure ?
Dipole moment ? D
Template:Chembox header | Hazards
MSDS External MSDS
Main hazards ?
NFPA 704
Flash point ?°C
R/S statement R: ?
S: ?
RTECS number ?
Template:Chembox header | Supplementary data page
Structure and
properties
n, εr, etc.
Thermodynamic
data
Phase behaviour
Solid, liquid, gas
Spectral data UV, IR, NMR, MS
Template:Chembox header | Related compounds
Other anions ?
Other cations ?
Related ? ?
Related compounds ?
Template:Chembox header | Except where noted otherwise, data are given for
materials in their standard state (at 25 °C, 100 kPa)
Infobox disclaimer and references