Difference between revisions of "Template:Chembox Properties"
imported>DePiep (chemical formula and molar mass: prevent idle calling of subtemplates.) |
imported>DePiep (Minor changes in tracking categories (See talk)) |
||
Line 7: | Line 7: | ||
|ref={{{Properties_ref|}}}<!-- | |ref={{{Properties_ref|}}}<!-- | ||
----- maintenance cats ----- | ----- maintenance cats ----- | ||
− | -->|addcats= | + | -->|addMainCategories=<!-- |
− | | | + | -->|addcats=<!-- former name for Mainspace cats. See headerbar. depr Mar2017 |
+ | -->|addTestCategories=<!-- | ||
----- templatepar ----- | ----- templatepar ----- | ||
-->|templatepar={{#invoke:TemplatePar | -->|templatepar={{#invoke:TemplatePar | ||
Line 21: | Line 22: | ||
--> | --> | ||
{{Chembox Elements<!-- | {{Chembox Elements<!-- | ||
− | Note: correct name is: 'chemical formula' | + | Note: correct name is: 'chemical formula' |
Two data rows: formula and molar mass. | Two data rows: formula and molar mass. | ||
--> | --> | ||
− | |molecular formula={{#if:{{{Formula|}}} | {{{Formula|}}}{{{Formula_ref|}}} {{{Formula_Comment|}}}<!-- | + | |molecular formula={{#if:{{{Formula|}}} | {{{Formula|}}}{{{Formula_ref|}}} {{{Formula_Comment|}}}<!-- |
− | no fixed formula entered so compose it: | + | no fixed formula entered so compose it (in empirical form=counting atoms): |
--> |{{Chembox Elements/molecular formula | --> |{{Chembox Elements/molecular formula | ||
− | |chemical_formula_fixed= | + | |chemical_formula_fixed=<!-- won't happen --> |
|chemical_formula_ref={{{Formula_ref|}}} | |chemical_formula_ref={{{Formula_ref|}}} | ||
|chemical_formula_comment={{{Formula_Comment|}}} | |chemical_formula_comment={{{Formula_Comment|}}} | ||
Line 33: | Line 34: | ||
|Ac={{{Ac|}}}|Ag={{{Ag|}}}|Al={{{Al|}}}|Am={{{Am|}}}|Ar={{{Ar|}}}|As={{{As|}}}|At={{{At|}}}|Au={{{Au|}}}|B={{{B|}}}|Ba={{{Ba|}}}|Be={{{Be|}}}|Bh={{{Bh|}}}|Bi={{{Bi|}}}|Bk={{{Bk|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| + | |fixed=<!-- won't happen --> |
|round={{{MolarMassRound|}}} | |round={{{MolarMassRound|}}} | ||
|unit={{{MolarMassUnit|}}} | |unit={{{MolarMassUnit|}}} | ||
|ref={{{MolarMass_ref|}}} | |ref={{{MolarMass_ref|}}} | ||
|comment={{{MolarMass_Comment|}}}{{{MolarMass_notes|}}} | |comment={{{MolarMass_Comment|}}}{{{MolarMass_notes|}}} | ||
− | |catname= | + | |catname=<!-- Chemical articles having calculated molecular weight overwritten [removed Feb 2017] --> |
|Ac={{{Ac|}}}|Ag={{{Ag|}}}|Al={{{Al|}}}|Am={{{Am|}}}|Ar={{{Ar|}}}|As={{{As|}}}|At={{{At|}}}|Au={{{Au|}}}|B={{{B|}}}|Ba={{{Ba|}}}|Be={{{Be|}}}|Bh={{{Bh|}}}|Bi={{{Bi|}}}|Bk={{{Bk|}}}|Br={{{Br|}}}|C={{{C|}}}|Ca={{{Ca|}}}|Cd={{{Cd|}}}|Ce={{{Ce|}}}|Cf={{{Cf|}}}|Cl={{{Cl|}}}|Cm={{{Cm|}}}|Cn={{{Cn|}}}|Co={{{Co|}}}|Cr={{{Cr|}}}|Cs={{{Cs|}}}|Cu={{{Cu|}}}|Db={{{Db|}}}|Ds={{{Ds|}}}|Dy={{{Dy|}}}|Er={{{Er|}}}|Es={{{Es|}}}|Eu={{{Eu|}}}|F={{{F|}}}|Fe={{{Fe|}}}|Fl={{{Fl|}}}|Fm={{{Fm|}}}|Fr={{{Fr|}}}|Ga={{{Ga|}}}|Gd={{{Gd|}}}|Ge={{{Ge|}}}|H={{{H|}}}|He={{{He|}}}|Hf={{{Hf|}}}|Hg={{{Hg|}}}|Ho={{{Ho|}}}|Hs={{{Hs|}}}|I={{{I|}}}|In={{{In|}}}|Ir={{{Ir|}}}|K={{{K|}}}|Kr={{{Kr|}}}|La={{{La|}}}|Li={{{Li|}}}|Lr={{{Lr|}}}|Lu={{{Lu|}}}|Lv={{{Lv|}}}|Mc={{{Mc|}}}|Md={{{Md|}}}|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Sm|}}}|Sn={{{Sn|}}}|Sr={{{Sr|}}}|Ta={{{Ta|}}}|Tb={{{Tb|}}}|Tc={{{Tc|}}}|Te={{{Te|}}}|Th={{{Th|}}}|Ti={{{Ti|}}}|Tl={{{Tl|}}}|Tm={{{Tm|}}}|Ts={{{Ts|}}}|U={{{U|}}}|V={{{V|}}}|W={{{W|}}}|Xe={{{Xe|}}}|Y={{{Y|}}}|Yb={{{Yb|}}}|Zn={{{Zn|}}}|Zr={{{Zr|}}} | ||
}} }}<!-- end of chemformula set. No #if:input here, because subtemplate has: 'no data=return blank'. -->}} | }} }}<!-- end of chemformula set. No #if:input here, because subtemplate has: 'no data=return blank'. -->}} |
Revision as of 20:12, 1 March 2017
![]() | 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 | |
---|---|
NH3 | |
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. |