Template:Scene button
From Proteopedia
(Difference between revisions)
(2 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | <jmol> | + | This is a template to open a new scene, followed by some Jmol commands to alter the scence. Use the "edit this page tab" to see the code of the template. Check the wikimedia documentation about details of writing and using templates. This template has two parameters and is explained at [[Jmol/Interactivity#Button]] <onlyinclude><jmol> |
<jmolButton> | <jmolButton> | ||
<script>script /scripts/{{{2}}}.spt; | <script>script /scripts/{{{2}}}.spt; | ||
Line 5: | Line 5: | ||
<text>{{{1}}}</text> | <text>{{{1}}}</text> | ||
</jmolButton> | </jmolButton> | ||
- | </jmol> | + | </jmol></onlyinclude> |
Current revision
This is a template to open a new scene, followed by some Jmol commands to alter the scence. Use the "edit this page tab" to see the code of the template. Check the wikimedia documentation about details of writing and using templates. This template has two parameters and is explained at Jmol/Interactivity#Button