Difference between revisions of "Template:Chembox InChI/format"
Jump to navigation
Jump to search
imported>DePiep (Format InChI and SMILES long strings. See talk:Chemical_infobox#Chembox_changes (15 December 2015)) |
imported>DePiep |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <div style="border-top:1px solid #ccc; padding:0.2em 0 0.2em 1. | + | <div style="border-top:1px solid #ccc; padding:0.2em 0 0.2em 1.5em; text-align:left;"><!-- |
| − | -->{{#if:{{{InChI|}}} |<div style="word-wrap:break-word; text-indent:-1.5em; font-size:11px; line-height:120%;">{{#if:{{{ | + | -->{{#if:{{{InChI|}}} |<div style="word-wrap:break-word; text-indent:-1.5em; font-size:11px; line-height:120%;">{{#if:{{{ix_label|}}} |{{{ix_label|}}}: }}InChI={{#invoke:String|replace|source={{{InChI|}}} |pattern=^InChI%=|replace=|plain=false}}<!-- |
-->{{{InChI_Ref|}}}</div>}}<!-- | -->{{{InChI_Ref|}}}</div>}}<!-- | ||
| − | -->{{#if:{{{InChIkey|}}} |<div style="word-wrap:break-word; text-indent:-1.5em; font-size:11px; line-height:120%;">{{#if:{{{InChI|}}} | |{{#if:{{{ | + | -->{{#if:{{{InChIkey|}}} |<div style="word-wrap:break-word; text-indent:-1.5em; font-size:11px; line-height:120%;">{{#if:{{{InChI|}}} | |{{#if:{{{ix_label|}}} |{{{ix_label|}}}: }}}}Key: {{{InChIkey}}}<!-- |
-->{{{InChIkey_Ref|}}}</div>}}<!-- | -->{{{InChIkey_Ref|}}}</div>}}<!-- | ||
--></div><!-- | --></div><!-- | ||
at least one of {InChI, InChIKey} must be present (empty data may show bad) | at least one of {InChI, InChIKey} must be present (empty data may show bad) | ||
| + | with InChI, ix_label and InChI_comment are equal | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 23:50, 19 March 2017
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. |