Template:GalleryImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
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 41: | Line 41: | ||
* [[Main_Page|PyMOLWiki]] | * [[Main_Page|PyMOLWiki]] | ||
* [[template:GalleryImage|GalleryImage template]] | * [[template:GalleryImage|GalleryImage template]] | ||
* [[template:GalleryImageTest|GalleryImageTest template]] | |||
}} | }} | ||
==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 64: | ||
{{{cmdString}}} | {{{cmdString}}} | ||
|} | |} | ||
Latest revision as of 10:23, 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}}} |