Difference between revisions of "Template:Chembox SMILES/sandbox"

From blackwiki
Jump to navigation Jump to search
(Added a width to the list entry to see if that helps.)
imported>DePiep
Line 1: Line 1:
|colspan=2| {{Collapsible list |title_style=width:100%; background:transparent; font-weight:normal;" align="left |title=[[Simplified molecular input line entry specification|SMILES]] |list_style=text-align:right; width=100%; white-space: pre-wrap; <!--css-3--> white-space: -moz-pre-wrap; <!--Mozilla, since 1999--> white-space: -pre-wrap; <!--Opera 4-6--> white-space: -o-pre-wrap; <!--Opera 7--> word-wrap: break-word; <!--Internet Explorer 5.5+, FF 3.5-->
+
| [[Jmol]]-3D images
|1=<small><tt>{{{value|}}}</tt></small>}}
+
| {{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}{{{value3|}}}|{{#if:{{{value|}}}|[http://chemapps.stolaf.edu/jmol/jmol.php?model={{urlencode:{{{value}}}}} Image 1]}}{{#if:{{{value|}}}|{{#if:{{{value1|}}}|<br />[http://chemapps.stolaf.edu/jmol/jmol.php?model={{urlencode:{{{value1}}}}} Image 2]}}}}{{#if:{{{value|}}}{{{value1|}}}|{{#if:{{{value2|}}}|<br />[http://chemapps.stolaf.edu/jmol/jmol.php?model={{urlencode:{{{value2}}}}} Image 3]}}}}{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}|{{#if:{{{value3|}}}|<br />[http://chemapps.stolaf.edu/jmol/jmol.php?model={{urlencode:{{{value3}}}}} Image 4]}}}}
 
|-
 
|-
 +
| align="center" colspan="2" | {{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}{{{value3|}}}|{{Collapsible list|title = <div align="center">[[Simplified molecular-input line-entry system|SMILES]]</div> | 1 = <p style="word-wrap: break-word;">{{{value|}}}{{#if:{{{value_comment|}}}|&nbsp;{{{value_comment}}} }}{{#switch:{{{value_ref|}}}x | {{smilescite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}</p>{{#if:{{{value|}}}|{{#if:{{{value1|}}}|<hr>}}}}<p style="word-wrap: break-word;">{{{value1|}}}{{#if:{{{value1_comment|}}}|&nbsp;{{{value1_comment}}} }}{{#switch:{{{value1_ref|}}}x | {{smilescite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}</p>{{#if:{{{value|}}}{{{value1|}}}|{{#if:{{{value2|}}}|<hr>}}}}<p style="word-wrap: break-word;">{{{value2|}}}{{#if:{{{value2_comment|}}}|&nbsp;{{{value2_comment}}} }}{{#switch:{{{value2_ref|}}}x | {{smilescite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}<p>{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}|{{#if:{{{value3|}}}|<hr>}}}}<p style="word-wrap: break-word;">{{{value3|}}}{{#if:{{{value3_comment|}}}|&nbsp;{{{value3_comment}}} }}{{#switch:{{{value3_ref|}}}x | {{smilescite}}x=&nbsp;<sup>{{tick|7}}</sup> | changedx=&nbsp;<sup>{{cross|7}}</sup> }}</p>}}}}
 +
|-<noinclude>{{documentation}}</noinclude>

Revision as of 00:38, 22 December 2014

| Jmol-3D images | {{#if:| |- | align="center" colspan="2" |

|-

Template documentation[view] [edit] [history] [purge]

Usage

This is used by Template:Chembox Identifiers, part of Template:Chembox.

Do not call this template when {{{SMILES|}}} is blank. Returns css tags.

See also

Code copied from {{Chembox InChI}} set