• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Chembox setHeader

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 5,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
  • Chembox setHeader/sandbox (edit · t · history · diff · links · /test · Source · e · t · hist · links · /subpages · /doc · /doc edit)
  • Chembox setDatarow/sandbox (edit · t · history · diff · links · /test · Source · e · t · hist · links · /subpages · /doc · /doc edit)
{{Chembox/testcases (set)}}

applied

{{Chembox Pharmacokinetics (set)}}
{{Chembox NIOSH (set)}}
{{Chembox Lethal amounts (set)}}
{{Chembox CMC HLB (set)}}
{{Chembox GHS (set)}} -- new (Dec 2021)
{{Chembox OHS (set)}} -- developing (Dec 2021)

Template technique

Template code:

1. Create a specific (set) in the section (e.g., {{Chembox Lethal amounts (set)}})

2. From the section template (from {{Chembox Hazards}}), call the (set) conditionally (= when the set has input) and pass through input:

({{#if:{{{param1|}}}{{{param2|}}}|{{Chembox Chembox Lethal amounts (set)|param1={{{param1|}}}...}}}}

3. In the (set): call dataHeader and setDatarow (once per datarow). Set |setheadertext=Sub title and |label=Labeltext, pass through input parameters as |data={{{LD50|}}}

A setDatarow will not show when |data= is empty.

4. Check for ghost references

The above documentation is transcluded from Template:Chembox setHeader/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Chembox_setHeader&oldid=1305598056"
Last edited on 13 August 2025, at 01:16

Languages

    • Авар
    • تۆرکجه
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • भोजपुरी
    • Ελληνικά
    • Euskara
    • ગુજરાતી
    • Bahasa Indonesia
    • ಕನ್ನಡ
    • Македонски
    • മലയാളം
    • Bahasa Melayu
    • မြန်မာဘာသာ
    • 日本語
    • ଓଡ଼ିଆ
    • ပအိုဝ်ႏဘာႏသာႏ
    • Scots
    • සිංහල
    • Simple English
    • Slovenščina
    • کوردی
    • Српски / srpski
    • Tagalog
    • தமிழ்
    • ไทย
    • Türkçe
    • Tiếng Việt
    • 中文
    • Jaku Iban
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 13 August 2025, at 01:16 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop