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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(Formatting InChI, SMILES, JMol. Remove deprecated parameters. Fix footer logic. +minor changes. See talk)
Line 1: Line 1:
<div style="word-wrap:break-word; margin-top:0.6em; border-bottom:1px solid #ccc;">{{{SMILES}}}{{#if:{{{SMILES_comment|}}}|&nbsp;{{{SMILES_comment}}} }}<!--
+
<div style="margin-bottom:0.4em; border-top:1px solid #ccc; padding-left:1.5em;"><!--
--></div><noinclude>
+
 
{{documentation}}
+
-->{{#if:{{{SMILES|}}} |<div style="text-indent:-1.5em; padding-top:0.225em; line-height:1.15em;">{{#if:{{{SMILES_comment|}}} |{{{SMILES_comment}}}:&#x20;}}{{{SMILES|}}}</div>}}<!--
</noinclude>
+
 
 +
--></div><!--
 +
 
 +
--><noinclude>{{documentation}}</noinclude>

Revision as of 16:50, 16 November 2015

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