Difference between revisions of "Template:Chembox SMILES"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Formatting InChI, SMILES, JMol. Remove deprecated parameters. Fix footer logic. +minor changes. See talk)
imported>DePiep
(Format InChI and SMILES long strings. See talk:Chemical_infobox#Chembox_changes (15 December 2015))
 
Line 2: Line 2:
 
   |title=[[Simplified molecular-input line-entry system|SMILES]]
 
   |title=[[Simplified molecular-input line-entry system|SMILES]]
 
   |titlestyle=text-align:left; font-weight:normal; background:transparent;
 
   |titlestyle=text-align:left; font-weight:normal; background:transparent;
   |liststyle=word-break:break-all; text-align:left;
+
   |liststyle=word-break:break-all;
 
   |1={{{SMILES|}}} |2={{{SMILES1|}}} |3={{{SMILES2|}}}
 
   |1={{{SMILES|}}} |2={{{SMILES1|}}} |3={{{SMILES2|}}}
 
   |4={{{SMILES3|}}} |5={{{SMILES4|}}} |6={{{SMILES5|}}}
 
   |4={{{SMILES3|}}} |5={{{SMILES4|}}} |6={{{SMILES5|}}}
   |10={{#if:{{{SMILESOther|}}}|<div style="border-top:1px solid #ccc;">{{{SMILESOther|}}}</div>}}
+
   |10={{#if:{{{SMILESOther|}}}|<div style="border-top:1px solid #ccc; text-align:left;">{{{SMILESOther|}}}</div>}}
 
}}
 
}}
  
 
|-<noinclude>{{documentation}}</noinclude>
 
|-<noinclude>{{documentation}}</noinclude>

Latest revision as of 19:10, 15 December 2015

| 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