Proteopedia:Cookbook

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
<pre><qt>file=film.mov|width=320|height=240|autoplay=false|controller=true</qt></pre>
<pre><qt>file=film.mov|width=320|height=240|autoplay=false|controller=true</qt></pre>
Shows the movie with the with a width of 320 and a height of 240 pixels that does not play when loaded, but waits for the user to click on the play button.
Shows the movie with the with a width of 320 and a height of 240 pixels that does not play when loaded, but waits for the user to click on the play button.
 +
 +
<b>Attribute Reference</b><br>
 +
* '''width'''=px or % ''(Modify the width of the object)''
 +
* '''height'''=px or a% ''(Modify the height of the object)''
 +
* '''autoplay'''=true/false ''(Start playing the file or wait at first frame, default:true)''
 +
* '''controller'''=true/false ''(Show the controller, default:true)''
 +
[edit]
[edit]

Revision as of 17:26, 9 July 2009

Contents

Quicktime .mov

<qt>file=film.mov|width=320|height=240|autoplay=true</qt>

Shows the movie with the with a width of 320 and a height of 240 pixels that starts playing as soon as its loaded.

<qt>file=film.mov|width=320|height=240|autoplay=false|controller=true</qt>

Shows the movie with the with a width of 320 and a height of 240 pixels that does not play when loaded, but waits for the user to click on the play button.

Attribute Reference

  • width=px or % (Modify the width of the object)
  • height=px or a% (Modify the height of the object)
  • autoplay=true/false (Start playing the file or wait at first frame, default:true)
  • controller=true/false (Show the controller, default:true)


[edit]

Quiz

The special implementation of Quiz in Proteopedia includes an email feedback to the teacher. See full explanation and examples on How To Use at Help:Quiz

<quiz display=simple>
{  
|type="{}"}
Name a famous Greek philosopher. 
{ Aristotle|Plato }

{Question
|type="[]"}
+ Correct answer.
- Incorrect answer.
+ Correct answer.
- Incorrect answer.
</quiz>

Imagemaps

In the image map below, clicking on the computer screen should lead you to 2ace, the keyboard to 1rat,
and the thinking balloon to Believe It or Not!. A click on the person's head goes to the external article on Student at Wikipedia.
The (i) goes to the image info.

2ace1rathttp://en.wikipedia.org/wiki/StudentBelieve It or Not!
picture of a fooAbout this image
<imagemap>
Image:Foo.jpg|200px|picture of a foo
poly 131 45 213 41 210 110 127 109 [[2ace]]
poly 104 126 105 171 269 162 267 124 [[1rat]]
rect 15 95 94 176   [http://en.wikipedia.org/wiki/Student]
# A comment, this line is ignored
circle 57 57 20    [[Believe_It_or_Not!]]
desc bottom-left
</imagemap>

Here's a nice tool for finding the coordinates in an image.

Theoretical Models

On pages describing theoretical model structures, please insert this on the top {{Theoretical_model}} to generate this banner:

Theoretical Model: The protein structure described on this page was determined theoretically, and hence should be interpreted with caution.

Floating quote Box

Alice's Adventures in Wonderland by Lewis Carroll
Project Gutemberg

There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, `Oh dear! Oh dear! I shall be late!' (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge.

{{Quote box
 | quote  =
 | source =
 | width  =
 | align  =
}}

Link external sites from Jmol applet's CAPTION

Template:STRUCTURE 1stf

Flash

This loads a local .swf file. The interactive feature works fine. Click buttons and slide controls to try. <swf width="400" height="300">/wiki/images/8/8c/7_scrolling.swf</swf>

Personal tools