User:AngelHerraez/Sandbox2

From SklogWiki
Revision as of 00:23, 26 May 2009 by AngelHerraez (talk | contribs) (testing the Chembox template)
Jump to navigation Jump to search

Simple use of Chembox_3DStruct

A use of the Chembox_3DStruct template that puts a link with the molecule name leading to a pop-up window with Jmol. The molecule should be uploaded as a file. File types not allowed in this Wiki.

Let's change the template so that it uses model files uploaded as wiki pages. This code:

{{Chembox 3DStruct|Water.pdb}}

renders so: | 3D structure | <jmol><jmolAppletLink> <wikiPageContents></wikiPageContents> <text></text> </jmolAppletLink> </jmol> |-

Another example:

{{Chembox 3DStruct|Benzene.pdb}}

renders so: | 3D structure | <jmol><jmolAppletLink> <wikiPageContents></wikiPageContents> <text></text> </jmolAppletLink> </jmol> |-

Works OK!

Use of Chembox (mini version)

This reproduces (part of) the Chembox_Structure template at Wikipedia.

Structure
3D structure

<jmol><jmolAppletLink> <wikiPageContents>Caffeine.mol</wikiPageContents> <text>Caffeine.mol</text> </jmolAppletLink> </jmol>

Molecular shape mostly planar