Template talk:Gallery-mixed: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Stephen Ewen
m (A subheading is possible here)
imported>Stephen Ewen
Line 19: Line 19:
{{Mixed_gallery
{{Mixed_gallery
|caption=A subheading is possible here
|caption=A subheading is possible here
|width=290
|width=235
|lines=8
|lines=8
|French_fries_closeup.jpg|'''Shoestring fries''' are prepared from peeled or unpeeled potatoes that have been cut lengthways to form about ⅓ inch (0.8 cm) strips.  This is probably the most common cut within the United States.
|French_fries_closeup.jpg|'''Shoestring fries''' are prepared from peeled or unpeeled potatoes that have been cut lengthways to form about ⅓ inch (0.8 cm) strips.  This is probably the most common cut within the United States.

Revision as of 22:54, 27 October 2007

The {{Gallery with credits}} template shows up to 30 mixed images with captions and credit lines. The number of images possible is easily expandable.

Each image with caption is embedded in table of the same size. As a result the browser displays images row by row, with as many on one row as fit in the window.

Each credit line appears just beneath the image.

The parameters are width and lines.

The lines parameter specifies the number of lines for the captions. If for an image the text does not fit in this number of lines a vertical scroll bar appears for the caption this image. Typically this lines parameter is set depending on the width parameter and the maximum length of all captions, and such that even for users with a large font setting it is enough, since the vertical scroll bar is not convenient, but just an "emergency measure".

If a word in a caption is longer than the width of the image a horizontal scroll bar appears. The appearance of a horizontal and vertical scrollbar are independent of each other.

It uses {{gallery with credits/Sub}}.



Shapes of french fries

Template:Mixed gallery

French fry dishes

Template:Mixed gallery