Template talk:Gallery-mixed: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Stephen Ewen
mNo edit summary
imported>Stephen Ewen
(expand instructions)
Line 15: Line 15:


----
----
<BR>
__TOC__
__TOC__
==Shapes of french fries==
==Example with Tux==
{{Mixed_gallery
|caption=A subheading is possible here<BR>
|width=260
|lines=6
|Prototype of Tux Linux Penguin.jpg|The original prototype Tux.  At the recommendation of [[Linus Torvalds]], Tux is based on this very image.  The penguin figurine is of an early [[Aardman Studios]] character.
|Linux_Tux_Logo.png|The most known version of Tux, drawn by Larry Ewing as described by [[Linus Torvalds]].
|Penguins Canbrerra Zoo.jpg|[[Little Penguin]]s at the National Zoo & Aquarium, Canberra, Australia, from where [[Linus Trovalds]] stated he caught "penguinitis" after being nibbled by one.
|Tux_Canberra_Zoo.jpg|Sign at the National Zoo & Aquarium, Canberra, Australia, by their penguin exhibit. The sign describes the story of Trovalds catching "penguinitis" and the origins of Tux.
|Penguin-angry-tran.1.gif|An early sketch of Tux, depicting how Linux's early developers felt their operating system was geared up for competition with other operating systems.
|Tux_linux_mascot_doll.jpg|Tux as a plush [[toy]].
|Penguin 6.jpg|A digital sculpture of Tux, by [[Lego]].
|Lego daemon tux.jpg|Another digital sculpture of Tux, this time with the [[BSD Daemon]].
|Tux_Origami.jpg|Tux [[origami]].
|Tux the Penguin by Vik Oliver GFDL.jpg|A Tux [[tattoo]].
|Tux micro.jpg|Measuring 130 microns in size, this image is believed to be the smallest print of Tux in the world.
}}
 
==Example with french fries==
{{Mixed_gallery
{{Mixed_gallery
|caption=A subheading is possible here
|caption=A subheading is possible here
Line 29: Line 48:
|Wedge french fries.jpg|'''Wedge-cut fries''' are prepared from small, whole, unpeeled potatoes cut lengthways into quarters or sixths to form the wedges. As can be seen in this photo, the wedges need not be uniform.  Wedge-cut fries are often prepared through oven-fry methods to produce a dish lower in fat.
|Wedge french fries.jpg|'''Wedge-cut fries''' are prepared from small, whole, unpeeled potatoes cut lengthways into quarters or sixths to form the wedges. As can be seen in this photo, the wedges need not be uniform.  Wedge-cut fries are often prepared through oven-fry methods to produce a dish lower in fat.
|Potato log fries.jpg|'''Potato log fries''' or simply '''potato logs''', are prepared from very large unpeeled or peeled potatoes, often pre-cooked, that are cut about 1 inch (2.5 cm) by 1 inch (2.5 cm) to form "logs".  A variant of potato logs is prepared similarly to wedge fries. Large, unpeeled, and often pre-cooked potatoes are are quartered or cut into sixths or eights lengthways to form the logs and prepared.  Potato logs are sometimes prepared through various baking methods.  Note the coin (U.S. quarter) in the photo for size comparison. This serving was probably made from just one extra large potato.
|Potato log fries.jpg|'''Potato log fries''' or simply '''potato logs''', are prepared from very large unpeeled or peeled potatoes, often pre-cooked, that are cut about 1 inch (2.5 cm) by 1 inch (2.5 cm) to form "logs".  A variant of potato logs is prepared similarly to wedge fries. Large, unpeeled, and often pre-cooked potatoes are are quartered or cut into sixths or eights lengthways to form the logs and prepared.  Potato logs are sometimes prepared through various baking methods.  Note the coin (U.S. quarter) in the photo for size comparison. This serving was probably made from just one extra large potato.
}}
==French fry dishes==
{{Mixed_gallery
|caption=A subheading is possible here
|width=235
|lines=7
|Poutine.jpg|'''Poutine''' is a french fry dish of [[Quebec]], [[Canada]], origin. It consists of french fries topped with [[Gravies and sauces|gravy]] (usually made of beef), and [[cheese]] curds.
|Poutine.jpg|'''Poutine''' is a french fry dish of [[Quebec]], [[Canada]], origin. It consists of french fries topped with [[Gravies and sauces|gravy]] (usually made of beef), and [[cheese]] curds.
|Chips-food.jpg|'''Chips''' wrapped in paper, as customarily served in the [[United Kingdom]].  Potatoes used to prepare chips are sliced thicker than many french fry varieties, setting them apart from "french fries" in the minds of many Brits.
|Chips-food.jpg|'''Chips''' wrapped in paper, as customarily served in the [[United Kingdom]].  Potatoes used to prepare chips are sliced thicker than many french fry varieties, setting them apart from "french fries" in the minds of many Brits.

Revision as of 23:22, 27 October 2007

The {{Mixed gallery}} 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 template pulls the info from Template:Name of photo.jpg/credit. For example, for Image:French_fries_closeup.jpg, the template uses the info placed at Template:French_fries_closeup.jpg/credit.

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}}.




Example with Tux

Template:Mixed gallery

Example with french fries

Template:Mixed gallery