This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.
Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.




Template:Scene button

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
(New page: <jmol> <jmolButton> <script>script /scripts/{{{1}}}.spt; {{{2}}}</script> <text>Lysozyme</text> </jmolButton> </jmol>)
Current revision (16:59, 4 May 2021) (edit) (undo)
 
(3 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/{{{1}}}.spt;
+
<script>script /scripts/{{{2}}}.spt;
-
{{{2}}}</script>
+
{{{3}}}</script>
-
<text>Lysozyme</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

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools