Difference between revisions of "Template:Chembox Properties"
imported>DePiep (Add molecular mass calculation by Template:Chem molar mass. See Wikipedia_talk:Chemical_infobox#Template edits 7 June 2015) |
imported>DePiep (Deprecate parameters. See Wikipedia_talk:Chemical_infobox#Template_edits:_Deprecation_of_parameters) |
||
Line 5: | Line 5: | ||
| {{Chembox headerbar | | {{Chembox headerbar | ||
|header=Properties{{{Reference|}}} | |header=Properties{{{Reference|}}} | ||
− | |addcats= | + | |addcats= }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
end of headerbar - begin data rows | end of headerbar - begin data rows | ||
Line 30: | Line 17: | ||
|molecular mass={{Chem molar mass | |molecular mass={{Chem molar mass | ||
|fixed={{{MolarMass|}}} | |fixed={{{MolarMass|}}} | ||
− | |round={{{MolarMassRound|}}} | + | |round={{{MolarMassRound|}}} |
|unit={{{MolarMassUnit|}}} | |unit={{{MolarMassUnit|}}} | ||
|ref={{{MolarMass_ref|}}} | |ref={{{MolarMass_ref|}}} | ||
Line 40: | Line 27: | ||
{{#if:{{{Odor|}}}{{{Odour|}}}|{{Chembox Odour |value={{{Odor|}}}{{{Odour|}}} }}}} | {{#if:{{{Odor|}}}{{{Odour|}}}|{{Chembox Odour |value={{{Odor|}}}{{{Odour|}}} }}}} | ||
{{#if:{{{Density|}}}|{{Chembox Density |value={{{Density|}}} }}}} | {{#if:{{{Density|}}}|{{Chembox Density |value={{{Density|}}} }}}} | ||
− | {{#if:{{{MeltingPt|}}}{{{MeltingPtC|}}}{{{MeltingPtF|}}}{{{MeltingPtK|}}}{{{MeltingPt_notes | + | {{#if:{{{MeltingPt|}}}{{{MeltingPtC|}}}{{{MeltingPtF|}}}{{{MeltingPtK|}}}{{{MeltingPt_notes|}}} |<!-- |
-->{{Chembox MeltingPt | -->{{Chembox MeltingPt | ||
|data={{Chembox CalcTemperatures| | |data={{Chembox CalcTemperatures| | ||
− | |temp_text={{{MeltingPt | + | |temp_text={{{MeltingPt|}}}  |
|temp_C={{{MeltingPtC|}}} |temp_F={{{MeltingPtF|}}} |temp_K={{{MeltingPtK|}}} | |temp_C={{{MeltingPtC|}}} |temp_F={{{MeltingPtF|}}} |temp_K={{{MeltingPtK|}}} | ||
|temp_unit={{#if:{{{MeltingPtC|}}} |C |{{#if:{{{MeltingPtF|}}} |F |{{#if:{{{MeltingPtK|}}} |K}} }}}} | |temp_unit={{#if:{{{MeltingPtC|}}} |C |{{#if:{{{MeltingPtF|}}} |F |{{#if:{{{MeltingPtK|}}} |K}} }}}} | ||
− | |temp_ref={{{MeltingPt_ref | + | |temp_ref={{{MeltingPt_ref|}}} |
− | |temp_notes={{{MeltingPt_notes | + | |temp_notes={{{MeltingPt_notes|}}} |
}} }} }} | }} }} }} | ||
− | {{#if:{{{BoilingPt|}}}{{{BoilingPtC|}}}{{{BoilingPtF|}}}{{{BoilingPtK|}}}{{{BoilingPt_notes | + | {{#if:{{{BoilingPt|}}}{{{BoilingPtC|}}}{{{BoilingPtF|}}}{{{BoilingPtK|}}}{{{BoilingPt_notes|}}} |<!-- |
-->{{Chembox BoilingPt | -->{{Chembox BoilingPt | ||
|data={{Chembox CalcTemperatures| | |data={{Chembox CalcTemperatures| | ||
− | |temp_text={{{BoilingPt | + | |temp_text={{{BoilingPt|}}}  |
|temp_C={{{BoilingPtC|}}} |temp_F={{{BoilingPtF|}}} |temp_K={{{BoilingPtK|}}} | |temp_C={{{BoilingPtC|}}} |temp_F={{{BoilingPtF|}}} |temp_K={{{BoilingPtK|}}} | ||
|temp_unit={{#if:{{{BoilingPtC|}}} |C |{{#if:{{{BoilingPtF|}}} |F |{{#if:{{{BoilingPtK|}}} |K}} }}}} | |temp_unit={{#if:{{{BoilingPtC|}}} |C |{{#if:{{{BoilingPtF|}}} |F |{{#if:{{{BoilingPtK|}}} |K}} }}}} | ||
− | |temp_ref={{{BoilingPt_ref | + | |temp_ref={{{BoilingPt_ref|}}} |
− | |temp_notes={{{BoilingPt_notes | + | |temp_notes={{{BoilingPt_notes|}}} |
}} }} }} | }} }} }} | ||
{{#if:{{{SublimationConditions|}}}|{{Chembox SublimationConditions|value={{{SublimationConditions|}}} }}}} | {{#if:{{{SublimationConditions|}}}|{{Chembox SublimationConditions|value={{{SublimationConditions|}}} }}}} | ||
Line 98: | Line 85: | ||
|template=Template:Chembox Properties | |template=Template:Chembox Properties | ||
|all= |opt= | |all= |opt= | ||
− | Absorbance= Appearance= AtmosphericOHRateConstant= AveragePoreSize= BandGap= BoilingPt= BoilingPtC= BoilingPtF= BoilingPtK= BoilingPt_notes= BoilingPt_ref | + | Absorbance= Appearance= AtmosphericOHRateConstant= AveragePoreSize= BandGap= BoilingPt= BoilingPtC= BoilingPtF= BoilingPtK= BoilingPt_notes= BoilingPt_ref= CriticalRelativeHumidity= Density= Dipole= ElectronMobility= Formula= Formula_ref= Formula_Comment= HenryConstant= IsoelectricPt= LambdaMax= LogP= MagSus= MeltingPt= MeltingPtC= MeltingPtF= MeltingPtK= MeltingPt_notes= MeltingPt_ref= MolarMass= MolarMassRound= MolarMassUnit= MolarMass_Comment= MolarMass_notes= MolarMass_ref= Odor= Odour= OrbitalHybridisation= PoreVolume= Reference= RefractIndex= Solubility1= Solubility2= Solubility3= Solubility4= Solubility5= Solubility= SolubilityProduct= SolubilityProductAs= SolubleOther= Solvent1= Solvent2= Solvent3= Solvent4= Solvent5= Solvent= SpecRotation= SpecificSurfaceArea= SublimationConditions= ThermalConductivity= VaporPressure= Viscosity= pKa= pKb= |
− | Ac=Ag=Al=Am=Ar=As=At=Au=B=Ba=Be=Bh=Bi=Bk=Br=C=Ca=Cd=Ce=Cf=Cl=Cm=Cn=Co=Cr=Cs=Cu=Db=Ds=Dy=Er=Es=Eu=F=Fe=Fl=Fm=Fr=Ga=Gd=Ge=H=He=Hf=Hg=Ho=Hs=I=In=Ir=K=Kr=La=Li=Lr=Lu=Lv=Md=Mg=Mn=Mo=Mt=N=Na=Nb=Nd=Ne=Ni=No=Np=O=Os=P=Pa=Pb=Pd=Pm=Po=Pr=Pt=Pu=Ra=Rb=Re=Rf=Rg=Rh=Rn=Ru=S=Sb=Sc=Se=Sg=Si=Sm=Sn=Sr=Ta=Tb=Tc=Te=Th=Ti=Tl=Tm=U=Uuo=Uup=Uus=Uut=V=W=Xe=Y=Yb=Zn=Zr | + | Ac=Ag=Al=Am=Ar=As=At=Au=B=Ba=Be=Bh=Bi=Bk=Br=C=Ca=Cd=Ce=Cf=Cl=Cm=Cn=Co=Cr=Cs=Cu=Db=Ds=Dy=Er=Es=Eu=F=Fe=Fl=Fm=Fr=Ga=Gd=Ge=H=He=Hf=Hg=Ho=Hs=I=In=Ir=K=Kr=La=Li=Lr=Lu=Lv=Md=Mg=Mn=Mo=Mt=N=Na=Nb=Nd=Ne=Ni=No=Np=O=Os=P=Pa=Pb=Pd=Pm=Po=Pr=Pt=Pu=Ra=Rb=Re=Rf=Rg=Rh=Rn=Ru=S=Sb=Sc=Se=Sg=Si=Sm=Sn=Sr=Ta=Tb=Tc=Te=Th=Ti=Tl=Tm=U=Uuo=Uup=Uus=Uut=V=W=Xe=Y=Yb=Zn=Zr<!--118 elements--> |
|cat=Chemical articles with unknown parameter in Chembox | |cat=Chemical articles with unknown parameter in Chembox | ||
|format=0|preview=1|errNS=0 | |format=0|preview=1|errNS=0 | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 14:38, 7 July 2015
![]() | This template uses Lua: |
Contents
Usage
This box can be used as a complete section inside the {{chembox}}. Copy the left column into an existing Chembox.
This parameter list:
| Section2={{Chembox Properties | Properties_ref = | Formula = | Formula_ref = | Formula_Comment = | C= | H= | N= <!--(etc)--> | Formula_Charge = | MolarMass = | MolarMassRound = | MolarMass_ref = | MolarMass_notes = | Appearance = | Odor = | Odour = | Density = | MeltingPt = | MeltingPtC = | MeltingPtF = | MeltingPtK = | MeltingPt_ref = | MeltingPt_notes = | BoilingPt = | BoilingPtC = | BoilingPtF = | BoilingPtK = | BoilingPt_ref = | BoilingPt_notes = | CriticalTP = | SublimationConditions = | Solubility = | SolubilityProduct = | SolubilityProductAs = | SolubleOther = | Solvent = | Solubility1 = | Solvent1 = | Solubility2 = | Solvent2 = | Solubility3 = | Solvent3 = | Solubility4 = | Solvent4 = | Solubility5 = | Solvent5 = | CMC = | HLB = | LogP = | VaporPressure = | HenryConstant = | AtmosphericOHRateConstant = | pKa = | pKb = | ConjugateAcid = | ConjugateBase = | IsoelectricPt = | LambdaMax = | Absorbance = | BandGap = | ElectronMobility = | SpecRotation = | MagSus = | ThermalConductivity = | RefractIndex = | Viscosity = | CriticalRelativeHumidity = | Dipole = | OrbitalHybridisation = | SpecificSurfaceArea = | PoreVolume = | AveragePoreSize = }} |
Chemical formula
Chemical formula by element:
| C= | H= | N= | O= (etc., 118 elements) | Formula_Charge= | Formula_ref= | Formula_Comment
OR hardcoded (formula input will show unedited)
| Formula= | Formula_ref= | Formula_Comment=
Temperatures
Temperatures for both for the melting point and boiling point can be entered in multiple ways. |MeltingPt=
and |BoilingPt=
allow any textual input. E.g.:
|MeltingPt=Unknown
shows: Unknown
When supplying a temperature value (the numerical value in either °C, °F or K), the infobox will calculate and present all three temperatures. Only one of the three _C, _F, _K values may be entered. E.g.:
|MeltingPtC=100
shows: 100 °C; 212 °F; 373 K
To show a temperature range, simply add the corresponding _CH
high value (_FH, _KH). E.g.:
|MeltingPtF=50
|MeltingPtFH=75
shows 10 or 24 °C; 50 or 75 °F; 283 or 297 K
All available temperature parameters:
| MeltingPt | MeltingPtC | MeltingPtF | MeltingPtK | MeltingPt_ref | MeltingPt_notes | BoilingPt | BoilingPtC | BoilingPtF | BoilingPtK | BoilingPt_ref | BoilingPt_notes |
|
Example
- Ammonia (and some exemplary additions)
Properties | |
---|---|
Molar mass | 17.031 g·mol−1 |
Appearance | Colourless gas |
Odor | Strong pungent odor |
Density | 0.86 kg·m−3 (1.013 bar at boiling point) 0.73 kg·m−3 (1.013 bar at 15 °C) 681.9 kg·m−3 at −33.3 °C (liquid) |
Melting point | −77.73 °C (−107.91 °F; 195.42 K) |
Boiling point | −33.34 °C (−28.01 °F; 239.81 K) |
Template:Ubl | |
Solubility | Soluble in chloroform, ether, ethanol, methanol |
log P | logP |
Vapor pressure | 8573 hPa |
Acidity (pKa) | 32.5 (−33 °C),[1] 10.5 (DMSO) |
Basicity (pKb) | 4.75 |
Refractive index (nD)
|
1.3327 |
Viscosity | 0.276 cP (−40 °C) |
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa). | |
Infobox references | |
{{Chembox | Name = Ammonia |Section2 = {{Chembox Properties | Formula = NH<sub>3</sub> | MolarMass = 17.031{{nbsp}}g·mol<sup>−1</sup> | Appearance = Colourless gas | Odor = Strong pungent odor | Density = 0.86 kg·m<sup>−3</sup> (1.013{{nbsp}}bar at boiling point)<br />0.73 kg·m<sup>−3</sup> (1.013{{nbsp}}bar at 15 °C)<br />681.9 kg·m<sup>−3</sup> at −33.3 °C (liquid) | MeltingPtC = −77.73 | BoilingPtC = −33.34 | Solubility = {{ubl | 47% (0 °C) | 31% (25 °C) | 28% (50 °C)<ref>{{cite book |url=https://books.google.com/?id=0fT4wfhF1AsC&pg=PA17 |page=17 |title=Handbook of inorganic compounds |last1=Perry |first1=Dale L. |last2=Phillips |first2=Sidney L. |publisher=CRC Press |year=1995 |isbn=0-8493-8671-3 }}</ref> }} | SolubleOther = soluble in [[chloroform]], [[ether]], [[ethanol]], [[methanol]] | Solvent = | pKa = 32.5 (−33 °C),<ref>Perrin, D. D.; ''Ionisation Constants of Inorganic Acids and Bases in Aqueous Solution'', 2nd ed., Oxford: Pergamon Press, '''1982'''</ref> 10.5 (DMSO) | pKb = 4.75 | RefractIndex = 1.3327 | Viscosity = 0.276{{nbsp}}cP (−40{{nbsp}}°C) | VaporPressure = 8573{{nbsp}}hPa | LogP = logP }} }}
Tracking category
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
See the monthly parameter usage report for this template.
TemplateData for Chembox Properties Adds a subsection to {{Chembox}}. To be used: |Section2={{Chembox Properties|...}}
|
See also
References
- ↑ Perrin, D. D.; Ionisation Constants of Inorganic Acids and Bases in Aqueous Solution, 2nd ed., Oxford: Pergamon Press, 1982
The above documentation is transcluded from Template:Chembox Properties/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |