Difference between revisions of "MediaWiki/Basic Example"

From Jmol
Jump to navigation Jump to search
m (add category)
(Explanations)
Line 9: Line 9:
 
gives
 
gives
 
<jmolFile>Chair.cml</jmolFile>
 
<jmolFile>Chair.cml</jmolFile>
 +
to display molecular data from [[:File:Chair.cml|File:Chair.cml]].
  
 
The code
 
The code
Line 14: Line 15:
 
gives
 
gives
 
<jmolFile text="Show ethanol">Ethanol.xyz</jmolFile>
 
<jmolFile text="Show ethanol">Ethanol.xyz</jmolFile>
 +
to display molecular data from [[:File:Ethanol.xyz|File:Ethanol.xyz]].
  
 
== Examples with <tt>&lt;jmolPdb&gt;</tt> ==
 
== Examples with <tt>&lt;jmolPdb&gt;</tt> ==
Line 23: Line 25:
 
gives
 
gives
 
<jmolPdb>1ALE</jmolPdb>
 
<jmolPdb>1ALE</jmolPdb>
 +
to display 1ALE molecular data directly from [[:en:Protein Data Bank|Protein Data Bank]].
  
 
The code
 
The code
Line 28: Line 31:
 
gives
 
gives
 
<jmolPdb text="Show 1ALE">1ALE</jmolPdb>
 
<jmolPdb text="Show 1ALE">1ALE</jmolPdb>
 +
to display 1ALE molecular data directly from [[:en:Protein Data Bank|Protein Data Bank]].
  
 
== Examples with <tt>&lt;jmolSmiles&gt;</tt> ==
 
== Examples with <tt>&lt;jmolSmiles&gt;</tt> ==
Line 37: Line 41:
 
gives
 
gives
 
<jmolSmiles>CCCNC</jmolSmiles>
 
<jmolSmiles>CCCNC</jmolSmiles>
 +
to display molecular data directly associated to [[:en:SMILES|SMILES string]] CCCNC.
  
 
The code
 
The code
Line 42: Line 47:
 
gives
 
gives
 
<jmolSmiles text="Show CCCNC">CCCNC</jmolSmiles>
 
<jmolSmiles text="Show CCCNC">CCCNC</jmolSmiles>
 +
to display molecular data directly associated to [[:en:SMILES|SMILES string]] CCCNC.
  
 
[[Category:Pages Using Jmol MW Extension]]
 
[[Category:Pages Using Jmol MW Extension]]

Revision as of 13:48, 30 November 2010

This page demonstrates basic uses of the Jmol MediaWiki extension.

Examples with <jmolFile>

This feature is currently under development.

The code <jmolFile>Chair.cml</jmolFile> gives Chair.cml to display molecular data from File:Chair.cml.

The code <jmolFile text="Show ethanol">Ethanol.xyz</jmolFile> gives Show ethanol to display molecular data from File:Ethanol.xyz.

Examples with <jmolPdb>

This feature is currently under development.

The code <jmolPdb>1ALE</jmolPdb> gives 1ALE to display 1ALE molecular data directly from Protein Data Bank.

The code <jmolPdb text="Show 1ALE">1ALE</jmolPdb> gives Show 1ALE to display 1ALE molecular data directly from Protein Data Bank.

Examples with <jmolSmiles>

This feature is currently under development.

The code <jmolSmiles>CCCNC</jmolSmiles> gives CCCNC to display molecular data directly associated to SMILES string CCCNC.

The code <jmolSmiles text="Show CCCNC">CCCNC</jmolSmiles> gives Show CCCNC to display molecular data directly associated to SMILES string CCCNC.