MediaWiki/Simple Tags

From Jmol
Jump to navigation Jump to search

Simple tags in the Jmol Extension for MediaWiki

These tags will write a link that, when clicked by the user, will open a small window (pop-up) with a JSmol panel that displays a structure. No custom rendering or scripting on the structure is possible.

The tags take a text string that specifies the model to be retrieved from a file previously uploaded to the wiki or from one of the databases accessible to Jmol.

The text for the link may be specified (otherwise, it will be the same model id)

The wikicode is displayed to the right of each example.

jmolFile tag

Let's see the 3D structure of cyclohexane in the chair conformation.

The structure is retrieved from a file previously uploaded to this wiki.

<jmolFile text='cyclohexane'>Chair.cml</jmolFile>

jmolMol tag

See the structure of something in your coffee

The structure is retrieved from the NCI CACTUS server, or from another server defined by the wiki administrator. The contents of the tag must be some ID understood by the server.

<jmolMol text='in your coffee'>caffeine</jmolMol>

jmolSmiles tag

The link nitrobenzene will open a popup window displaying the structure of nitrobenzene.

The structure is retrieved from the NCI CACTUS server. The contents of the tag may be a SMILES string, a name or any other ID allowed by the server.

<jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles>

jmolPdb tag

The adipocyte lipid binding protein is a small globular protein.

The structure is retrieved from the RCSB PDB server (or another PDB server, as configured by the wiki administrator). The contents of the tag must be the 4-character PDB ID.

<jmolPdb text='adipocyte lipid binding protein'>1ab0</jmolPdb>


<< Back to the index page of the Extension.

Contributors

AngelHerraez