Proteopedia:Looking inside a page
From Proteopedia
(New page: While browsing Proteopedia, if you hit the 'edit this page' upper tab, your screen will display the raw content of a page instead of the nice rendered representation. Let's see what some o...) |
|||
(7 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | While browsing Proteopedia, if you hit the 'edit this page' upper tab, your screen will display the raw content of a page instead of the nice rendered representation. Let's see what some of | + | While browsing Proteopedia, if you hit the 'edit this page' upper tab, your screen will display the raw content of a page instead of the nice rendered representation. Most conspicuous are the ''tags'', delimited between < > characters. These tags are not displayed as they are on the page, but interpreted by Proteopedia's engine to generate special features. |
+ | |||
+ | A pair of open/close tags are used to define a structure. Let's see what some of the special structures mean: | ||
==Green link== | ==Green link== | ||
- | '''<scene name="/12/3456/Sample/1">aminoácidos</scene>'''<br> | + | '''<scene name="/12/3456/Sample/1">'''aminoácidos'''</scene>'''<br> |
- | This is the | + | This is the notation that renders green links, and that enables to elicit the display of a saved scene. In this example, the scene loaded will be '''/12/3456/Sample/1''' and the word '''aminoácidos''' will be shown as the green link. |
==Single applet and scrolling text== | ==Single applet and scrolling text== | ||
- | '''<StructureSection load='1stp' size='340' side='right' caption='Caption for this structure' scene=''>'''<br> | + | '''<StructureSection load='1stp' size='340' side='right' caption='Caption for this structure' scene='/12/3456/Sample/1'>'''<br> |
- | '''</StructureSection>''' | + | '''</StructureSection>'''<br> |
+ | |||
+ | When this is found in a page, Proteopedia will render a scrolling text area, with an applet located on its left or right depending on the value provided in the '''side=''' attribute and with the size give in '''size='''. The optional text in '''caption=''' will be displayed under the applet. You may add the '''title=''' attribute, as in ''title='This is the title' '', that will be drawn on top of the applet. | ||
+ | |||
+ | At loading time, the apple will render the scene named in the '''scene=''' attribute. If no scene name is provided, then the applet will load the structure whose PDB id or file name is in '''load='''. |
Current revision
While browsing Proteopedia, if you hit the 'edit this page' upper tab, your screen will display the raw content of a page instead of the nice rendered representation. Most conspicuous are the tags, delimited between < > characters. These tags are not displayed as they are on the page, but interpreted by Proteopedia's engine to generate special features.
A pair of open/close tags are used to define a structure. Let's see what some of the special structures mean:
Green link
<scene name="/12/3456/Sample/1">aminoácidos</scene>
This is the notation that renders green links, and that enables to elicit the display of a saved scene. In this example, the scene loaded will be /12/3456/Sample/1 and the word aminoácidos will be shown as the green link.
Single applet and scrolling text
<StructureSection load='1stp' size='340' side='right' caption='Caption for this structure' scene='/12/3456/Sample/1'>
</StructureSection>
When this is found in a page, Proteopedia will render a scrolling text area, with an applet located on its left or right depending on the value provided in the side= attribute and with the size give in size=. The optional text in caption= will be displayed under the applet. You may add the title= attribute, as in title='This is the title' , that will be drawn on top of the applet.
At loading time, the apple will render the scene named in the scene= attribute. If no scene name is provided, then the applet will load the structure whose PDB id or file name is in load=.