ಟೆಂಪ್ಲೇಟು:Chembox/doc: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ
Content deleted Content added
SVG |
|||
೧ ನೇ ಸಾಲು:
{{main|Wikipedia:Chemical infobox}}
{{convert to use Infobox}}
{{Documentation subpage}}
{{sandbox other||{{#ifeq:{{PAGENAME}}|Chembox<!-- in top /documentation only -->
|<!--match-->{{Lua|Module:String|Module:TemplatePar}}
{{Tracks Wikidata|P628|P2566|cat=Chemical compounds and Wikidata|section=Input from Wikidata}}|<!--no match-->}}}}
Template {{tlx|Chembox}} is an '''[[WP:INFOBOX|infobox]] for chemicals'''. It has a large number of options to add relevant data and images. The infobox is organized in sections like "identifiers" and "hazards".
Line ೮೨ ⟶ ೮೭:
To use, simply copy and paste the left column into the document, filling in whatever you can:
{|
|- style="vertical-align:top"
| <pre>
{{Chembox
| Reference =
Line ೨೫೫ ⟶ ೨೬೧:
}}
</pre>
| {{Pre2|scroll|2=<br /> <br />Title (default: article name)<br />Reference, use <ref> </ref> and add <references/> to the page<br />IUPAC name<br />The systematic name(s)<br />Any other name(s)<br /><br />Like filename.svg (not [[image:filename.svg]])<br />Picture width (default=200px; example: ImageSize=100px)<br />Alt text for picture (example: Fine dry white powder)<br />Picture caption (example: Oxygen in liquid form)<br /><br />{{tl|Chembox Identifiers}}<br /><br />Any abbreviations<br /><br />CAS Number, links to eMolecules<br /><br />ChEBI, links to EBI<br /><br />EINECS, links to ecb; URL is http://ecb.jrc.it/esis/index.php?GENRE=ECNO&ENTREE=<br />EINECS, links to ecb, different URL http://ecb.jrc.it/esis/index.php?GENRE=CASNO&ENTREE=<br /><br />InChI, no link<br />KEGG, links to genome.ad.jp<br />Medical Subject Headings, links to NIH<br />PubChem, links to pubchem<br />RTECS, no link<br />SMILES, no link<br /><br />{{tl|Chembox Properties}}: physical properties<br />Atmospheric OH rate constant<br />Its appearance<br />Boiling point, in plain text<br />Notes on boiling point<br />Density, including unit<br />The molecular formula<br />Henry's law constant (kH)<br />Partition coefficient<br />Molecular weight, including unit<br />Melting point, in plain text<br />Notes on melting point<br />pKa<br />pKb<br />Solubility in water<br />Solubility in other solvents, goes together with next<br />In which solvent it is soluble<br />Vapor pressure<br /><br />{{tl|Chembox Structure}}: crystal structure<br />Coordination<br />Crystal structure<br />Molecular shape<br /><br />{{tl|Chembox Thermochemistry}}<br /><br />Delta Gf<br />Delta Hc<br />Delta Hf<br />Entropy<br />Heat capacity<br /><br />{{tl|Chembox Explosive}}<br /><br />[[Shock sensitivity]]<br />[[Friction sensitivity]]<br />[[Explosive velocity]]<br />[[Relative effectiveness factor]]<br /><br />{{tl|Chembox Pharmacology}}: drug data<br />ATCvet=yes if the next two parameters define an ATCvet code<br />ATCCode prefix (first three characters, omit the leading Q for ATCvet codes), internal link<br />ATCCode suffix (last 4 characters), full ATC links to WHO C.C.<br />Other ATC codes (use the {{tl|ATC}} and/or {{tl|ATCvet}} templates)<br />Admin Routes<br />Bioavailability<br />Excretion<br />Half Life<br />Metabolism<br />Legal status<br />Legal status in AU<br /><br />Legal status in CA<br /><br />Legal status in NZ<br /><br />Legal status in US<br /><br />Legal status in UK<br /><br />Legal status in EU<br /><br />Legal status in UN<br /><br />Pregnancy Category<br />Pregnancy Category in US<br /><br />Pregnancy Category in AU<br /><br />Protein Bound<br /><br />{{tl|Chembox Hazards}}<br /><br />Autoignition temperature<br />EU Class<br />EU Index<br />Explosion limits<br />URL for [[Safety Data Sheet]]<br />Flash point<br />LD50<br />LC50<br />Main hazards<br />[[NFPA 704|NFPA]]-F: Fire hazard 0–4 ([[NFPA 704#red|red]])<br />NFPA-H: Health hazard 0–4 ([[NFPA 704#blue|blue]])<br />NFPA-R: Reactivity hazard 0–4 ([[NFPA 704#yellow|yellow]])<br />NFPA-S: Special hazards (aka Other; [[NFPA 704#white|white]]): W, OX, COR, ALK, ACID, CRYO, RA<br />PEL<br />RPhrases: use the {{tl|R}} template for this<br />SPhrases: use the {{tl|S}} template for this<br />RSPhrases: or use the combination of the two above<br /><br />{{tl|Chembox Related}}: related substances<br />The function<br />Other anions<br />Other cations<br />Other compounds: adds a chemical 'see also' section<br />Other function:<br /> <br /> <br />}}
|}
==== Full form ====
Line ೪೨೭ ⟶ ೨೬೮:
{{collapse top|title=Long parameter list for {{tl|Chembox}}|bg=lightgrey}}
{{hatnote|Sections parameter lists may be incomplete}}
{{See also|
{|
|- style="vertical-align:top;"
Line ೬೦೨ ⟶ ೪೪೩:
</pre>
|
<
Chembox: Template name
* Name: title above the box (DEFAULT: article name)
* filename.svg ('''not''' <nowiki>[[image:filename.svg]]</nowiki>
* picture size (example: ImageSize = 100px, default = 200px)
* alt text for picture (example: Fine dry white powder)
* Picture caption (example: Oxygen in liquid form)
* the IUPAC name
Line ೬೪೫ ⟶ ೪೫೫:
* the systematic name
* any other name
* reference; include <nowiki><ref> </ref></nowiki>s, add <nowiki><references/></nowiki> to the page
'''Section Identifiers:''' Standard numbers etc.
* any abbreviations
* CAS Number: links to eMolecules
** http://www.commonchemistry.org/
* PubChem: links to http://pubchem.ncbi.nlm.nih.gov;
** up to 5 numbers
* PubChem_Comment: comment at the number
* PubChemOther: for other information
* ChemSpider: links to http://www.chemspider.com; up to 5 numbers
* EINECS: links to ecb; URL is http://ecb.jrc.it/esis/index.php?GENRE = ECNO&ENTREE =
* also EINECS, but URL is http://ecb.jrc.it/esis/index.php?GENRE = CASNO&ENTREE =
* KEGG: links to genome.ad.jp
Line ೬೭೪ ⟶ ೪೭೮:
* ATCCode prefix (first three characters, omit the leading Q for ATCvet codes), internal link
* ATCCode suffix (last 4 characters), full ATC links to WHO C.C.
* Other ATC codes (use the {{tl|ATC}} and/or {{tl|ATCvet}} templates)
* SMILES: no link
* InChI: no link
'''Section Properties:''' Physical properties
Line ೬೯೫ ⟶ ೪೯೭:
* pKa
* pKb
* Sheet Resistance
Line ೭೪೦ ⟶ ೫೪೦:
* NFPA-R: [[NFPA 704#yellow|NFPA 704]] Reactivity hazard 0&ndahs;4 (yellow)
* NFPA-O: [[NFPA 704#white|NFPA 704]] Other hazards: W, OX, COR, ALK, ACID, CRYO, RA (white)
* RPhrases: use the {{tl|R-phrase}} template for this
* SPhrases: use the ? template for this
* RSPhrases: or use the combination of the two above
Line ೭೫೫ ⟶ ೫೫೫:
* Other Compounds: chemical 'see also' section
-end
</
|}
{{collapse bottom}}
Line ೮೬೩ ⟶ ೬೬೩:
==Adding images==
{{further information|
===Parameters===
Image parameters for the first images:
<source lang="xml">
{{Chembox
<!-- Other chembox parameters can go here -->
Line ೯೦೧ ⟶ ೭೦೧:
}}
<!-- More chembox parameters can go here, like |Section1=... -->
}}</
{{Pre2|scroll|2=
<!-- rh column text?-->
}}
{{clear}}
Line ೯೭೧ ⟶ ೭೭೧:
===Multiple images===
{{further information|
{| class=wikitable border=1 cellpadding=1 style="float:right
|-
| colspan=2 | ImageFile
|-
| colspan=2 | ImageFile1
|-
| ImageFileL1 || ImageFileR1
|-
| ImageFileL2 || ImageFileR2
|-
| colspan=2 | ImageFile2
|-
| colspan=2 | ImageFile3
|-
| ImageFileL3 || ImageFileR3
|-
| ImageFileL4 || ImageFileR4
|-
| colspan=2 | ImageFile4
|}
Line ೧,೦೧೮ ⟶ ೮೧೮:
<pre style="overflow: auto">
{{Chembox
| ImageFileL1 = Furfural
| ImageAltL1 = Skeleton formula of a ring of four carbons and one oxygen, with a carbon-oxygen attached to a carbon next to an oxygen
| ImageFileR1 = Furfural-3D-vdW.png
Line ೧,೦೪೩ ⟶ ೮೪೩:
| SystematicName = SYS
| OtherNames = X<br/>Y<br/>Z
| show_ss_note = no
| show_infobox_ref = no
}}
<pre>
Line ೧,೦೫೩ ⟶ ೮೫೫:
}}</pre>
{{clear}}
==Input from Wikidata==
{{sandbox other||{{#ifeq:{{PAGENAME}}|Chembox<!-- in top /documentation only -->
|<!--match-->{{Tracks Wikidata|P628|P2566|cat=Chemical compounds and Wikidata}}|<!--no match-->}}}}
[[E number]] and [[ECHA|ECHA InfoCard ID]] are read from Wikidata.
==Maintenance==
=== Troubleshooting ===
* When supplying a parameter with a value, and nothing or the wrong value shows up, check:
Line ೧,೦೫೯ ⟶ ೮೬೯:
:* Is there inconsistency in the Section numbering? Available numbers for sections are 1 – 9.
===
* {{clc|Chemical articles with unknown parameter in Chembox}}
* See also: {{cl|Chembox tracking categories}}
==See also==
Line ೧,೦೬೬ ⟶ ೮೭೭:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
{{#ifeq:{{PAGENAME}}|Chembox
|<!--match-->[[Category:Chembox templates| ]]
[[Category:Templates that add a tracking category]]
|<!--no match-->[[Category:Chembox templates]]
}}}}</includeonly>
|