Template:Compound: Difference between revisions

From NOWA-CL
Jump to navigation Jump to search
No edit summary
No edit summary
Line 88: Line 88:
{{#if:{{{nostruct|{{{num|}}}}}}||
{{#if:{{{nostruct|{{{num|}}}}}}||
{{!}}-
{{!}}-
AA
{{Compound/StructImage|{{Compound/StructSearch|struct={{{struct|}}}|name={{{name|}}}|debug={{{debug|}}}}}|debug={{{debug|}}}}}}}
{{Compound/StructImage|{{Compound/StructSearch|struct={{{struct|}}}|name={{{name|}}}|debug={{{debug|}}}}}|debug={{{debug|}}}}}}}
{{!}}-
{{!}}-
BB
!style="min-width:{{#if:{{{sol_aq|}}}|13|{{#if:{{{sol_et|}}}|14|10}}}}em;"{{!}}Chemical formula
!style="min-width:{{#if:{{{sol_aq|}}}|13|{{#if:{{{sol_et|}}}|14|10}}}}em;"{{!}}Chemical formula
{{!}} {{#if:{{{chemf}}}|{{#Chem:{{{chemf}}}}}|''unspecified''}}
{{!}} {{#if:{{{chemf}}}|{{#Chem:{{{chemf}}}}}|''unspecified''}}
Line 101: Line 99:
OTUVR|Melting Point|°C|{{{mp|}}}}}{{
OTUVR|Melting Point|°C|{{{mp|}}}}}{{
OTUVR|Boiling Point|°C|{{{bp|}}}}}{{
OTUVR|Boiling Point|°C|{{{bp|}}}}}{{
OTUVR|Density|g/cc|{{{density|}}}}}{{
OTUVR|Density|g/cc|{{{density|}}}}}
DD{{
OR|{{{ior|}}}|Index of refraction}}{{
OR|{{{ior|}}}|Index of refraction}}{{
OTUVR|Enthalpy of Formation|kJ/mol|{{{eof|}}}}}{{
OTUVR|Enthalpy of Formation|kJ/mol|{{{eof|}}}}}{{
Line 121: Line 120:
OTUVR|Water azeotrope|%w/w|{{{azeo_aq_ww|}}}}}{{
OTUVR|Water azeotrope|%w/w|{{{azeo_aq_ww|}}}}}{{
OTUVR|Water azeotrope bp|°C|{{{azeo_aq_bp|}}}}}{{
OTUVR|Water azeotrope bp|°C|{{{azeo_aq_bp|}}}}}{{
OTUVR|Speed of sound<br/>20&deg;C, 1atm |m/s|{{{ss|}}}}}{{
OTUVR|Speed of sound<br/>20&deg;C, 1atm |m/s|{{{ss|}}}}}
EE{{
OR|{{{idlh|}}}|Immediate Danger to Life and Health}}{{
OR|{{{idlh|}}}|Immediate Danger to Life and Health}}{{
OR|{{{ld50|}}}|LD50}}{{
OR|{{{ld50|}}}|LD50}}
FF{{
NFPA 704|{{{nfpa_h|0}}}|{{{nfpa_f|0}}}|{{{nfpa_r|0}}}|{{{nfpa_o|0}}}}}{{
NFPA 704|{{{nfpa_h|0}}}|{{{nfpa_f|0}}}|{{{nfpa_r|0}}}|{{{nfpa_o|0}}}}}{{
#if:{{{decomp|}}}|{{CR}}
#if:{{{decomp|}}}|{{CR}}

Revision as of 02:03, 21 June 2019

{{Compound
 | name=Sodium Chloride (optional, defaults to page name)
 | aka=Salt
 | struct=filename.png
 | chemf=NaCl

        The following three parameters are for the special case that the compound is an element only
 | num=n  // atomic number
 | group= // Metals, Nonmetals, Halides, etc

        Physical characteristics
 | mm=Molar Mass
 | mp=Melting Point
 | bp=Boiling Point
 | density= kg/L at OTP
 | ior= index of refraction
 | solvent= [np/pp/pa]
 | hc_l=Heat Capacity in liquid form (J/g/°C)
 | hf=Heat of Fusion (J/g)
 | hv=Heat of Vaporization (J/g)
 | eof=Entropy of Formation (kJ/mol)
 | cote= Coefficient of Thermal Expansion (×10-6 per °C)
 | pKal= comma separated list of pKa values
 | ss=speed of sound at 20°C and 1atm

        Solubility
 | sol_aq=solubility in water          (g/L) in conditions near 20°C, 1 atm
 | sol_et=solubility in ethanol        (g/L) in conditions near 20°C, 1 atm
 | sol_met=solubility in methanol      (g/L) in conditions near 20°C, 1 atm
 | sol_det=solubility in diethyl ether (g/L) in conditions near 20°C, 1 atm
 | sol_ac=solubility in acetone        (g/L) in conditions near 20°C, 1 atm

        Combustion
 | fv=fuel value (MJ/kg)
 | aft_air=adiabatic flame temperature in air 
 | aft_o2=adiabatic flame temperature with O2

         Azeotropes
 | azeo_aq_bp|azeotrope boiling point
 | azeo_aq_ww|w/w (weight) percentage of compound in water for azeotrope
 | azeo_aq_vv|v/v (volume) percentage of compound in water for azeotrope
 | azeo_aq_mm|m/m (molar) percentage of compound in water for azeotrope

        Thermal dehydration/decomposition
 | decomp={{DecompRow|input=|output=|temp=|energy=|env=}} or
 | decomp={{DecompSec|...}}

         Description 
 | stp_p=phase (solid, liquid, gas) at OTP
 | stp_q=qualititive modifier at OTP

        Safety
 | nfpa_h=NFPA 704 Health
 | nfpa_f=NFPA 704 Flammability
 | nfpa_r=NFPA 704 Reactivity
 | nfpa_o=NFPA 704 Other
 | idlh=           // Immediate Danger to Life and Health

        legal categories
 | listed_dea=yes  // Appears in DEA List I/II
 | listed_cwc=yes  // Appears in CWC List I/II/III
 | us_schedule=    // Appears in 21 USC §812: Controlled Substances Act

        medicinal/chemical/industrial qualities
 | medicine=yes      // Is a Medicine
 | listed_who=yes    // Appears in WHO List of Essential Medicines
 | listed_dhs=yes    // Appears in DHS austere EMS field guide formulary
 | pharm=yes         // Appears in Pharmaceuticals category

 | med_class=Opiates // Placed in specified category

 | industrial=yes  // Listed in Category:Industrial Chemicals
 | synthon=yes     // Listed in Category:Synthons
}}

This template uses two other subtemplates: