Help:Editing

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
m
Line 7: Line 7:
Each X represents a parameter that you enter (ex: <nowiki><applet load="1ea5" size="300" color="white" frame="true" align="right" caption="testcaption" /></nowiki>).
Each X represents a parameter that you enter (ex: <nowiki><applet load="1ea5" size="300" color="white" frame="true" align="right" caption="testcaption" /></nowiki>).
 +
 +
The order of the parameters does not matter.
Explanations follow:
Explanations follow:
-
====load='X'====
+
 
-
Specify a PDB code (ex: load='2ace') to have the applet load the protein with the matching PDB code from the PDB database. Specify a file name (ex: load='2ace.pdb') to have the applet load the file from Proteopedia's uploaded files. If your desired file is not in the PDB database and not yet uploaded to Proteopedia, you may upload it here [[Special:Upload]].
+
====load="X"====
 +
Specify a PDB code (ex: load="2ace") to have the applet load the protein with the matching PDB code from the PDB database. Specify a file name (ex: load="2ace.pdb") to have the applet load the file from Proteopedia's uploaded files. If your desired file is not in the PDB database and not yet uploaded to Proteopedia, you may upload it here [[Special:Upload]].
 +
====size="X"====
 +
This is the size in pixels of the applet's height and width. It will be square.
 +
====color="X"====
 +
Background color.
 +
====frame="X"====
 +
If this value is not "false" then the Jmol applet will appear on the page surrounded by a frame similar to inserting in image in wikitext and using its "frame" parameter like so: <nowiki>[[Image:someImageName.jpg|frame|someCaption]]</nowiki>. If frame is set to false than no caption can be displayed.
 +
====align="X"====
 +
Determines where on the page the Jmol applet should appear. align="right" would have it right-aligned. Options include "left" and "center".
 +
====caption="X"====
 +
This is what will appear under the Jmol applet if frame is not set to "false".

Revision as of 13:54, 9 October 2007

Contents

For edits not involving Proteopedia scenes

Please visit http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet, as they have a much more complete help reference dealing with wikitext, and Proteopedia uses the same wiki software.

Proteopedia Scenes and Applets

Jmol applets

To insert a Jmol applet, type <applet load="X" size="X" color="X" frame="X" align="X" caption="X" />

Each X represents a parameter that you enter (ex: <applet load="1ea5" size="300" color="white" frame="true" align="right" caption="testcaption" />).

The order of the parameters does not matter.

Explanations follow:

load="X"

Specify a PDB code (ex: load="2ace") to have the applet load the protein with the matching PDB code from the PDB database. Specify a file name (ex: load="2ace.pdb") to have the applet load the file from Proteopedia's uploaded files. If your desired file is not in the PDB database and not yet uploaded to Proteopedia, you may upload it here Special:Upload.

size="X"

This is the size in pixels of the applet's height and width. It will be square.

color="X"

Background color.

frame="X"

If this value is not "false" then the Jmol applet will appear on the page surrounded by a frame similar to inserting in image in wikitext and using its "frame" parameter like so: [[Image:someImageName.jpg|frame|someCaption]]. If frame is set to false than no caption can be displayed.

align="X"

Determines where on the page the Jmol applet should appear. align="right" would have it right-aligned. Options include "left" and "center".

caption="X"

This is what will appear under the Jmol applet if frame is not set to "false".

Personal tools