Proteopedia:DIY:Templates

Revision as of 16:20, 16 February 2021 by Karsten Theis (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.


Surface display

Surface toggles

These 3 controls are inserted using templates:

· ·

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:

(basic)

(with fancy cartoons)

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.

(basic)

(with fancy cartoons)


Atom rendering style

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

Label handling

(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 AlsoSee Also

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky, Wayne Decatur, Angel Herraez, Karsten Theis