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