Difference between revisions of "Sandbox"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) |
AngelHerraez (talk | contribs) |
||
Line 3: | Line 3: | ||
== Jmol extension for MediaWiki == | == Jmol extension for MediaWiki == | ||
+ | This uses <code>uploadedFileContents</code> tag with an XYZ file: | ||
<jmol> | <jmol> | ||
<jmolApplet> | <jmolApplet> | ||
Line 48: | Line 49: | ||
</jmolMenu> | </jmolMenu> | ||
</jmol> | </jmol> | ||
+ | |||
+ | |||
+ | This one uses the <code>inlineContents</code> tag, with straight data on the left and with added pipe characters (|) on the right: | ||
+ | <table width="100%"><tr> | ||
+ | <td> | ||
+ | <jmol> | ||
+ | <jmolApplet> | ||
+ | <size>150</size> | ||
+ | <color>green</color> | ||
+ | <inlineContents>chair.mol | ||
+ | Conformational analysis | ||
+ | 0 | ||
+ | 18 18 0 0 0 1 V2000 | ||
+ | 1.6881 2.1572 -3.0193 C 0 0 0 0 0 | ||
+ | 2.1484 3.6217 -2.9797 C 0 0 0 0 0 | ||
+ | 2.9361 3.9126 -1.6942 C 0 0 0 0 0 | ||
+ | 2.0927 3.5769 -0.4557 C 0 0 0 0 0 | ||
+ | 1.6329 2.1120 -0.4898 C 0 0 0 0 0 | ||
+ | 0.8532 1.8102 -1.7778 C 0 0 0 0 0 | ||
+ | 2.5807 1.4887 -3.0652 H 0 0 0 0 0 | ||
+ | 1.0897 1.9711 -3.9430 H 0 0 0 0 0 | ||
+ | 1.2578 4.2927 -3.0282 H 0 0 0 0 0 | ||
+ | 2.7791 3.8474 -3.8727 H 0 0 0 0 0 | ||
+ | 3.8725 3.3053 -1.6844 H 0 0 0 0 0 | ||
+ | 3.2413 4.9861 -1.6685 H 0 0 0 0 0 | ||
+ | 1.2005 4.2467 -0.4224 H 0 0 0 0 0 | ||
+ | 2.6835 3.7700 0.4714 H 0 0 0 0 0 | ||
+ | 0.9957 1.8928 0.4002 H 0 0 0 0 0 | ||
+ | 2.5240 1.4426 -0.4294 H 0 0 0 0 0 | ||
+ | 0.5642 0.7322 -1.8031 H 0 0 0 0 0 | ||
+ | -0.0919 2.4039 -1.7878 H 0 0 0 0 0 | ||
+ | 1 2 1 0 0 0 | ||
+ | 1 6 1 1 0 0 | ||
+ | 1 7 1 0 0 0 | ||
+ | 1 8 1 6 0 0 | ||
+ | 2 3 1 1 0 0 | ||
+ | 2 9 1 0 0 0 | ||
+ | 2 10 1 6 0 0 | ||
+ | 3 4 1 1 0 0 | ||
+ | 3 11 1 0 0 0 | ||
+ | 3 12 1 0 0 0 | ||
+ | 4 5 1 0 0 0 | ||
+ | 4 13 1 0 0 0 | ||
+ | 4 14 1 1 0 0 | ||
+ | 5 6 1 6 0 0 | ||
+ | 5 15 1 1 0 0 | ||
+ | 5 16 1 0 0 0 | ||
+ | 6 17 1 0 0 0 | ||
+ | 6 18 1 0 0 0 | ||
+ | M END | ||
+ | </inlineContents> | ||
+ | </jmolApplet> | ||
+ | </jmol> | ||
+ | </td> | ||
+ | <td> | ||
+ | <jmol> | ||
+ | <jmolApplet> | ||
+ | <size>150</size> | ||
+ | <color>green</color> | ||
+ | <inlineContents> | ||
+ | |chair.mol | ||
+ | |Conformational analysis | ||
+ | |0 | ||
+ | | 18 18 0 0 0 1 V2000 | ||
+ | | 1.6881 2.1572 -3.0193 C 0 0 0 0 0 | ||
+ | | 2.1484 3.6217 -2.9797 C 0 0 0 0 0 | ||
+ | | 2.9361 3.9126 -1.6942 C 0 0 0 0 0 | ||
+ | | 2.0927 3.5769 -0.4557 C 0 0 0 0 0 | ||
+ | | 1.6329 2.1120 -0.4898 C 0 0 0 0 0 | ||
+ | | 0.8532 1.8102 -1.7778 C 0 0 0 0 0 | ||
+ | | 2.5807 1.4887 -3.0652 H 0 0 0 0 0 | ||
+ | | 1.0897 1.9711 -3.9430 H 0 0 0 0 0 | ||
+ | | 1.2578 4.2927 -3.0282 H 0 0 0 0 0 | ||
+ | | 2.7791 3.8474 -3.8727 H 0 0 0 0 0 | ||
+ | | 3.8725 3.3053 -1.6844 H 0 0 0 0 0 | ||
+ | | 3.2413 4.9861 -1.6685 H 0 0 0 0 0 | ||
+ | | 1.2005 4.2467 -0.4224 H 0 0 0 0 0 | ||
+ | | 2.6835 3.7700 0.4714 H 0 0 0 0 0 | ||
+ | | 0.9957 1.8928 0.4002 H 0 0 0 0 0 | ||
+ | | 2.5240 1.4426 -0.4294 H 0 0 0 0 0 | ||
+ | | 0.5642 0.7322 -1.8031 H 0 0 0 0 0 | ||
+ | | -0.0919 2.4039 -1.7878 H 0 0 0 0 0 | ||
+ | | 1 2 1 0 0 0 | ||
+ | | 1 6 1 1 0 0 | ||
+ | | 1 7 1 0 0 0 | ||
+ | | 1 8 1 6 0 0 | ||
+ | | 2 3 1 1 0 0 | ||
+ | | 2 9 1 0 0 0 | ||
+ | | 2 10 1 6 0 0 | ||
+ | | 3 4 1 1 0 0 | ||
+ | | 3 11 1 0 0 0 | ||
+ | | 3 12 1 0 0 0 | ||
+ | | 4 5 1 0 0 0 | ||
+ | | 4 13 1 0 0 0 | ||
+ | | 4 14 1 1 0 0 | ||
+ | | 5 6 1 6 0 0 | ||
+ | | 5 15 1 1 0 0 | ||
+ | | 5 16 1 0 0 0 | ||
+ | | 6 17 1 0 0 0 | ||
+ | | 6 18 1 0 0 0 | ||
+ | |M END | ||
+ | </inlineContents> | ||
+ | </jmolApplet> | ||
+ | </jmol> | ||
+ | </td> | ||
+ | </tr></table> | ||
+ | |||
== Using a pop-up window == | == Using a pop-up window == | ||
− | An image | + | An image used for illustration and a caption for requesting the Jmol model: |
− | |||
− | |||
{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 170px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; {{{extra-css|}}}" align="right" | {|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 170px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; {{{extra-css|}}}" align="right" |
Revision as of 20:42, 30 November 2008
This is a page for testing.
Jmol extension for MediaWiki
This uses uploadedFileContents
tag with an XYZ file:
Color atoms:
This one uses the inlineContents
tag, with straight data on the left and with added pipe characters (|) on the right:
|
|
Using a pop-up window
An image used for illustration and a caption for requesting the Jmol model: