User talk:Angel Herraez

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
(notes for the future)
Current revision (10:18, 30 August 2018) (edit) (undo)
(notes for the future)
 
Line 18: Line 18:
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?
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]]
-
NONSENSE!
+

Current revision

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