Template:Compound: Difference between revisions
Jump to navigation
Jump to search
JeffEvarts (talk | contribs) No edit summary |
JeffEvarts (talk | contribs) 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''}} | ||
{{!}}- | {{!}}- | ||
CC | |||
{{OR|{{{num|}}}|Atomic Number|}}{{ | {{OR|{{{num|}}}|Atomic Number|}}{{ | ||
OTUVR|OTP appearance||{{{stp_q|}}} {{{stp_p|}}}}}{{ | OTUVR|OTP appearance||{{{stp_q|}}} {{{stp_p|}}}}}{{ | ||
Line 123: | Line 126: | ||
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}} | ||
WW | |||
{{!}}- | {{!}}- | ||
{{{decomp|}}}}} | {{{decomp|}}}}} |
Revision as of 02:01, 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:
- Template:Compound/StructSearch which seeks out a relevant structure image, and
- Template:Compound/StructImage which generates a properly formatted image row