Jump to content

සැකිල්ල:Chembox setHeader/doc

විකිපීඩියා වෙතින්
{{Chembox/testcases (set)}}
{{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

"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Chembox_setHeader/doc&oldid=565847" වෙතින් සම්ප්‍රවේශනය කෙරිණි