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

From blackwiki
Jump to navigation Jump to search
(Added some documentation.)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(15 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
==Usage==
 
==Usage==
This is used by [[Template:Chembox]].  It is called with up to three parameters
+
This is used by [[Template:Chembox Identifiers]], part of [[Template:Chembox]].
* 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.
+
:Do not call this template when <nowiki>{{{SMILES|}}}</nowiki> is blank. Returns css tags.
<includeonly>
+
 
 +
==See also==
 +
* {{tl|Chembox Identifiers}}
 +
* {{tl|Chembox SMILES}}
 +
* {{tl|Chembox SMILES/format}}
 +
 
 +
Code copied from {{tl|Chembox InChI}} set
 +
<includeonly>{{Sandbox other||
 
[[Category:Chembox templates|{{PAGENAME}}]]
 
[[Category:Chembox templates|{{PAGENAME}}]]
  
[[ar:قالب:Chembox SMILES]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 04:14, 24 April 2020

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