This is a read-only mirror of pymolwiki.org
Difference between revisions of "Template:GalleryImageTest"
Jump to navigation
Jump to search
m (59 revisions) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
==GalleryImageTest Template== | ==GalleryImageTest Template== | ||
'''Usage:''' | '''Usage:''' | ||
− | + | <source lang=css> | |
− | + | {{GalleryImageTest | |
+ | | title=theTitle | ||
+ | | image=[[ImageName.png]] | ||
+ | | description=theDescription | ||
+ | | seeAlso=seeAlso | ||
+ | | cmdString=commandString | ||
+ | }} | ||
+ | </source> | ||
+ | * '''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 '''<nowiki><source lang="python">...</source></nowiki>''' within this area to prettify your PyMOL commands | ||
+ | * '''seeAlso''' can include quick links to commands used | ||
+ | * the order of these variables does not matter | ||
+ | * images are resized to 200px mainly to make columns line up better | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Example== | ==Example== | ||
<br> | <br> | ||
Line 32: | Line 33: | ||
many pymol commands | many pymol commands | ||
</source> | </source> | ||
− | You can put other text also. | + | You can put other text also.<br> |
− | '''Bold text''' | + | '''Bold text'''<br> |
− | ''Italic text'' | + | ''Italic text''<br> |
− | * bulleted lists | + | * even bulleted lists! |
− | + | |<!-- 'See Also' section (shows up below the image)--> | |
− | |<!-- 'See Also' section --> | ||
seeAlso= | seeAlso= | ||
* [[Main_Page|PyMOLWiki]] | * [[Main_Page|PyMOLWiki]] | ||
Line 62: | Line 62: | ||
{{{cmdString}}} | {{{cmdString}}} | ||
|} | |} | ||
− | < | + | <hr> |
Latest revision as of 00:50, 28 March 2014
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
- images are resized to 200px mainly to make columns line up better
Example
This is the title | What To Type | |||||
|
many pymol commands
You can put other text also.
|
Template
{{{title}}} | What To Type | |||||
|
{{{cmdString}}} |