Proteopedia:DIY:Templates

From Proteopedia

Jump to: navigation, search

Templates as a tool

Existing templates can be used in Proteopedia pages to call commonly used wiki-text or Jmol code. A good description of how to use them, with color templates, can be found here. Additional templates can be made, and you find a list of existing templates under All Pages.

This page is meant to be a resource for finding and using templates.


Contents

Surface display

Surface toggles

These 3 controls are inserted using templates:

· Toggle Surface ·

Note to Wiki admin's: for the checkboxes to work, you must add a function setupCheckboxShiftClick() that overrides the one included in wikibits.js

Surface fade templates

Ready to use anywhere easily:

Fade surface to invisible (basic)

Fade surface to invisible (with fancy cartoons)

Fancy, high-quality cartoons on/off

Fade back to surface opaque

As buttons:

(basic)

(with fancy cartoons)

Surface fade code-in-page versions

While not templates, carry out similar functions as the `Surface Fade` templates and may be useful for further development or as examples of using Jmol coding in Proteopedia pages.

Fade surface to invisible (basic)

Fade surface to invisible (with fancy cartoons)

Fade back to surface opaque


Atom rendering style

These controls are not templates, but inserted directly as wiki extension tags:

 

Label handling

Turn off labels. (No-demo made yet.)

Color handling

Additional examples not listed there:

(No-demo made yet.)

(No-demo made yet.)

protein - `protein` darkened for light backgrounds


Surface to test templates

Drag the structure with the mouse to rotate


See Also

Proteopedia Page Contributors and Editors (what is this?)

Wayne Decatur, Karsten Theis, Angel Herraez, Jaime Prilusky

Personal tools