Template:Chembox subHeader/doc
< Template:Chembox subHeader
Jump to navigation
Jump to search
Revision as of 10:26, 9 November 2019 by imported>DePiep (→applied)
applied
- {{Chembox Pharmacokinetics (set)}}
- {{Chembox NIOSH (set)}}
- {{Chembox Lethal amounts (set)}}
- {{Chembox CMC HLB (set)}}
- {{Chembox GHS (set)}} -- new (Nov2019)
- {{Chembox NFPA (set)}} -- new (Nov2019)
Template technique
Template code: 1. Create a specific (set) in the section (e.g., {{Chembox Lethal amounts (set)}})
2. In there: call dataHeader and subDatarows. Set |subheadertext=Sub title and |label=Labeltext, pass through input parameters as |data={{{LD50|}}}
3. From the section template (from {{Chembox hazards}}), call the (set) conditionally (= when the set has input):
- ({{#if:{{{param1|}}}{{{param2|}}}|{{Chembox Chembox Lethal amounts (set)|param1={{{param1|}}}...}}}}
4. Check for ghost references