Template:Compound: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
'''Physical characteristics''' | '''Physical characteristics''' | ||
{{!}} mm=Molar Mass | {{!}} mm=Molar Mass | ||
{{!}} density= kg/L at OTP | |||
{{!}} solvent= [np/pp/pa] | |||
{{!}} mp=Melting Point | {{!}} mp=Melting Point | ||
{{!}} bp=Boiling Point | {{!}} bp=Boiling Point | ||
{{!}} ior= index of refraction | {{!}} ior= index of refraction | ||
{{!}} 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 64: | Line 61: | ||
'''medicinal/chemical/industrial qualities''' | '''medicinal/chemical/industrial qualities''' | ||
{{!}} pharm=yes // Appears in [[:Category:Pharm|Pharmaceuticals]] categoryk | |||
{{!}} pharm=yes // Appears in [[:Category:Pharm|Pharmaceuticals]] | |||
{{!}} med_class=Opiates // Placed in specified category | {{!}} med_class=Opiates // Placed in specified category | ||
Line 81: | Line 74: | ||
#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 | {{#if:{{{listed_dea|}}}|<br><span style="color: red;">DEA LIST I/II SUBSTANCE</span>}} | ||
#if:{{{listed_cwc|}}}|<br | {{#if:{{{listed_cwc|}}}|<br><span style="color: red;">CWC LIST I/II/III SUBSTANCE</span>}} | ||
{{#if:{{{nostruct|{{{num|}}}}}}|| | {{#if:{{{nostruct|{{{num|}}}}}}|| | ||
{{!}}- | {{!}}- | ||
Line 90: | Line 83: | ||
{{!}}- | {{!}}- | ||
!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''}} | ||
{{!}}- | {{!}}- | ||
{{OR|{{{num|}}}|Atomic Number|}}{{ | {{ | ||
OR|{{{num|}}}|Atomic Number|}}{{ | |||
OTUVR|OTP appearance||{{{stp_q|}}} {{{stp_p|}}}}}{{ | OTUVR|OTP appearance||{{{stp_q|}}} {{{stp_p|}}}}}{{ | ||
OR|{{{ior|}}}|Index of refraction}}{{ | |||
OTUVR|Molar Mass|g/mol|{{{mm|}}}}}{{ | OTUVR|Molar Mass|g/mol|{{{mm|}}}}}{{ | ||
OTUVR|Enthalpy of Formation|kJ/mol|{{{eof|}}}}}{{ | |||
OTUVR|Density|g/cc|{{{density|}}}}}{{ | |||
OTUVR|Melting Point|°C|{{{mp|}}}}}{{ | OTUVR|Melting Point|°C|{{{mp|}}}}}{{ | ||
OTUVR|Boiling Point|°C|{{{bp|}}}}}{{ | OTUVR|Boiling Point|°C|{{{bp|}}}}}{{ | ||
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|Fuel Value|MJ/kg|{{{fv|}}}}}{{ | |||
OTUVR|pKa|pH|{{{pKa|}}}}}{{ | OTUVR|pKa|pH|{{{pKa|}}}}}{{ | ||
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 125: | Line 116: | ||
{{{decomp|}}}}} | {{{decomp|}}}}} | ||
|}{{ | |}{{ | ||
#ifeq:{{{practicality|}}}|q|[[Category:Questionable Practicality]]}}{{ | |||
#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|}}}]]{{ | ||
# | #ifeq:{{{group|}}}|metal|[[Category:Metals]]}}{{ | ||
#ifeq:{{{group|}}}|metals|[[Category:Metals]]}}}}{{ | |||
#if:{{{synthon|}}}|[[Category:Synthons]]}}{{ | #if:{{{synthon|}}}|[[Category:Synthons]]}}{{ | ||
#if:{{{fv|}}}|[[Category:Fuels]]}}{{#if:{{{pharm|}}}|[[Category:Pharm]]}}{{ | #if:{{{fv|}}}|[[Category:Fuels]]}}{{ | ||
#if:{{{ | #if:{{{pharm|}}}|[[Category:Pharm]]}}{{ | ||
#if:{{{ferm|}}}|[[Category:Fermentation Products]]}}{{ | |||
#if:{{{complexo|}}}|[[Category:Complex Organics]]}}{{ | #if:{{{complexo|}}}|[[Category:Complex Organics]]}}{{ | ||
#if:{{{medicine|}}}|[[Category:Medicines]]}}{{ | #if:{{{medicine|}}}|[[Category:Medicines]]}}{{ | ||
#if:{{{ | #if:{{{solvent|}}}|[[Category:Solvents]]}} | ||
</includeonly> | </includeonly> |
Latest revision as of 20:21, 18 October 2023
{{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 | density= kg/L at OTP | solvent= [np/pp/pa] | mp=Melting Point | bp=Boiling Point | ior= index of refraction | 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 | pharm=yes // Appears in Pharmaceuticals categoryk | 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