This is a read-only mirror of pymolwiki.org

Template talk:GalleryImage

From PyMOL Wiki
Jump to navigation Jump to search

GalleryImage template version 0.2

Ugh... This was a bit of a bear. Sorry for all the edits. The wiki does not apply the template in the Preview mode; I had to save it continuously to get the template to update/work. The end result seems okay. I'm not satisfied with the markup. I used it mainly because things which I thought were standard produced odd results (for instance: why would left alignment eat a return?). The end result seems visually pleasing, however.

The fixes I was going for:

  • Changes I made shouldn't require changes in the gallery page. (With the exception of the image size variable, I reused everything.)
  • 'Description' now appears below the image (and the description column is removed).
  • 'See Also' now appears below the image (and the see also column is removed).
  • The image, description, and 'See Also' title are centered (within their column). Everthing else is not.
  • There is a divider above each entry.
  • The row itself now completely fits within the main window space (and is aligned to the left).
  • The two columns are fixed widths: 25% for image column, 75% for code column. This makes seperate entries line up well.

Enjoy!
--Ojganesh 10:22, 26 August 2008 (CDT)

GalleryImage template version 0.1

Made by Inchoate! Go Inchoate!