Template:PropList/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Peter Schmitt
(correction of example)
imported>Peter Schmitt
(suggestions by Milton)
Line 8: Line 8:
* Free arguments: Pairs "property value" can be added. They will be listed at the end of the table, in the order given. Currently up to 9 such pairs are possible.
* Free arguments: Pairs "property value" can be added. They will be listed at the end of the table, in the order given. Currently up to 9 such pairs are possible.


Currently N,I,C,F are requested, and m,d,b are optional arguments.
Currently N,I,C,F are requested, and M,B,D,S are optional arguments.


=== Usage ===
=== Usage ===
Line 18: Line 18:
  | C = "CAS number"
  | C = "CAS number"
  | F = "Molecular formula"
  | F = "Molecular formula"
  | m = "Molecular mass"
  | M = "Molecular mass"
  | d = "Density
  | B = "Boiling point"
  | b = "Boiling point"
| D = "Density"
  | "property1" | "value1"
  | S = "Specific heat"
  | "Other property 1" | "value"
     ...
     ...
  | "property9" | "value9"
  | "Other property 9" | "value"




Line 30: Line 31:
<pre>
<pre>
{{PropList  
{{PropList  
| N = water | I = oxidane   
| N = water  
| b = 373.15 K (100 °C) at 1 atm
| I = oxidane   
| F = H<sub>2</sub>O
| F = H<sub>2</sub>O
| m = 18.0153 g/mol
| B = 373.15 K (100 °C) at 1 atm
| b = 373.15 K (100 °C) at 1 atm
| M = 18.0153 g/mol
| D = 0.998 g/ml for liquid at 20 °C, 1 atm
| Critical point | 647 K (374 °C), 22.1 MPa
| Critical point | 647 K (374 °C), 22.1 MPa
| Melting point | 273.15 K (0 °C)
| Melting point | 273.15 K (0 °C)
| [[Specific heat]], c<sub>p</sub> | 4.184 J/(g·K) for liquid at 20 °C
| [[Specific heat]], c<sub>p</sub> | 4.184 J/(g·K) for liquid at 20 °C
| Heat of vaporization | 2257 J/g for liquid at 100 °C
| Heat of vaporization | 2257 J/g for liquid at 100 °C
| d = 0.998 g/ml for liquid at 20 °C, 1 atm
| Heat of fusion | 333.55 J/kg for solid (ice) at 0 °C
Heat of fusion | 333.55 J/kg for solid (ice) at 0 °C
| Viscosity | 0.001 Pa·s for liquid at 20 °C
|       Viscosity | 0.001 Pa·s for liquid at 20 °C
| Refractive index| 1.333 for liquid at 20 °C
| Refractive index| 1.333 for liquid at 20 °C
}}
}}
Line 47: Line 48:


{{PropList  
{{PropList  
| N = water | I = oxidane  
| N = water  
| b = 373.15 K (100 °C) at 1 atm
| I = oxidane
| F = H<sub>2</sub>O
| F = H<sub>2</sub>O
| m = 18.0153 g/mol
| B = 373.15 K (100 °C) at 1 atm
| b = 373.15 K (100 °C) at 1 atm
| M = 18.0153 g/mol
| D = 0.998 g/ml for liquid at 20 °C, 1 atm
| Critical point | 647 K (374 °C), 22.1 MPa
| Critical point | 647 K (374 °C), 22.1 MPa
| Melting point | 273.15 K (0 °C)
| Melting point | 273.15 K (0 °C)
| [[Specific heat]], c<sub>p</sub> | 4.184 J/(g·K) for liquid at 20 °C
| [[Specific heat]], c<sub>p</sub> | 4.184 J/(g·K) for liquid at 20 °C
| Heat of vaporization | 2257 J/g for liquid at 100 °C
| Heat of vaporization | 2257 J/g for liquid at 100 °C
| d = 0.998 g/ml for liquid at 20 °C, 1 atm
| Heat of fusion | 333.55 J/kg for solid (ice) at 0 °C
Heat of fusion | 333.55 J/kg for solid (ice) at 0 °C
| Viscosity | 0.001 Pa·s for liquid at 20 °C
|       Viscosity | 0.001 Pa·s for liquid at 20 °C
| Refractive index| 1.333 for liquid at 20 °C
| Refractive index| 1.333 for liquid at 20 °C
}}
}}

Revision as of 19:17, 1 November 2009

Template for property lists in chemistry. Not yet finished. There are three types of arguments:

  • Requested argument: will always be included in the list, even if no value given
  • Optional argument: will be only shown if a value is given

These two arguments are given by name and will be shown in a predetermined order (independent of where they are included).

  • Free arguments: Pairs "property value" can be added. They will be listed at the end of the table, in the order given. Currently up to 9 such pairs are possible.

Currently N,I,C,F are requested, and M,B,D,S are optional arguments.

Usage

{{PropList 
| N = "Common name"                                                            
| I = "IUPAC name"
| C = "CAS number"
| F = "Molecular formula"
| M = "Molecular mass"
| B = "Boiling point"
| D = "Density"
| S = "Specific heat"
| "Other property 1" | "value"
   ...
| "Other property 9" | "value"


Example

{{PropList 
| N = water 
| I = oxidane  
| F = H<sub>2</sub>O
| B = 373.15 K (100 °C) at 1 atm
| M = 18.0153 g/mol
| D = 0.998 g/ml for liquid at 20 °C, 1 atm
| Critical point | 647 K (374 °C), 22.1 MPa
| Melting point | 273.15 K (0 °C)
| [[Specific heat]], c<sub>p</sub> | 4.184 J/(g·K) for liquid at 20 °C
| Heat of vaporization | 2257 J/g for liquid at 100 °C
| Heat of fusion | 333.55 J/kg for solid (ice) at 0 °C
| Viscosity | 0.001 Pa·s for liquid at 20 °C
| Refractive index| 1.333 for liquid at 20 °C
}}
Properties
Property Value  
Molecular mass 18.0153 g/mol 
Boiling point 373.15 K (100 °C) at 1 atm 
Density 0.998 g/ml for liquid at 20 °C, 1 atm  
Critical point 647 K (374 °C), 22.1 MPa 
Melting point 273.15 K (0 °C) 
Specific heat, cp 4.184 J/(g·K) for liquid at 20 °C 
Heat of vaporization 2257 J/g for liquid at 100 °C 
Heat of fusion 333.55 J/kg for solid (ice) at 0 °C 
Viscosity 0.001 Pa·s for liquid at 20 °C 
Refractive index 1.333 for liquid at 20 °C