Difference between revisions of "Template:Chembox"
Physchim62 (talk | contribs) (Imported from http://en.wikipedia.org/w/index.php?title=Template:Chembox&oldid=307761069) |
Physchim62 (talk | contribs) (widen box to 24em) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly><!--Please do ''not'' subst this template. If you see this text in a document, the template 'chembox' has been substituted. In that case, please copy-and-paste the unsubstituted template from [[template:chembox]], move the data from here into that template, and remove the old template data. Thank you! | |
− | -->{| class="infobox bordered" style="border-collapse: collapse; width: | + | -->{| class="infobox bordered" style="border-collapse: collapse; width: {{{BoxWidth|{{{width|24em}}}}}}; font-size: 88%" |
− | ! colspan=2 style="background-color: #f8eaba; text-align: center; font-size: 125%" | {{#if:{{{ | + | ! colspan=2 style="background-color: #f8eaba; text-align: center; font-size: 125%" | {{{Name|{{PAGENAME}}}}}{{{Reference|}}} |
+ | |- | ||
+ | <!-- IMAGE(S) --> | ||
+ | {{#if:{{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}||{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Chemical pages needing a structure drawing]] }} }} | ||
+ | {{#if:{{{ImageFile|}}}| {{!}} align="center" colspan="2" bgcolor="#ffffff" {{!}} [[File:{{{ImageFile|}}}|{{px|{{{ImageSize|}}}|200px}}|{{{ImageName|}}}]] }} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{ImageFile1|}}}| {{!}} align="center" colspan="2" bgcolor="#ffffff" {{!}} [[File:{{{ImageFile1|}}}|{{px|{{{ImageSize1|}}}|200px}}|{{{ImageName1|}}}]] }} |
− | + | |- | |
− | + | {{#if:{{{ImageFileL1|}}}| {{!}} [[File:{{{ImageFileL1}}}|{{px|{{{ImageSizeL1|}}}|100px}}|center|{{{ImageNameL1|}}}]] | |
− | + | {{#if:{{{ImageFileR1|}}}| {{!}} [[File:{{{ImageFileR1}}}|{{px|{{{ImageSizeR1|}}}|100px}}|center|{{{ImageNameR1|}}}]] }} }} | |
− | + | |- | |
− | + | {{#if:{{{ImageFile2|}}}| {{!}} align="center" colspan="2" bgcolor="#ffffff" {{!}} [[File:{{{ImageFile2|}}}|{{px|{{{ImageSize2|}}}|200px}}|{{{ImageName2|}}}]] }} | |
− | + | |- | |
− | + | {{#if:{{{ImageFile3|}}}| {{!}} align="center" colspan="2" bgcolor="#ffffff" {{!}} [[File:{{{ImageFile3|}}}|{{px|{{{ImageSize3|}}}|200px}}|{{{ImageName3|}}}]] }} | |
− | + | |- | |
− | + | {{#if:{{{ImageFileL2|}}}| {{!}} [[File:{{{ImageFileL2}}}|{{px|{{{ImageSizeL2|}}}|100px}}|center|{{{ImageNameL2|}}}]] | |
− | + | {{#if:{{{ImageFileR2|}}}| {{!}} [[File:{{{ImageFileR2}}}|{{px|{{{ImageSizeR2|}}}|100px}}|center|{{{ImageNameR2|}}}]] }} }} | |
− | + | |- | |
− | + | <!-- NON-MODULARIZED FIELDS --> | |
− | + | {{#if:{{{IUPACName|}}} | {{!}} [[International Union of Pure and Applied Chemistry nomenclature|IUPAC name]] {{!!}} {{{IUPACName}}} }} | |
− | + | |- | |
− | + | {{#if:{{{SystematicName|}}} | {{!}} [[IUPAC nomenclature|Systematic name]] {{!!}} {{{SystematicName}}} }} | |
− | + | |- | |
− | + | {{#if:{{{OtherNames|}}} | {{!}} Other names {{!!}} {{{OtherNames}}} }} | |
− | + | |- | |
− | + | <!-- * add cleanup category if template contains misplaced parameters --> | |
− | + | {{#if:{{{Formula|}}}{{{MolarMass|}}}{{{CASNo|}}}{{{Density|}}}{{{Solubility|}}}{{{Solvent|}}}{{{MeltingPt|}}}{{{BoilingPt|}}}{{{LogP|}}}{{{VaporPressure|}}}{{{HenryConstant|}}}{{{AtmosphericOHRateConstant|}}}{{{pKa|}}}{{{pKb|}}}{{{IsoelectricPt|}}}{{{DeltaHf|}}}{{{DeltaHc|}}}{{{EINECS|}}}{{{EINECSCASNO|}}}{{{PubChem|}}}{{{SMILES|}}}{{{InChI|}}}|[[Category:Chemical infoboxes with misplaced or deprecated parameters]]}} | |
− | + | <!-- MODULES --> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{{Section1|}}} | {{{Section1|}}} | ||
{{{Section2|}}} | {{{Section2|}}} | ||
Line 56: | Line 44: | ||
{{{Section14|}}} | {{{Section14|}}} | ||
{{{Section15|}}} | {{{Section15|}}} | ||
− | |||
{{Chembox Supplement}} | {{Chembox Supplement}} | ||
− | | colspan=2 style="background-color: #f8eaba; text-align: center" | {{#ifeq:{{{Verifiedfields|}}}|changed| {{cross|14}}[[ | + | <!-- VERIFICATION AND FOOTER --> |
− | + | | colspan=2 style="background-color: #f8eaba; text-align: center" | {{#ifeq:{{{Verifiedfields|}}}|changed| {{cross|14}}[[WikiChem:Validation of data in articles|(what is this?)]]|{{#if:{{{verifiedrevid|}}}| {{tick|14}}[[WikiChem:Validation of data in articles|(what is this?)]]}}}}{{#if:{{{verifiedrevid|}}}| [http://en.wikipedia.org/w/index.php?&diff=cur&oldid={{{verifiedrevid|}}} (verify)]}}{{#ifeq:{{{Verifiedfields|}}}|changed|<br />|{{#if:{{{verifiedrevid|}}}|<br />}}}}{{#ifeq:{{{Verifiedfields|}}}|changed|[[Category:Chemboxes which contain changes to verified fields]]|}}{{#ifeq:{{{Watchedfields|}}}|changed|[[Category:Chemboxes which contain changes to watched fields]]|}}Except where noted otherwise, data are given for materials in their [[standard state|standard state (at 25 °C, 100 kPa)]] | |
− | |||
|- | |- | ||
|}</includeonly><noinclude>{{documentation}}</noinclude> | |}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 11:41, 23 August 2009
This is a documentation subpage for Template:Chembox (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Contents
Usage
Parameters
Examples
See also
Error creating thumbnail: Unable to save thumbnail to destination | This template was originally imported from Wikipedia, specifically this version of the template "Template:Chembox". Please see the history page on Wikipedia for the original authors. This WikiChem template may have been modified since it was imported. It is licensed under the Creative Commons Attribution–Share Alike 3.0 Unported license. |