Template:Compound: Difference between revisions
Jump to navigation
Jump to search
JeffEvarts (talk | contribs) (Import) |
No edit summary |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
'''Physical characteristics''' | '''Physical characteristics''' | ||
{{!}} mm=Molar Mass | {{!}} mm=Molar Mass | ||
{{!}} mp=Melting Point | {{!}} mp=Melting Point | ||
{{!}} bp=Boiling Point | {{!}} bp=Boiling Point | ||
{{!}} density= kg/L at OTP | |||
{{!}} ior= index of refraction | {{!}} 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) | {{!}} eof=Entropy of Formation (kJ/mol) | ||
{{!}} cote= Coefficient of Thermal Expansion (×10<sup>-6</sup> per °C) | {{!}} cote= Coefficient of Thermal Expansion (×10<sup>-6</sup> per °C) | ||
Line 78: | Line 81: | ||
#if:{{{listed_cwc|}}}|{{ListedChemCWC}}|}}{{Scheduled Substance|{{{us_schedule|}}}}} | #if:{{{listed_cwc|}}}|{{ListedChemCWC}}|}}{{Scheduled Substance|{{{us_schedule|}}}}} | ||
{| class="dtab" | {| class="dtab" | ||
{{!}}+{{{name|{{ROOTPAGENAME}}}}} | {{!}}+{{{name|{{ROOTPAGENAME}}}}}{{ | ||
{{#if:{{{aka|}}}|<br>''aka {{{aka|}}}''}} | #if:{{{aka|}}}|<br>''aka {{{aka|}}}''}}{{ | ||
{{#if:{{{listed_dea|}}}|<br><span style="color: red;">DEA LIST I/II SUBSTANCE</span>}} | #if:{{{listed_dea|}}}|<br/><span style="color: red;">DEA LIST I/II SUBSTANCE</span>}}{{ | ||
{{#if:{{{listed_cwc|}}}|<br><span style="color: red;">CWC LIST I/II/III SUBSTANCE</span>}} | #if:{{{listed_cwc|}}}|<br/><span style="color: red;">CWC LIST I/II/III SUBSTANCE</span>}} | ||
{{#if:{{{nostruct|{{{num|}}}}}}|| | {{#if:{{{nostruct|{{{num|}}}}}}|| | ||
{{!}}- | {{!}}- | ||
Line 89: | Line 92: | ||
{{!}} {{#if:{{{chemf}}}|{{#Chem:{{{chemf}}}}}|''unspecified''}} | {{!}} {{#if:{{{chemf}}}|{{#Chem:{{{chemf}}}}}|''unspecified''}} | ||
{{!}}- | {{!}}- | ||
{{ | {{OR|{{{num|}}}|Atomic Number|}}{{ | ||
OR|{{{num|}}}|Atomic Number|}}{{ | |||
OTUVR|OTP appearance||{{{stp_q|}}} {{{stp_p|}}}}}{{ | OTUVR|OTP appearance||{{{stp_q|}}} {{{stp_p|}}}}}{{ | ||
OTUVR|Molar Mass|g/mol|{{{mm|}}}}}{{ | OTUVR|Molar Mass|g/mol|{{{mm|}}}}}{{ | ||
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|}}}}}{{ | |||
OR|{{{ior|}}}|Index of refraction}}{{ | |||
OTUVR|Enthalpy of Formation|kJ/mol|{{{eof|}}}}}{{ | |||
OTUVR|Heat Capacity (liq)|J/g/°C|{{{hc_l|}}}}}{{ | |||
OTUVR|Heat of Fusion|J/g|{{{hf|}}}}}{{ | |||
OTUVR|Heat of Vaporization|J/g|{{{hv|}}}}}{{ | |||
OTUVR|Coefficient of Thermal Expansion|×10<sup>-6</sup> °C<sup>-1</sup>|{{{cote|}}}}}{{ | OTUVR|Coefficient of Thermal Expansion|×10<sup>-6</sup> °C<sup>-1</sup>|{{{cote|}}}}}{{ | ||
OTUVR|pKa|pH|{{{pKa|}}}}}{{ | |||
OTUVR|Fuel Value|MJ/kg|{{{fv|}}}}}{{ | OTUVR|Fuel Value|MJ/kg|{{{fv|}}}}}{{ | ||
OTUVR|T<sub>ad</sub>(air)|°C|{{{aft_air|}}}}}{{ | OTUVR|T<sub>ad</sub>(air)|°C|{{{aft_air|}}}}}{{ | ||
OTUVR|T<sub>ad</sub>({{#Chem:O2}})|°C|{{{aft_o2|}}}}}{{ | OTUVR|T<sub>ad</sub>({{#Chem:O2}})|°C|{{{aft_o2|}}}}}{{ | ||
Line 120: | Line 125: | ||
{{{decomp|}}}}} | {{{decomp|}}}}} | ||
|}{{ | |}{{ | ||
#if:{{{num|}}}|[[Category:Elements]]|[[Category:Compounds]]}}{{ | #if:{{{num|}}}|[[Category:Elements]]|[[Category:Compounds]]}}{{ | ||
#if:{{{industrial|}}}|[[Category:Industrial Chemicals]]}}{{ | #if:{{{industrial|}}}|[[Category:Industrial Chemicals]]}}{{ | ||
#if:{{{group|}}}|[[Category:{{{group|}}}]]{{ | #if:{{{group|}}}|[[Category:{{{group|}}}]]{{ | ||
#if:{{#regex: | #if:{{#regex:{{{group|}}}|/metal/i|[[Category:Metals]]}}}}}}{{ | ||
#if:{{{synthon|}}}|[[Category:Synthons]]}}{{ | #if:{{{synthon|}}}|[[Category:Synthons]]}}{{ | ||
#if:{{{fv|}}}|[[Category:Fuels]]}}{{#if:{{{pharm|}}}|[[Category:Pharm]]}}{{ | #if:{{{fv|}}}|[[Category:Fuels]]}}{{#if:{{{pharm|}}}|[[Category:Pharm]]}}{{ | ||
#if:{{{ | #if:{{{solvent|}}}|[[Category:Solvents]]}}{{ | ||
#if:{{{complexo|}}}|[[Category:Complex Organics]]}}{{ | #if:{{{complexo|}}}|[[Category:Complex Organics]]}}{{ | ||
#if:{{{medicine|}}}|[[Category:Medicines]]}}{{ | #if:{{{medicine|}}}|[[Category:Medicines]]}}{{ | ||
Line 136: | Line 139: | ||
#if:{{{listed_who|}}}|[[Category:WHO_LEM]]}}{{ | #if:{{{listed_who|}}}|[[Category:WHO_LEM]]}}{{ | ||
#if:{{{listed_dhs|}}}|[[Category:DHS_AMF]]}}{{ | #if:{{{listed_dhs|}}}|[[Category:DHS_AMF]]}}{{ | ||
#if:{{{listed_ems|}}}|[[Category:Emergency Medications]]}} | #if:{{{listed_ems|}}}|[[Category:Emergency Medications]]}}}} | ||
</includeonly> | </includeonly> |
Revision as of 01:19, 2 September 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