Template:Jmol general: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
2 = Methane |
2 = 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?
</noinclude>
</noinclude>



Revision as of 13:12, 28 August 2008

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}}}