Home
Random
Log in
Settings
About Ikwipedia
Disclaimers
Search
Editing
Template:Chembox setHeader/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} {{High-use}} * {{t links|Chembox setHeader/sandbox}} * {{t links|Chembox setDatarow/sandbox}} :{{tl|Chembox/testcases (set)}} ==applied== : {{tl|Chembox Pharmacokinetics (set)}} : {{tl|Chembox NIOSH (set)}} : {{tl|Chembox Lethal amounts (set)}} : {{tl|Chembox CMC HLB (set)}} : {{tl|Chembox GHS (set)}} -- new (Dec 2021) : {{tl|Chembox OHS (set)}} -- developing (Dec 2021) ==Template technique== Template code: 1. Create a specific (set) in the section (e.g., {{tl|Chembox Lethal amounts (set)}}) 2. From the section template (from {{tl|Chembox Hazards}}), call the (set) conditionally (= when the set has input) and pass through input: ::<code><nowiki>({{#if:{{{param1|}}}{{{param2|}}}|{{Chembox Chembox Lethal amounts (set)|param1={{{param1|}}}...}}}}</nowiki></code> 3. In the (set): call dataHeader and setDatarow (once per datarow). Set {{para|setheadertext|Sub title}} and {{para|label|Labeltext}}, pass through input parameters as {{para|data|<nowiki>{{{LD50|}}}</nowiki>}} :A setDatarow will not show when {{para|data}} is empty. 4. Check for ghost references <includeonly>{{#switch:{{PAGENAME}} |Chembox setDatarow |Chembox setHeader = [[Category:Chembox templates|$]]}}</includeonly>
Summary:
Please note that all contributions to Ikwipedia are considered to be released under the Creative Commons Attribution-ShareAlike (see
Ikwipedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)