Jmol/Interactivity: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
As a shortcut, you can use a template that inserts the code for you by entering: | As a shortcut, you can use a template that inserts the code for you by entering: | ||
<nowiki> | <nowiki> | ||
{{subst:Scene button|37/376372/Overall/3|hide water; set zshade off}}</nowiki> | {{subst:Scene button|Lysozyme|37/376372/Overall/3|hide water; set zshade off}}</nowiki> | ||
The string behind the first vertical line (the first parameter) is the | The string behind the first vertical line (the first parameter) is the button label, the string behind the second vertical line (the second parameter) is the scene like given by the SAT, and the string behind the third vertical line (the third parameter is the list of commands called right after the scene is loaded. Once you type this (or paste it) into the editor and save it, the code above will be inserted. You can learn more about templates at [https://www.mediawiki.org/wiki/Help:Templates]. | ||
===Link=== | ===Link=== | ||