Difference between revisions of "Template:Chembox InChI/format"
Jump to navigation
Jump to search
imported>DePiep m |
imported>DePiep (Formatting InChI, SMILES, JMol. Remove deprecated parameters. Fix footer logic. +minor changes. See talk) |
||
| Line 1: | Line 1: | ||
| − | <div style=" | + | <div style="margin-bottom:0.4em; border-top:1px solid #ccc; padding-left:1.5em;"><!-- |
| − | -->{{#if:{{{InChI_comment|}}}| {{{ | + | |
| − | -->{{{InChI_Ref|}}}<!-- | + | -->{{#if:{{{InChI|}}} |<div style="text-indent:-1.5em; padding-top:0.225em; line-height:1.15em;">{{#if:{{{InChI_comment|}}} |{{{InChI_comment}}}: }}InChI={{#invoke:String|replace|source={{{InChI|}}} |pattern=^InChI%=|replace=|plain=false}}<!-- |
| − | -->{{#if:{{{InChIkey|}}}|< | + | -->{{{InChI_Ref|}}}</div>}}<!-- |
| − | + | ||
| − | -->{{{InChIkey_Ref|}}}</div><!-- | + | -->{{#if:{{{InChIkey|}}} |<div style="text-indent:-1.5em; padding-top:0.225em; line-height:1.15em;">{{#if:{{{InChI|}}} | |{{#if:{{{InChI_comment|}}} |{{{InChI_comment}}}: }}}}Key: {{{InChIkey}}}<!-- |
| − | --><noinclude> | + | -->{{{InChIkey_Ref|}}}</div>}}<!-- |
| − | {{documentation}} | + | |
| − | </noinclude> | + | --></div><!-- |
| + | at least one of {InChI, InChIKey} must be present (empty data may show bad) | ||
| + | --><noinclude>{{documentation}}</noinclude> | ||
Revision as of 16:49, 16 November 2015
See also
| The above documentation is transcluded from Template:Chembox InChI/format/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |