This is a read-only mirror of pymolwiki.org

Difference between revisions of "Template:GalleryImageTest"

From PyMOL Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
<nowiki>{{GalleryImageTest</nowiki><br><nowiki>
 
<nowiki>{{GalleryImageTest</nowiki><br><nowiki>
 +
| title=theTitle</nowiki><br><nowiki>
 
| image=[[ImageName.png]]</nowiki><br><nowiki>
 
| image=[[ImageName.png]]</nowiki><br><nowiki>
| title=theTitle</nowiki><br><nowiki>
 
 
| description=theDescription</nowiki><br><nowiki>
 
| description=theDescription</nowiki><br><nowiki>
 +
| seeAlso=seeAlso </nowiki><br><nowiki>
 
| cmdString=commandString </nowiki><br><nowiki>
 
| cmdString=commandString </nowiki><br><nowiki>
| seeAlso=seeAlso </nowiki><br><nowiki>
 
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 17: Line 17:
 
* '''theDescription''' is the description you would like added to your image
 
* '''theDescription''' is the description you would like added to your image
 
* '''cmdString''' are the commands used to create the image. You can use '''<nowiki><source lang="python">...</source></nowiki>''' within this area to prettify your PyMOL commands.
 
* '''cmdString''' are the commands used to create the image. You can use '''<nowiki><source lang="python">...</source></nowiki>''' within this area to prettify your PyMOL commands.
* seeAlso can include quick links to commands used.
+
* '''seeAlso''' can include quick links to commands used.
 +
* the order of these variables does not matter.
 
==Example==
 
==Example==
 
<br>
 
<br>
Line 28: Line 29:
 
|<!-- 'Description' section (shows up below the image)-->
 
|<!-- 'Description' section (shows up below the image)-->
 
description=This is the description.
 
description=This is the description.
|<!-- 'See Also' section (shows up below the image)-->
 
seeAlso=
 
* [[Main_Page|PyMOLWiki]]
 
* [[template:GalleryImage|GalleryImage template]]
 
 
|<!-- 'What to Type' section -->
 
|<!-- 'What to Type' section -->
 
cmdString=<source lang="python">
 
cmdString=<source lang="python">
 
many pymol commands
 
many pymol commands
 
</source>
 
</source>
You can put other text also.
+
You can put other text also.<br>
 
'''Bold text'''<br>
 
'''Bold text'''<br>
 
''Italic text''<br>
 
''Italic text''<br>
 
* even bulleted lists!
 
* even bulleted lists!
 +
|<!-- 'See Also' section (shows up below the image)-->
 +
seeAlso=
 +
* [[Main_Page|PyMOLWiki]]
 +
* [[template:GalleryImage|GalleryImage template]]
 
}}
 
}}
  

Revision as of 14:55, 26 August 2008

GalleryImageTest Template

Usage: This is the current incarnation of the GalleryImage template. This is only a test

{{GalleryImageTest
| title=theTitle
| image=[[ImageName.png]]
| description=theDescription
| seeAlso=seeAlso
| cmdString=commandString
}}

  • ImageName.png is the name of the image
  • theTitle is the title you would like at the top of your image
  • theDescription is the description you would like added to your image
  • cmdString are the commands used to create the image. You can use <source lang="python">...</source> within this area to prettify your PyMOL commands.
  • seeAlso can include quick links to commands used.
  • the order of these variables does not matter.

Example


This is the title What To Type
BW raytraced complex image.jpg
Description
This is the description.


See Also
many pymol commands

You can put other text also.
Bold text
Italic text

  • even bulleted lists!


Template

{{{title}}} What To Type
[[Image:{{{image}}}|200px]]
Description
{{{description}}}


See Also

{{{seeAlso}}}

{{{cmdString}}}