Difference between revisions of "Template:Chembox InChI"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (Changed protection level of Template:Chembox InChI: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)))
imported>DePiep
(Format InChI and SMILES long strings. See talk:Chemical_infobox#Chembox_changes (15 December 2015))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
| align="center" colspan="2" | {{Collapsible list|title = <div align="center">[[International Chemical Identifier|InChI]]</div> | 1 = {{#if:{{{value|}}}|<p style="word-wrap: break-word;">InChI={{{value}}}{{#if:{{{value_comment|}}}|&nbsp;{{{value_comment}}} }}{{#switch:{{{value_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{value_ref|}}}}}{{#if:{{{valuekey|}}}|<br />Key: {{{valuekey}}}{{#if:{{{valuekey_comment|}}}|&nbsp;{{{valuekey_comment}}} }}{{#switch:{{{valuekey_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{valuekey_ref|}}}}}}}</p>}}{{#if:{{{value|}}}|{{#if:{{{value1|}}}|<hr>}}}}{{#if:{{{value1|}}}|<p style="word-wrap: break-word;">InChI={{{value1}}}{{#if:{{{value1_comment|}}}|&nbsp;{{{value1_comment}}} }}{{#switch:{{{value1_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{value1_ref|}}}}}{{#if:{{{value1key|}}}|<br />Key: {{{value1key}}}{{#if:{{{value1key_comment|}}}|&nbsp;{{{value1key_comment}}} }}{{#switch:{{{value1key_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{value1key_ref|}}}}}}}</p>}}{{#if:{{{value1|}}}|{{#if:{{{value2|}}}|<hr>}}}}{{#if:{{{value2|}}}|<p style="word-wrap: break-word;">InChI={{{value2}}}{{#if:{{{value1_comment|}}}|&nbsp;{{{value2_comment}}} }}{{#switch:{{{value2_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{value2_ref|}}}}}{{#if:{{{value2key|}}}|<br />Key: {{{value2key}}}{{#if:{{{value2key_comment|}}}|&nbsp;{{{value2key_comment}}} }}{{#switch:{{{value2key_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{value2key_ref|}}}}}}}</p>}}{{#if:{{{value2|}}}|{{#if:{{{value3|}}}|<hr>}}}}{{#if:{{{value3|}}}|<p style="word-wrap: break-word;">InChI={{{value3}}}{{#if:{{{value3_comment|}}}|&nbsp;{{{value3_comment}}} }}{{#switch:{{{value3_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{value3_ref|}}}}}{{#if:{{{value3key|}}}|<br />Key: {{{value3key}}}{{#if:{{{value3key_comment|}}}|&nbsp;{{{value3key_comment}}} }}{{#switch:{{{value3key_ref|}}}x | {{stdinchicite}}x=&nbsp;<sup>{{tick|7}}</sup>[[Category:Articles without InChI source]] | changedx=&nbsp;<sup>{{cross|7}}</sup> |{{{value3key_ref|}}}}}}}</p>}}}}
+
| colspan="2" | {{Collapsible list
|-<noinclude>{{documentation}}</noinclude>
+
  |title=[[International Chemical Identifier|InChI]]
 +
  |titlestyle=text-align:left; font-weight:normal; background:transparent;
 +
  |liststyle=word-break:break-all;
 +
  |1={{{StdInChI|}}} |10={{{InChI|}}} |11={{{InChI1|}}} |12={{{InChI2|}}}
 +
  |13={{{InChI3|}}} |14={{{InChI4|}}} |15={{{InChI5|}}}
 +
  |20={{#if:{{{InChIOther|}}}|<div style="border-top:1px solid #ccc; text-align:left;">{{{InChIOther|}}}</div> }}
 +
}}
 +
|-<!--
 +
 
 +
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:10, 15 December 2015

| colspan="2" |

|-