Template:GalleryImageTest: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
==GalleryImageTest Template== | ==GalleryImageTest Template== | ||
'''Usage:''' | '''Usage:''' | ||
<source lang=css> | |||
{{GalleryImageTest | |||
| title=theTitle | |||
< | | image=[[ImageName.png]] | ||
| title=theTitle | | description=theDescription | ||
| image=[[ImageName.png]] | | seeAlso=seeAlso | ||
| description=theDescription | | cmdString=commandString | ||
| seeAlso=seeAlso | |||
| cmdString=commandString | |||
}} | }} | ||
</ | </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 10: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 | |||||
|
many pymol commands
You can put other text also.
|
Template
{{{title}}} | What To Type | |||||
|
{{{cmdString}}} |