User:Wayne Decatur/Biochem642 Sandbox Steps: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
***Next is wikitext beginning with '<applet' and ending by being closed with '/>'. All the text between '<applet' and '>/' just specifies the parameters of how to set up and what to show in the Jmol applet window where you saw the 1d66 structure spinning. | ***Next is wikitext beginning with '<applet' and ending by being closed with '/>'. All the text between '<applet' and '>/' just specifies the parameters of how to set up and what to show in the Jmol applet window where you saw the 1d66 structure spinning. | ||
***Finally, there is the text that tells the page how to display the instructions I set up for you. We will return to this block of text later. | ***Finally, there is the text that tells the page how to display the instructions I set up for you. We will return to this block of text later. | ||
**For now we are just going to change the 'Your' in the title text to read the possessive of your name, for example the line specifying the title on my page would read:<br> <nowiki>==Wayne Decatur's Problem Set Scenes==</nowiki> | **For now we are just going to change the 'Your' in the title text to read the possessive of your name, for example the line specifying the title on my page would read:<br> <nowiki>==Wayne Decatur's Problem Set Scenes==</nowiki> | ||
**Once you have change the text in the editing window, look below the editing window (you may need to scroll your browser page down), and click the 'Save Page' button. | **Once you have change the text in the editing window, look below the editing window (you may need to scroll your browser page down), and click the 'Save Page' button. | ||
**'''Congratulations, you just edited your first Proteopedia page!''' | **'''Congratulations, you just edited your first Proteopedia page!''' | ||
| Line 37: | Line 37: | ||
**Note that at the end of this block of text and flanked by nowiki tags to tell the page not to process it as normal wikitext is wikitext for a 3D Jmol applet window very similar to what we saw above; '''however, there is a significant difference: the scene parameter has been added in front of the caption parameter'''. | **Note that at the end of this block of text and flanked by nowiki tags to tell the page not to process it as normal wikitext is wikitext for a 3D Jmol applet window very similar to what we saw above; '''however, there is a significant difference: the scene parameter has been added in front of the caption parameter'''. | ||
**In between the single quotes for the scene parameter is the name of a dummy scene; there is no real scene corresponding to this name. | **In between the single quotes for the scene parameter is the name of a dummy scene; there is no real scene corresponding to this name. | ||
* | *In the edit window, the wikitext for the currently active Jmol applet window right now reads : <br> <nowiki><applet load='1d66' size='300' frame='true' align='right' caption='Your caption here.' /></nowiki> | ||
*Add a scene parameter tag to the 3D applet window information wikitext by copying the text from the sample one and pasting it in the wikitext for the active one just in front of 'caption'. Note: the one you pasted isn't a real scene name though! It will now resemble:<br> <nowiki><applet load='1d66' size='300' frame='true' align='right' scene='Sandbox/TestScene/1' caption='Your caption here.' /></nowiki> | |||
*You need to get your scene information in the Jmol window by changing the dummy name to the name of your scene: | *You need to get your scene information in the Jmol window by changing the dummy name to the name of your scene: | ||
**Copy the name of your scene from the wikitext you pasted before that made the green link. Just copy the name that is between the sing quotes. | **Copy the name of your scene from the wikitext you pasted before that made the green link. Just copy the name that is between the sing quotes. | ||
**Replace the dummy text between the single quotes of the name parameter of the wikitext for the Jmol applet window with your scenes name by now pasting it between those single quotes. It will now resemble:<br> <nowiki><applet load='1d66' size='400' frame='true' align='right' scene='SandboxNUMBER/YOURSceneHERE/1' caption='Your caption here.' /></nowiki> | **Replace the dummy text between the single quotes of the name parameter of the wikitext for the Jmol applet window with your scenes name by now pasting it between those single quotes. It will now resemble:<br> <nowiki><applet load='1d66' size='400' frame='true' align='right' scene='SandboxNUMBER/YOURSceneHERE/1' caption='Your caption here.' /></nowiki> | ||
**Press 'Save the page' below. | **Press 'Save the page' below. | ||
*'''Your scene should now come up automatically when the page starts up!''' | *'''Your scene should now come up automatically when the page starts up!''' | ||