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.


User talk:Angel Herraez

From Proteopedia

Jump to: navigation, search

Compatibility of JmolExtension tags and wiki templates

Proposal for extended tags: accept extra parameters

The tag would be used like this:

< jmol >
 <jmolCheckbox>
   <par1> Selection|all </par1>
   <par2> Name|Everything </par2>
   <scriptWhenChecked>display displayed or $$1 </scriptWhenChecked>
   <scriptWhenUnchecked>hide $$1 </scriptWhenUnchecked>
   <checked>true</checked> 
   <text> $$2 </text>
 </jmolCheckbox>
< /jmol >

And the extension would replace $$1, $$2, etc. with the contents of the par1, par2, etc. tags - which must come from the template parameters, how?

example: Template:Checkbox_hide_unhide

Personal tools