Template:Jmol general: Difference between revisions
Jump to navigation
Jump to search
Carl McBride (talk | contribs) m (Comment on why this template is broken) |
Carl McBride (talk | contribs) m (Added category: template.) |
||
Line 24: | Line 24: | ||
|- | |- | ||
|} | |} | ||
<noinclude>[[category: Template]]</noinclude> |
Revision as of 15:04, 17 September 2008
Useage: {{Jmol_general|File.etc|Caption}}
THIS TEMPLATE DOES NOT WORK.
I do not know how to (or even if it is possible) to pass template arguments to <wikiPageContents>.
I.e. 1 is not substituted in the <wikiPageContents>{{{1}}}</wikiPageContents> container.
wikiPageContents takes {{{1}}} literally. Not sure how to change this, perhaps a small rewriting in Jmol.body.php? -- Carl McBride (talk) 13:28, 28 August 2008 (CEST)
<jmol> <jmolApplet> <script>set spin X 10; spin on</script> <size>200</size> <color>lightgrey</color> <wikiPageContents>{{{1}}}</wikiPageContents> </jmolApplet></jmol> |