Jump to content

Template:Infobox chemical: Difference between revisions

From the Vrienden Universe, a fictional wiki
Clean up chemical infobox fields and documentation support
Hide empty chemical infobox section headers
Line 11: Line 11:
| caption = {{if empty|{{{image_caption|}}}|{{{caption|}}}}}
| caption = {{if empty|{{{image_caption|}}}|{{{caption|}}}}}


| header1 = Identification
| header1 = {{#if:{{{other_names|}}}{{{iupac_name|}}}{{{formula|}}}{{{molecular_formula|}}}{{{molar_mass|}}}{{{cas_number|}}}{{{CAS_number|}}}|Identification}}
| label2 = Other names
| label2 = Other names
| data2 = {{{other_names|}}}
| data2 = {{{other_names|}}}
Line 23: Line 23:
| data6 = {{if empty|{{{cas_number|}}}|{{{CAS_number|}}}}}
| data6 = {{if empty|{{{cas_number|}}}|{{{CAS_number|}}}}}


| header10 = Chemical profile
| header10 = {{#if:{{{chemical_class|}}}{{{compound_type|}}}{{{composition|}}}{{{formulation|}}}{{{function|}}}{{{primary_effect|}}}{{{uses|}}}{{{recorded_use|}}}|Chemical profile}}
| label11 = Chemical class
| label11 = Chemical class
| data11 = {{{chemical_class|}}}
| data11 = {{{chemical_class|}}}
Line 35: Line 35:
| data15 = {{if empty|{{{uses|}}}|{{{recorded_use|}}}}}
| data15 = {{if empty|{{{uses|}}}|{{{recorded_use|}}}}}


| header20 = Physical properties
| header20 = {{#if:{{{physical_state|}}}{{{state|}}}{{{appearance|}}}{{{odor|}}}{{{density|}}}{{{melting_point|}}}{{{boiling_point|}}}{{{solubility|}}}{{{ph|}}}{{{conductivity|}}}{{{residue|}}}|Physical properties}}
| label21 = Physical state
| label21 = Physical state
| data21 = {{if empty|{{{physical_state|}}}|{{{state|}}}}}
| data21 = {{if empty|{{{physical_state|}}}|{{{state|}}}}}
Line 57: Line 57:
| data30 = {{{residue|}}}
| data30 = {{{residue|}}}


| header40 = Safety and handling
| header40 = {{#if:{{{hazards|}}}{{{hazard_class|}}}{{{toxicity|}}}{{{exposure_routes|}}}{{{handling|}}}{{{handling_status|}}}{{{storage|}}}{{{stability|}}}|Safety and handling}}
| label41 = Hazards
| label41 = Hazards
| data41 = {{if empty|{{{hazards|}}}|{{{hazard_class|}}}}}
| data41 = {{if empty|{{{hazards|}}}|{{{hazard_class|}}}}}
Line 71: Line 71:
| data46 = {{{stability|}}}
| data46 = {{{stability|}}}


| header60 = History
| header60 = {{#if:{{{developed_by|}}}{{{developer|}}}{{{manufacturer|}}}{{{associated_facility|}}}{{{first_recorded|}}}{{{active_period|}}}{{{status|}}}{{{post_collapse_status|}}}|History}}
| label61 = Developed by
| label61 = Developed by
| data61 = {{if empty|{{{developed_by|}}}|{{{developer|}}}}}
| data61 = {{if empty|{{{developed_by|}}}|{{{developer|}}}}}

Revision as of 13:52, 1 July 2026