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:'''
incorrect usage, see page code to deduce usage for now.
+
This is the current incarnation of the GalleryImage template.
 
<nowiki>{{GalleryImageTest</nowiki><br><nowiki>
 
<nowiki>{{GalleryImageTest</nowiki><br><nowiki>
 
| image=[[ImageName.png]]</nowiki><br><nowiki>
 
| image=[[ImageName.png]]</nowiki><br><nowiki>
Line 11: Line 11:
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 +
* ImageName.png is the name of the 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
 +
* 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.
 +
 +
{{GalleryImageTest
 +
<!-- This creates a row entry for the Gallery section -->
 +
<!-- columns resize dynamically, and poorly -->
 +
<!-- the image and 'What to Type' sections define the space -->
 +
<!-- the 'Description' and 'See Also' sections take whatever's left -->
 +
|<!-- Image -->
 +
image=BW_raytraced_complex_image.jpg
 +
|<!-- Title above image -->
 +
title=This is the title
 +
|<!-- 'Description' section (shows up below the image)-->
 +
description=This is the description.
 +
|<!-- 'What to Type' section -->
 +
cmdString=<source lang="python">
 +
(do many things)
 +
</source>
 +
There's other text here.
 +
|<!-- 'See Also' section -->
 +
seeAlso=
 +
* [[Bg_Color|bg_color]]
 +
* [[Get_View|get_view]]
 +
* Mouse Modes (no good reference for this?)
 +
* [[png]]
 +
* [[Cartoon#Sausage_Representation|putty]]
 +
* [[ray]]
 +
* [[Ray#Modes|ray_trace_mode]]
 +
* [[set]]
 +
* [[Set_View|set_view]]
 +
* [[Single-word_Selectors |single word property selectors]]
 +
* [[Advanced_Coloring#Coloring_by_atom_type|util.cbag]]
 +
}}
 
</noinclude>
 
</noinclude>
  

Revision as of 14:13, 26 August 2008

GalleryImageTest Template

Usage: This is the current incarnation of the GalleryImage template. {{GalleryImageTest
| image=[[ImageName.png]]
| title=theTitle
| description=theDescription
| cmdString=commandString
| seeAlso=seeAlso
}}

  • ImageName.png is the name of the 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
  • 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.


This is the title What To Type
BW raytraced complex image.jpg
Description
This is the description.


See Also
(do many things)

There's other text here.



{{{title}}} What To Type
[[Image:{{{image}}}|200px]]
Description
{{{description}}}


See Also
{{{seeAlso}}}

{{{cmdString}}}