Difference between revisions of "User:Bduke"

From Jmol
Jump to navigation Jump to search
(An example of how a molecule might be shown on Wikipedia: add title)
(fmt and comment out most of the failing images)
Line 31: Line 31:
 
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.
 
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>.
+
On Wikipedia the paragraph could be lengthened to fit the image by using the template <nowiki>{{clear}}</nowiki>, now installed here.
 
+
{{clear}}
 
==Staggered and eclipsed ethane==
 
==Staggered and eclipsed ethane==
  
Line 143: Line 143:
 
</center>
 
</center>
  
 +
Some examples that do not work are commented out below. Feel free to edit this page to look at them.
 +
 +
<!--
 
==wikiPageContent Test from this server==
 
==wikiPageContent Test from this server==
  
Line 152: Line 155:
 
<wikiPageContents>User:Bduke/ethane-s.pdb</wikiPageContents>
 
<wikiPageContents>User:Bduke/ethane-s.pdb</wikiPageContents>
 
</jmolApplet></jmol></center>
 
</jmolApplet></jmol></center>
 
+
-->
 +
<!--
 
==urlContent Test from a different server - does not work==
 
==urlContent Test from a different server - does not work==
  
Line 161: Line 165:
 
<urlContents>http://magog.vcp.monash.edu.au/pictures/dave1.pdb</urlContents>
 
<urlContents>http://magog.vcp.monash.edu.au/pictures/dave1.pdb</urlContents>
 
</jmolApplet></jmol></center>
 
</jmolApplet></jmol></center>
 
+
-->
 +
<!--
 
==Alchemy file - does not work - not an allowed type in Jmol==
 
==Alchemy file - does not work - not an allowed type in Jmol==
  
Line 211: Line 216:
 
   21    13    21  SINGLE
 
   21    13    21  SINGLE
 
</inlineContents></jmolApplet></jmol></center>
 
</inlineContents></jmolApplet></jmol></center>
 +
-->

Revision as of 07:10, 14 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

Staggered ethane

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 {{clear}}, now installed here.

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

Some examples that do not work are commented out below. Feel free to edit this page to look at them.