Difference between revisions of "Template:Chembox Properties"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Update Template:Chembox suite templates per WT:Chembox Updates)
imported>DePiep
(invoke TemplatePar to catch unknown parameters)
Line 3: Line 3:
 
|header=Properties{{{Reference|}}}
 
|header=Properties{{{Reference|}}}
 
|addcats=<!--
 
|addcats=<!--
-->{{#ifeq:{{{1|¬PresenT}}}|¬PresenT
 
||[[Category:Chemical infoboxes with misplaced or deprecated parameters|3*]] }}<!--
 
 
-->{{#if:
 
-->{{#if:
 
{{{BoilingPtPrefix|}}}{{{BoilingPrefix|}}}
 
{{{BoilingPtPrefix|}}}{{{BoilingPrefix|}}}
 
{{{BoilingPtCL|}}}{{{BoilingPtFL|}}}{{{BoilingPtKL|}}}
 
{{{BoilingPtCL|}}}{{{BoilingPtFL|}}}{{{BoilingPtKL|}}}
 
{{{BoilingPtCH|}}}{{{BoilingPtFH|}}}{{{BoilingPtKH|}}}
 
{{{BoilingPtCH|}}}{{{BoilingPtFH|}}}{{{BoilingPtKH|}}}
{{{Boiling_ref|}}}{{{Boiling_notes|}}}
+
<!--{{{Boiling_ref|}}}{{{Boiling_notes|}}}-->
 
{{{MeltingPtPrefix|}}}{{{MeltingPrefix|}}}
 
{{{MeltingPtPrefix|}}}{{{MeltingPrefix|}}}
 
{{{MeltingPtCL|}}}{{{MeltingPtFL|}}}{{{MeltingPtKL|}}}
 
{{{MeltingPtCL|}}}{{{MeltingPtFL|}}}{{{MeltingPtKL|}}}
 
{{{MeltingPtCH|}}}{{{MeltingPtFH|}}}{{{MeltingPtKH|}}}
 
{{{MeltingPtCH|}}}{{{MeltingPtFH|}}}{{{MeltingPtKH|}}}
{{{Melting_ref|}}}{{{Melting_notes|}}}
+
<!--{{{Melting_ref|}}}{{{Melting_notes|}}}-->
 
|[[Category:Chemical infoboxes with misplaced or deprecated parameters|T*boil]] }}<!--
 
|[[Category:Chemical infoboxes with misplaced or deprecated parameters|T*boil]] }}<!--
 
-->{{#if:{{{MassRound|}}}
 
-->{{#if:{{{MassRound|}}}
Line 88: Line 86:
 
{{#if:{{{PoreVolume|}}}|{{Chembox PoreVolume|value={{{PoreVolume|}}} }}}}
 
{{#if:{{{PoreVolume|}}}|{{Chembox PoreVolume|value={{{PoreVolume|}}} }}}}
 
{{#if:{{{AveragePoreSize|}}}|{{Chembox AveragePoreSize|value={{{AveragePoreSize|}}} }}}}<!--
 
{{#if:{{{AveragePoreSize|}}}|{{Chembox AveragePoreSize|value={{{AveragePoreSize|}}} }}}}<!--
-->}}<noinclude>{{documentation}}</noinclude>
+
-->}}<!--
 +
-->{{#invoke:TemplatePar
 +
|check
 +
|template=Template:Chembox Properties
 +
|all= |opt=
 +
Absorbance= Appearance= AtmosphericOHRateConstant= AveragePoreSize= BandGap= BoilingPt= BoilingPtC= BoilingPtF= BoilingPtK= BoilingPt_notes= BoilingPt_ref= Boiling_notes= Boiling_ref= CriticalRelativeHumidity= Density= Dipole= ElectronMobility= Formula= HenryConstant= IsoelectricPt= LambdaMax= LogP= MagSus= MassRound= MeltingPt= MeltingPtC= MeltingPtF= MeltingPtK= MeltingPt_notes= MeltingPt_ref= Melting_notes= Melting_ref= MolarMass= MolarMassRound= 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= MeltingPtPrefix= BoilingPtPrefix=
 +
Ac= Ag= Al= Am= Ar= As= At= Au= B= Ba= Be= Bh= Bi= Bk= Br= C= Ca= Cd= Ce= Cf= Cl= Cm= 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= Uub= Uuo= Uup= Uus= Uut= V= W= Xe= Y= Yb= Zn= Zr=<!--118 elements-->
 +
|cat=Chemical articles with unknown parameter in Chembox
 +
|format=0|preview=1|errNS=0
 +
}}<noinclude>{{documentation}}</noinclude>

Revision as of 23:48, 2 March 2015

Template documentation[view] [edit] [history] [purge]

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

Template:Pre2

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
  • Any text, shown literally
  • Prefix before calculations
  • Temperature in Celsius; numerical
  • Temperature in Fahrenheit; numerical
  • Temperature in Kelvins; numerical
  • Reference
  • Any text added as a postfix
  • Any text, shown literally
  • Prefix
  • Temperature in Celsius; numerical
  • Temperature in Fahrenheit; numerical
  • Temperature in Kelvins; numerical
  • Reference
  • Any text added as a postfix

Example

  • Ammonia (and some exemplary additions)
Template:Chembox Formula
Ammonia
Properties
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
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|...}}

Template parameters

ParameterDescriptionTypeStatus
ExactMassExactMass

no description

Unknownoptional

See also

Template:Navbox Chembox

References

  1. Perrin, D. D.; Ionisation Constants of Inorganic Acids and Bases in Aqueous Solution, 2nd ed., Oxford: Pergamon Press, 1982