Difference between revisions of "User:Bduke"

From Jmol
Jump to navigation Jump to search
(put back failed ones)
(Add PopUp button test & an example of how it might look on Wikipedia)
Line 3: Line 3:
 
*[http://wiki.jmol.org:81/index.php?title=Special%3ALog&type=upload&user=Bduke&page= My upload log]
 
*[http://wiki.jmol.org:81/index.php?title=Special%3ALog&type=upload&user=Bduke&page= My upload log]
  
==Tests of Jmol incorporated into a MediaWiki wiki==  
+
=Tests of Jmol incorporated into a MediaWiki wiki=  
  
===Staggered and eclipsed ethane===
+
==Test of PopUp window==
  
These are pdb files generated by Sybyl for staggered and eclipsed ethane. Use the buttons and the menu that comes up by right mouse clicking on the image to manipulate the images. The left mouse can be used to move the image.
+
<center><jmol><jmolAppletButton><title>Show staggered ethane in popup window</title><color>gray</color>
 +
<uploadedFileContents>ethane_s.pdb</uploadedFileContents></jmolAppletButton>
 +
</jmol></center>
 +
 
 +
==An example of how a molecule might be shown on Wikipedia==
 +
 
 +
{|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"
 +
|-
 +
|<center>
 +
<jmol><jmolApplet>
 +
<name>ethane_s</name><color>red</color><size>150</size>
 +
<uploadedFileContents>ethane_s.pdb</uploadedFileContents>
 +
</jmolApplet>
 +
</jmol></center>
 +
|-
 +
|}
 +
This is an example of how a molecule might be displayed on Wikipedia, with the text raping to the left of a box with a Jmol image in it.
 +
 
 +
The PopUp formula would also be a good way with the pop up box in the chemical infobox. This would leave viewing the molecule to the reader. It woud not appear when opening the page.
 +
 
 +
While there are several ways of having the data file, it seems to me that on Wikipedia the easiest and most suitable would be to have them uploaded like images. Preferable they could be uploaded to Commons but the current extension would not, I believe, accept that.
 +
 
 +
On Wikipedia the paragraph could be lengthened to fit the image by using the template <nowiki>{{-}}</nowiki>.
 +
 
 +
==Staggered and eclipsed ethane==
 +
 
 +
These are pdb files generated by Sybyl for staggered and eclipsed ethane. They use uploadedFileContents type for the data. Use the buttons and the menu that comes up by right mouse clicking on the image to manipulate the images. The left mouse can be used to move the image.
  
 
<center>
 
<center>
Line 31: Line 57:
 
</center>
 
</center>
  
These used to work but no longer do so.
+
These inlineContents examples used to work but no longer do so.
  
 
<center>
 
<center>
Line 99: Line 125:
 
</center>
 
</center>
  
===Artemisinin.pdb uploaded===
+
==Artemisinin.pdb uploaded==
  
 
<center>
 
<center>
Line 115: Line 141:
 
</center>
 
</center>
  
===wikiPageContent Test from this server===
+
==wikiPageContent Test from this server==
  
 
This seems to be not supported on this wiki.
 
This seems to be not supported on this wiki.
Line 125: Line 151:
 
</jmolApplet></jmol></center>
 
</jmolApplet></jmol></center>
  
===urlContent Test from a different server - does not work===
+
==urlContent Test from a different server - does not work==
  
 
<center>
 
<center>
Line 134: Line 160:
 
</jmolApplet></jmol></center>
 
</jmolApplet></jmol></center>
  
===Alchemy file - does not work===
+
==Alchemy file - does not work - not an allowed type in Jmol==
  
 
<center>
 
<center>

Revision as of 08:44, 12 December 2007

Interested in Jmol in general and in particular right now about adding Jmol images to Wikis, particularly Wikipedia.

Tests of Jmol incorporated into a MediaWiki wiki

Test of PopUp window

An example of how a molecule might be shown on Wikipedia

This is an example of how a molecule might be displayed on Wikipedia, with the text raping to the left of a box with a Jmol image in it.

The PopUp formula would also be a good way with the pop up box in the chemical infobox. This would leave viewing the molecule to the reader. It woud not appear when opening the page.

While there are several ways of having the data file, it seems to me that on Wikipedia the easiest and most suitable would be to have them uploaded like images. Preferable they could be uploaded to Commons but the current extension would not, I believe, accept that.

On Wikipedia the paragraph could be lengthened to fit the image by using the template {{-}}.

Staggered and eclipsed ethane

These are pdb files generated by Sybyl for staggered and eclipsed ethane. They use uploadedFileContents type for the data. Use the buttons and the menu that comes up by right mouse clicking on the image to manipulate the images. The left mouse can be used to move the image.

        

These inlineContents examples used to work but no longer do so.

        

Artemisinin.pdb uploaded

wikiPageContent Test from this server

This seems to be not supported on this wiki.

urlContent Test from a different server - does not work

Alchemy file - does not work - not an allowed type in Jmol