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

From blackwiki
Jump to navigation Jump to search
imported>RockMFR
 
(Added some documentation.)
Line 2: Line 2:
  
 
==Usage==
 
==Usage==
This is used by [[Template:Chembox]].
+
This is used by [[Template:Chembox]].  It is called with up to three parameters
 +
* value = <nowiki>{{{SMILES|}}}</nowiki>
 +
* value2 = <nowiki>{{{FullSMILES|}}}</nowiki>
 +
* value3 = <nowiki>{{{DispSMILES|}}}</nowiki>
 +
Normally, only the first is provided, and displayed in a {{tlx|Collapsible list}}.  If the user's browser supports JavaScript, the actual value is hidden until the user clocks on a [show] link.
  
 +
The intended use of the second two is obscure.  They should probably be clarified or deleted.
 
<includeonly>
 
<includeonly>
 
[[Category:Chembox templates|{{PAGENAME}}]]
 
[[Category:Chembox templates|{{PAGENAME}}]]

Revision as of 00:11, 22 September 2009

Usage

This is used by Template:Chembox. It is called with up to three parameters

  • value = {{{SMILES|}}}
  • value2 = {{{FullSMILES|}}}
  • value3 = {{{DispSMILES|}}}

Normally, only the first is provided, and displayed in a {{Collapsible list}}. If the user's browser supports JavaScript, the actual value is hidden until the user clocks on a [show] link.

The intended use of the second two is obscure. They should probably be clarified or deleted.