Difference between revisions of "MediaWiki/Basic Example"

From Jmol
Jump to navigation Jump to search
m (Examples)
(More examples)
Line 12: Line 12:
 
gives
 
gives
 
<jmolFile text="Show ethanol">Ethanol.xyz</jmolFile>
 
<jmolFile text="Show ethanol">Ethanol.xyz</jmolFile>
 +
 +
== Examples with <tt>&lt;jmolPdb&gt;</tt> ==
 +
 +
This feature is not yet implemented.
 +
 +
The code
 +
<tt><nowiki><jmolPdb>1ALE</jmolPdb></nowiki></tt>
 +
gives
 +
<jmolPdb>1ALE</jmolPdb>
 +
 +
The code
 +
<tt><nowiki><jmolPdb text="Show 1ALE">1ALE</jmolPdb></nowiki></tt>
 +
gives
 +
<jmolPdb text="Show 1ALE">1ALE</jmolPdb>
 +
 +
== Examples with <tt>&lt;jmolSmiles&gt;</tt> ==
 +
 +
This feature is not yet implemented.
 +
 +
The code
 +
<tt><nowiki><jmolSmiles>CCCNC</jmolSmiles></nowiki></tt>
 +
gives
 +
<jmolSmiles>CCCNC</jmolSmiles>
 +
 +
The code
 +
<tt><nowiki><jmolSmiles text="Show CCCNC">CCCNC</jmolSmiles></nowiki></tt>
 +
gives
 +
</jmolSmiles text="Show CCCNC">CCCNC</jmolSmiles>

Revision as of 15:19, 27 November 2010

This page demonstrates basic uses of the Jmol MediaWiki extension.

Examples with <jmolFile>

The code <jmolFile>Chair.cml</jmolFile> gives Chair.cml

The code <jmolFile text="Show ethanol">Ethanol.xyz</jmolFile> gives Show ethanol

Examples with <jmolPdb>

This feature is not yet implemented.

The code <jmolPdb>1ALE</jmolPdb> gives 1ALE

The code <jmolPdb text="Show 1ALE">1ALE</jmolPdb> gives Show 1ALE

Examples with <jmolSmiles>

This feature is not yet implemented.

The code <jmolSmiles>CCCNC</jmolSmiles> gives CCCNC

The code <jmolSmiles text="Show CCCNC">CCCNC</jmolSmiles> gives </jmolSmiles text="Show CCCNC">CCCNC</jmolSmiles>