Help:Editing: Difference between revisions
From Proteopedia
Jump to navigationJump to search
Eran Hodis (talk | contribs) mNo edit summary |
Eran Hodis (talk | contribs) No edit summary |
||
| 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= | |||
Specify a PDB code (ex: load= | ====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". | |||