Jmol/JSmol MediaWiki Extension Examples
<jmol> Mandatory around any Jmol/JSMol declaration. Indicates MediaWiki how to treat the enclosed wiki text.
<jmolApplet> Inserts an applet in the wiki page. Valid attributes are <color>, <size>, <name>, <signed>
<urlContents> Displays a structure retrieved from a remote server. Requires JSmol or signed Jmol.
<jmol>
<jmolApplet>
<signed>true</signed>
<name>1CRN</name>
<color>blue</color>
<size>250</size>
<urlContents>http://www.pdb.org/pdb/files/1crn.pdb.gz</urlContents>
</jmolApplet>
</jmol>
<wikiPageContents> Displays a structure stored in a normal wiki page. See as an example Ethane-s.pdb
<jmol>
<jmolApplet>
<wikiPageContents>ethane-s.pdb</wikiPageContents>
</jmolApplet>
</jmol>
<uploadedFileContents> Displays an uploaded file. See as an example Chair.xyz
<jmol>
<jmolApplet>
<uploadedFileContents>Chair.xyz</uploadedFileContents>
</jmolApplet>
</jmol>
load SMILES Loads into Jmol/JSmol a SMILES string, using an external server for the conversion. Requires JSmol or signed Jmol.
<jmol>
<jmolApplet>
<script>load $NC(Cl)(C)O</script>
</jmolApplet>
</jmol>