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 2: Line 2:
 
==GalleryImageTest Template==
 
==GalleryImageTest Template==
 
'''Usage:'''
 
'''Usage:'''
This is the current incarnation of the GalleryImage template.
+
<source lang=css>
This is only a test
+
{{GalleryImageTest
 
+
| title=theTitle
<nowiki>{{GalleryImageTest</nowiki><br><nowiki>
+
| image=[[ImageName.png]]
| title=theTitle</nowiki><br><nowiki>
+
| description=theDescription
| image=[[ImageName.png]]</nowiki><br><nowiki>
+
| seeAlso=seeAlso
| description=theDescription</nowiki><br><nowiki>
+
| cmdString=commandString
| seeAlso=seeAlso </nowiki><br><nowiki>
 
| cmdString=commandString </nowiki><br><nowiki>
 
 
}}
 
}}
</nowiki>
+
</source>
* '''ImageName.png''' is the name of the image
+
* '''ImageName.png''' is the name of the image (the image should already be in the wiki)
 
* '''theTitle''' is the title you would like at the top of your 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
 
* '''theDescription''' is the description you would like added to your image
Line 19: Line 17:
 
* '''seeAlso''' can include quick links to commands used.
 
* '''seeAlso''' can include quick links to commands used.
 
* the order of these variables does not matter.
 
* the order of these variables does not matter.
 +
 
==Example==
 
==Example==
 
<br>
 
<br>

Revision as of 15:01, 26 August 2008

GalleryImageTest Template

Usage:

{{GalleryImageTest
| title=theTitle
| image=[[ImageName.png]]
| description=theDescription
| seeAlso=seeAlso
| cmdString=commandString
}}
  • ImageName.png is the name of the image (the image should already be in the wiki)
  • 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}}}