Difference between revisions of "MediaWiki/Basic Example"

From Jmol
Jump to navigation Jump to search
(Basic examples)
 
m (Examples)
Line 1: Line 1:
 +
This page demonstrates basic uses of the [[:mw:Extension:Jmol|Jmol MediaWiki extension]].
 +
 +
== Examples with <tt>&lt;jmolFile&gt;</tt> ==
 +
 +
The code
 +
<tt><nowiki><jmolFile>Chair.cml</jmolFile></nowiki></tt>
 +
gives
 
<jmolFile>Chair.cml</jmolFile>
 
<jmolFile>Chair.cml</jmolFile>
  
<jmolFile>Ethanol.xyz</jmolFile>
+
The code
 +
<tt><nowiki><jmolFile text="Show ethanol">Ethanol.xyz</jmolFile></nowiki></tt>
 +
gives
 +
<jmolFile text="Show ethanol">Ethanol.xyz</jmolFile>

Revision as of 14:16, 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