This is a read-only mirror of pymolwiki.org
Difference between revisions of "Template:GalleryImage"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
'''Usage:''' | '''Usage:''' | ||
<source lang=css> | <source lang=css> | ||
− | {{ | + | {{GalleryImage |
| title=theTitle | | title=theTitle | ||
| image=[[ImageName.png]] | | image=[[ImageName.png]] | ||
Line 21: | Line 21: | ||
==Example== | ==Example== | ||
<br> | <br> | ||
− | {{ | + | {{GalleryImage |
<!-- This creates a row entry for the Gallery section --> | <!-- This creates a row entry for the Gallery section --> | ||
|<!-- Image --> | |<!-- Image --> | ||
Line 45: | Line 45: | ||
==Template== | ==Template== | ||
</noinclude> | </noinclude> | ||
+ | <hr> | ||
{| align=left; width=100%; | {| align=left; width=100%; | ||
|- style="font-weight:bold; color:#333; font-size:125%; font-style:italic; text-align:center;" | |- style="font-weight:bold; color:#333; font-size:125%; font-style:italic; text-align:center;" | ||
Line 62: | Line 63: | ||
{{{cmdString}}} | {{{cmdString}}} | ||
|} | |} | ||
− |
Revision as of 15:07, 26 August 2008
GalleryImageTest Template
Usage:
{{GalleryImage
| 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}}} |