Template:Chembox: Difference between revisions

Jump to navigation Jump to search
Gerald Chi (talk | contribs)
mNo edit summary
Matt Pijoan (talk | contribs)
m 1 revision imported
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Tdeprecated|Chembox|Chembox new}}{{hprotected}}
{|class="infobox bordered" style="border-collapse:collapse; width:{{{width|22em}}}; text-align:left; {{{style|}}};"<!--
<!-- 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]] -->
TITLE -->
</noinclude>{| class="toccolours" border="1" style="float: right; clear: right; margin: 0 0 1em 1em; border-collapse: collapse;"
|+ colspan=2 style="text-align:center;" |{{#if:{{{Name|}}} |{{{Name}}}
! {{chembox header}} | {{PAGENAME}} <!-- replace if not identical with the article name -->
|{{PAGENAME}}}}{{{Reference|}}}{{{Chembox_ref|}}}
|-
|- <!-- IMAGES -->
| align="center" width="300" colspan="2" bgcolor="#ffffff" | [[Image:{{PAGENAME}}.png|200px|{{PAGENAME}}]] <!-- replace if not identical with the pagename -->
{{#if:{{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}<!-- rows 4/7 checked -->
|-
|<!-- Row 1/7 -->{{Chembox image
! {{chembox header}} | General
|par_file={{{ImageFile|}}}
|-
|par_title={{{ImageName|}}}
| [[International Union of Pure and Applied Chemistry nomenclature|Systematic name]]
|par_size={{{ImageSize|}}}
| ? <!-- e.g. Iron(II) chloride -->
|par_alt={{{ImageAlt|}}}
|-
|par_caption={{{ImageCaption|}}}
| Other names
|par_ref={{{ImageFile_Ref|}}} }}
| ? <!-- e.g. Ferrous chloride etc, + linked mineral names -->
<!-- Row 2/7 -->{{Chembox image
|-
|par_file={{{ImageFile1|}}}
| [[Chemical formula|Molecular formula]]
|par_title={{{ImageName1|}}}
| ? <!-- e.g. Na<sub>2</sub>CO<sub>3</sub> -->
|par_size={{{ImageSize1|}}}
|-
|par_alt={{{ImageAlt1|}}}
| [[Simplified molecular input line entry specification|SMILES]] <!-- mostly for organic compounds, omit otherwise -->
|par_caption={{{ImageCaption1|}}}
| ?
|par_ref={{{ImageFile1_Ref|}}} }}
|-
<!-- Row 3/7 -->{{Chembox image sbs
| [[Molar mass]]
|par_fileL={{{ImageFileL1|}}}
| ?.?? g/mol
|par_titleL={{{ImageNameL1|}}}
|-
|par_sizeL={{{ImageSizeL1|}}}
| Appearance
|par_altL={{{ImageAltL1|}}}
| ? <!-- e.g. pale yellow solid, [[hygroscopic]] -->
|par_captionL={{{ImageCaptionL1|}}}
|-
|par_refL={{{ImageFileL1_Ref|}}}
| [[CAS registry number|CAS number]]
|par_fileR={{{ImageFileR1|}}}
| [?-?-?]
|par_titleR={{{ImageNameR1|}}}
|-
|par_sizeR={{{ImageSizeR1|}}}
! {{chembox header}} | Properties
|par_altR={{{ImageAltR1|}}}
|-
|par_captionR={{{ImageCaptionR1|}}}
| [[Density]] and [[Phase (matter)|phase]]
|par_refR={{{ImageFileR1_Ref|}}}
| ? g/cm³, ? <!-- ? g/cm³, solid / ? g/ml, liquid / ? g/l, gas -->
|par_captionLR={{{ImageCaptionLR1|}}}}}<!-- new Nov 2017 (dev): caption both images -->
|-
<!-- Row 4/7 -->{{Chembox image
| [[Solubility]] in [[Water_(molecule)|water]]
|par_file={{{ImageFile2|}}}
| ? g/100 ml (?°C) <!--  at least put miscible with, not soluble in -->
|par_title={{{ImageName2|}}}
|-
|par_size={{{ImageSize2|}}}
<!-- | Other solvents e.g. [[ethanol]], [[acetone]] -->
|par_alt={{{ImageAlt2|}}}
<!-- | solubility info on other solvents -->
|par_caption={{{ImageCaption2|}}}
<!-- |- -->
|par_ref={{{ImageFile2_Ref|}}} }}
| [[Melting point]]
<!-- Row 5/7 -->{{Chembox image sbs
| ?°C (? K) <!-- (mention any decomposition) -->
|par_fileL={{{ImageFileL2|}}}
|-
|par_titleL={{{ImageNameL2|}}}
| [[Boiling point]]
|par_sizeL={{{ImageSizeL2|}}}
| ?°C (? K)
|par_altL={{{ImageAltL2|}}}
|-
|par_captionL={{{ImageCaptionL2|}}}
| [[Acid dissociation constant|Acidity]] (p''K''<sub>a</sub>) <!-- omit if not an acid or a base.  If several values, be clear -->
|par_refL={{{ImageFileL2_Ref|}}}
| ?
|par_fileR={{{ImageFileR2|}}}
|-
|par_titleR={{{ImageNameR2|}}}
| [[Acid dissociation constant|Basicity]] (p''K''<sub>b</sub>) <!-- omit if not a base. If several values, be clear -->
|par_sizeR={{{ImageSizeR2|}}}
| ?
|par_altR={{{ImageAltR2|}}}
|-
|par_captionR={{{ImageCaptionR2|}}}
| [[Specific rotation|Chiral rotation <nowiki>[α]</nowiki><sub>D</sub>]] <!-- (Only include this for chiral compounds, indicate direction/enantiomer combo if known) -->
|par_refR={{{ImageFileR2_Ref|}}}
|
|par_captionLR={{{ImageCaptionLR2|}}} }}
|-
<!-- Row 6/7 -->{{Chembox image
| [[Viscosity]]
|par_file={{{ImageFile3|}}}
| ? [[Poise|cP]] at ?°C <!-- Liquids only, omit if data unavailable. You may use [[Pascal second|Pa.s]] if you prefer -->
|par_title={{{ImageName3|}}}
|-
|par_size={{{ImageSize3|}}}
! {{chembox header}} | Structure
|par_alt={{{ImageAlt3|}}}
|-
|par_caption={{{ImageCaption3|}}}
| [[Orbital_hybridisation#Molecule_shape|Molecular shape]] <!-- for simple covalent molecules (omit for most large molecules, ionics and complexes) -->
|par_ref ={{{ImageFile3_Ref|}}} }}
| ? <!-- e.g. trigonal bipyramidal -->
<!-- Row 7/7 -->{{Chembox image sbs
|-
|par_fileL={{{ImageFileL3|}}}
| [[Coordination geometry|Coordination<br />geometry]] <!-- for a metal complex or an ionic crystal, otherwise omit -->
|par_titleL={{{ImageNameL3|}}}
| ? <!-- e.g. trigonal bipyramidal -->
|par_sizeL={{{ImageSizeL3|}}}
|-
|par_altL={{{ImageAltL3|}}}
| [[Crystal structure]] <!-- omit if not a solid -->
|par_captionL={{{ImageCaptionL3|}}}
| ? <!-- 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_refL={{{ImageFileL3_Ref|}}}
|-
|par_fileR={{{ImageFileR3|}}}
| [[Dipole#Molecular_dipoles|Dipole moment]]
|par_titleR={{{ImageNameR3|}}}
| ? [[Debye|D]]
|par_sizeR={{{ImageSizeR3|}}}
|-
|par_altR={{{ImageAltR3|}}}
! {{chembox header}} | Hazards <!--  Summary only- MSDS entry provides more complete information -->
|par_captionR={{{ImageCaptionR3|}}}
|-
|par_refR={{{ImageFileR3_Ref|}}}
| [[Material safety data sheet|MSDS]]
|par_captionLR={{{ImageCaptionLR3|}}}
| [[{{PAGENAME}} (data page)#Material Safety Data Sheet|External MSDS]] <!-- please replace with proper link-->
}}
|-
<!--
| Main [[Worker safety and health|hazard]]s
ImageCaptionAll: new Mar 2017
| ? <!-- e.g. highly toxic, explosive, flammable, corrosive -->
-->
|-
{{#if:{{{ImageCaptionAll|}}} |{{Chembox image caption all |par_caption={{{ImageCaptionAll}}} }}}}<!--
| [[NFPA 704]]
-->}}<!--
| <!-- {{NFPA 704 | Health=4 | Flammability=4 | Reactivity=4 | Other=OX }} These are set on "very dangerous" as default- adjust according to actual values -->
NAMES ----- -->
|-
{{#if:{{{OtherNames|}}}{{{IUPACName|}}}{{{IUPACNames|}}}{{{PIN|}}}{{{SystematicName|}}}|
| [[Flash point]]
{{Chembox AllOtherNames
| ?°C
|ref={{{Names_ref|}}}
|-
|pronounce={{{pronounce|}}}
| [[Risk and Safety Statements|R/S statement]]
|IUPACName={{{IUPACName|}}} {{{IUPACNames|}}}<!-- plural indicated by editor -->
| [[List of R-phrases|R]]: ? <br /> [[List of S-phrases|S]]: ?
|PIN={{{PIN|}}}
|-
|SystematicName={{{SystematicName|}}}
| [[RTECS]] number
|OtherNames={{{OtherNames|}}}
| ?
|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? -->
|-
}}}}<!--
! {{chembox header}} | [[{{PAGENAME}} (data page)|Supplementary data page]]
----- SECTIONS 1-9 ----- -->
|-
{{{Section1|}}}
| [[{{PAGENAME}} (data page)#Structure and properties|Structure and<br />properties]]
{{{Section2|}}}
| [[Refractive index|''n'']], [[Dielectric constant|ε<sub>r</sub>]], etc.
{{{Section3|}}}
|-
{{{Section4|}}}
| [[{{PAGENAME}} (data page)#Thermodynamic properties|Thermodynamic<br />data]]
{{{Section5|}}}
| Phase behaviour<br />Solid, liquid, gas
{{{Section6|}}}
|-
{{{Section7|}}}
| [[{{PAGENAME}} (data page)#Spectral data|Spectral data]]
{{{Section8|}}}
| [[UV/VIS spectroscopy|UV]], [[Infrared spectroscopy|IR]], [[nuclear magnetic resonance spectroscopy|NMR]], [[Mass spectrometry|MS]]
{{{Section9|}}}<!--
|-
----- SUPPLEMENT ----- -->
! {{chembox header}} | Related compounds
{{#ifexist:{{{data page pagename|{{if empty|{{{data_page|}}}|{{FULLPAGENAME}} (data page)}}}}}
|-
| {{Chembox Supplement | _data page pagename={{{data page pagename|{{if empty|{{{data_page|}}}|{{FULLPAGENAME}} (data page)}}}}}}}
| Other [[Ion|anion]]s <!-- please omit if not applicable -->
}}<!--
| ? <!-- Put in related anions e.g, iron(II) fluoride & iron(II) bromide if compound is iron(II) chloride -->
------ FOOTER ----- -->
|-
{{#ifeq:{{{show_footer|yes}}}|no|<!--skip-->|{{Chembox Footer
| Other [[Ion|cation]]s <!-- please omit if not applicable -->
| Verifiedfields={{{Verifiedfields|}}}
| ? <!-- 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-->
| Watchedfields={{{Watchedfields|}}}
|-
| verifiedrevid={{{verifiedrevid|}}}
| Related [[?]] <!-- PLEASE INSERT FUNCTIONAL GROUP (e.g. [[aldehyde]]) FOR ORGANICS, please omit if not applicable -->
| show_ss_note={{{show_ss_note |yes}}}
| ? <!-- Insert related organics e.g. on formaldehyde page put [[acetaldehyde]] -->
| show_infobox_ref={{{show_infobox_ref|yes}}}
|-
| general_note={{{general_note|}}}
| Related compounds
| width={{{width|22em}}}<!-- infobox width setting, here for feedback
<!-- 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>.
 
Please omit if not applicable -->
end footer -->}}}}
| ?
|}<!-- END of wikitable
|-
 
| {{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>
--><includeonly>{{Chembox Footer/tracking<!-- new subtemplate, outside of Footer. See also headerbar (esp in Identifiers). Mar 2017
|-
-->| _hasImage={{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileL2|}}}<!-- the verified images -->{{{ImageFileL3|}}}<!-- R-images not checked here
|}<noinclude>
 
[[Category:WikiProject Chemistry templates|{{PAGENAME}}]]
Images in row 8-9
</noinclude>
-->| _hasImageSizeSet={{{ImageSize|}}}{{{ImageSize1|}}}{{{ImageSize2|}}}{{{ImageSize3|}}}<!--
-->| _hasImagePairSizeSet={{{ImageSizeL1|}}}{{{ImageSizeL2|}}}{{{ImageSizeL3|}}}{{{ImageSizeR1|}}}{{{ImageSizeR2|}}}{{{ImageSizeR3|}}}<!--
 
-->| _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:{{{ImageFileL1|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileR1|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileL2|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileR2|}}}}}}}=yes }}<!--
 
HAS STYLE SETTINGS
-->| _hasTrackedStyleSettings={{{width|}}}{{{style|}}}{{{show_ss_note|}}}{{{show_infobox_ref|}}}{{{general_note|}}}{{{show_footer|}}}<!--
 
TEMPORAL TRACKING: order here=sortletter prio: * has this list complete.
-->|_trackListZ = {{#if:{{{ImageFileL2|}}}|{{#if:{{{ImageFile2|}}}|do_track}}}}<!--
-->|_trackListA = <!--
-->|_trackListSortletter = <!--
-->|_trackSortletter =<!-- default=X
-->|_trackListAsterisk =<!--
 
end of Chembox tracking subtemplate
-->}}</includeonly><!--
 
-->{{#invoke:TemplatePar
|check
|template=Template:Chembox
|all= |opt= Reference= Chembox_ref= IUPACNames= IUPACName= ImageAlt1= ImageAlt2= ImageAlt3= ImageAltL1= ImageAltL2= ImageAltL3= ImageAltR1= ImageAltR2= ImageAltR3= ImageAlt= ImageCaption1= ImageCaption2= ImageCaption3= ImageCaptionL1= ImageNameR1= ImageCaptionL2= ImageCaptionL3= ImageCaptionR1= ImageCaptionR2= ImageCaptionR3= ImageCaptionLR1= ImageCaptionLR2= ImageCaptionLR3= ImageCaption= ImageFile1_Ref= ImageFile1= ImageFile2_Ref= ImageFile2= ImageFile3_Ref= ImageFile3= ImageFileL1_Ref= ImageFileL1= ImageFileL2_Ref= ImageFileL2= ImageFileL3_Ref= ImageFileL3= ImageFileR1_Ref= ImageFileR1= ImageFileR2_Ref= ImageFileR2= ImageFileR3_Ref= ImageFileR3= ImageFile_Ref= ImageFile= ImageName1= ImageName2= ImageName3= ImageNameL1= ImageNameL2= ImageNameL3= ImageNameR2= ImageNameR3= ImageName= ImageSize1= ImageSize2= ImageSize3= ImageSizeL1= ImageSizeL2= ImageSizeL3= ImageSizeR1= ImageSizeR2= ImageSizeR3= ImageSize= Name= OtherNames= pronounce= PIN= Section1= Section2= Section3= Section4= Section5= Section6= Section7= Section8= Section9= SystematicName= Verifiedfields= Watchedfields= verifiedrevid= Verifiedimages= data page pagename= general_note= show_infobox_ref= show_ss_note= show_footer= style= width=
 
|cat=Chemical articles with unknown parameter in Chembox
|format=0|preview={{Chembox templatePar/formatPreviewMessage|msg=@@@}}|errNS=0}}<!--
 
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 08:51, 10 January 2019

Chembox
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa).
Infobox references