Template:Jmol general

From SklogWiki
Revision as of 13:12, 28 August 2008 by Carl McBride (talk | contribs)
Jump to navigation Jump to search

Useage: {{Jmol_general|File.etc|Caption}}

Example:


<jmol>

 <jmolApplet>
 <script>set spin X 10; spin on</script>
 <size>200</size>
 <color>lightgrey</color>
   <wikiPageContents>

</wikiPageContents>

</jmolApplet>
</jmol>
Methane

THIS TEMPLATE DOES NOT WORK. 1 is not substituted in the <wikiPageContents>{{{1}}}</wikiPageContents> container. wikiPageContents takes {{{1}}} literally. Not sure how to change this, perhaps in Jmol.body.php?


<jmol>

 <jmolApplet>
 <script>set spin X 10; spin on</script>
 <size>200</size>
 <color>lightgrey</color>
   <wikiPageContents>{{{1}}}</wikiPageContents>
</jmolApplet>
</jmol>
{{{2}}}