Template talk:Gallery-mixed: Difference between revisions
imported>Stephen Ewen mNo edit summary |
John Leach (talk | contribs) m (Text replacement - "China" to "China") |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The {{tl| | The {{tl|Gallery-mixed}} 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 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. | ||
Line 11: | Line 11: | ||
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. | 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 {{tl| | It uses {{tl|Gallery-mixed/Sub}}. | ||
;Bugs | |||
#In Opera, the vertical scroll bars do not appear; to avoid this, simply choose a number in the lines perimeter that avoids them. | |||
#If you reload the gallery page in Firefox, it reduces the number of images appearing per line by one. All the images still appear. So, for example, if there are three images in a row and you reload, two images will appear per row. If you navigate to the page again, 3 appear again. | |||
---- | ---- | ||
<BR> | |||
__TOC__ | __TOC__ | ||
== | ==Example with Tux== | ||
{{ | {{Gallery-mixed | ||
|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== | |||
{{Gallery-mixed | |||
|caption=A subheading is possible here | |caption=A subheading is possible here | ||
|width=235 | |width=235 | ||
Line 25: | Line 47: | ||
|Steak fries.jpg|'''Steak fries,''' sometimes called '''ranch fries''', are thick, flat-cut french fries, about 1 inch (0.6 cm) ½ inch (1.3 cm). Prepared from either peeled or unpeeled potatoes, they are often the culinary choice to convey a particularly "hearty" appearance. These steak fries have been peppered with [[black pepper]]. | |Steak fries.jpg|'''Steak fries,''' sometimes called '''ranch fries''', are thick, flat-cut french fries, about 1 inch (0.6 cm) ½ inch (1.3 cm). Prepared from either peeled or unpeeled potatoes, they are often the culinary choice to convey a particularly "hearty" appearance. These steak fries have been peppered with [[black pepper]]. | ||
|Curly_fries.jpg|'''Curly fries''' are prepared with a special cutting tool that is either motor-driven or hand-turned (see an example of [http://www.instawares.com/motorized-new-fry-slicer.gmp-5280m.0.7.htm#gallery motorized curly fry machine.]) The cutting implement is set into one end of the potato and the potato rotated, creating the spiral shapes as seen here. Curly fries are typically lightly coated with a flour and spice mixture of [[salt]], [[paprika]], [[black pepper]], and other spices before frying, the result of which can be seen in this photo. | |Curly_fries.jpg|'''Curly fries''' are prepared with a special cutting tool that is either motor-driven or hand-turned (see an example of [http://www.instawares.com/motorized-new-fry-slicer.gmp-5280m.0.7.htm#gallery motorized curly fry machine.]) The cutting implement is set into one end of the potato and the potato rotated, creating the spiral shapes as seen here. Curly fries are typically lightly coated with a flour and spice mixture of [[salt]], [[paprika]], [[black pepper]], and other spices before frying, the result of which can be seen in this photo. | ||
|Waffle_fries_Chik-Fil-A.jpg|'''Waffle fries'''. Potatoes are cut crossways with a special tool to form the unique "waffle" shape, then prepared. These waffle fries are made by [[Chik-fil-A]], a popular [[fast-food]] chain restaurant in the [[United States]], who is sometimes cited as popularizing the cut. | |Waffle_fries_Chik-Fil-A.jpg|'''Waffle fries'''. Potatoes are cut crossways with a special tool to form the unique "waffle" shape, then prepared. These waffle fries are made by [[Chik-fil-A]], a popular [[fast-food]] chain restaurant in the [[United States of America|U.S.]], who is sometimes cited as popularizing the cut. | ||
|Crinkle cut french fries.jpg|'''Crinkle-cut fries.''' Potatoes, usually peeled, are cut with a special tool to form the "crinkle" shape, then prepared. They are typically about ½ inch (1.3 cm) by ½ inch (1.3 cm). These crinkle-cut fries have have been purchased frozen from a grocery and fried at home. | |Crinkle cut french fries.jpg|'''Crinkle-cut fries.''' Potatoes, usually peeled, are cut with a special tool to form the "crinkle" shape, then prepared. They are typically about ½ inch (1.3 cm) by ½ inch (1.3 cm). These crinkle-cut fries have have been purchased frozen from a grocery and fried at home. | ||
|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. | ||
|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. | ||
|Perfectly_arranged_french_fries.jpg|A unique french fry creation served at Antonio's Restaurant in [[Tagaytay City]], [[Philippines]]. These have probably been prepared in drawn [[butter]] (butter with all the [[whey]] and other liquids removed) after a light coating in seasoning. Fresh chopped [[garlic]] has been added to flavor the fry medium and removed and sprinkled atop the final dish, which can be seen in the photo. Note the careful [[food arrangement|arrangement]] of the fries. | |Perfectly_arranged_french_fries.jpg|A unique french fry creation served at Antonio's Restaurant in [[Tagaytay City]], [[Philippines]]. These have probably been prepared in drawn [[butter]] (butter with all the [[whey]] and other liquids removed) after a light coating in seasoning. Fresh chopped [[garlic]] has been added to flavor the fry medium and removed and sprinkled atop the final dish, which can be seen in the photo. Note the careful [[food arrangement|arrangement]] of the fries. | ||
|French_fries_blue_cheese_chili_oil.jpg|'''Urban fries''' is a dish popularized along the U.S. west coast. It consists of french fries topped with [[bleu cheese]] [[salad dressing]], [[chili oil]], and sprinkled with either chopped flat leaf [[parsley]] or [[corriander|cilantro]] for both color and flavor. | |French_fries_blue_cheese_chili_oil.jpg|'''Urban fries''' is a dish popularized along the U.S. west coast. It consists of french fries topped with [[bleu cheese]] [[salad dressing]], [[chili oil]], and sprinkled with either chopped flat leaf [[parsley]] or [[corriander|cilantro]] for both color and flavor. | ||
|Fries_from_Beijing.jpg|A french fry dish served in [[Beijing]], | |Fries_from_Beijing.jpg|A french fry dish served in [[Beijing]], China. The potatoes have been fried, tossed in a spicy low-moisture coating, and topped with [[onions|scallions]]. | ||
|Upscale_french_fries.jpg|A unique french fry dish served at an upscale restaurant. | |Upscale_french_fries.jpg|A unique french fry dish served at an upscale restaurant. | ||
|Animal fries.jpg|'''Animal fries''' are a unique offering by the [[In-N-Out Restaurant|In-N-Out]] U.S. fast-food restaurant chain. Animal fries are prepared from shoestring french fries smothered with two slices of American cheese, a "secret sauce" similar to [[thousand island salad dressing]], and grilled onions. | |Animal fries.jpg|'''Animal fries''' are a unique offering by the [[In-N-Out Restaurant|In-N-Out]] U.S. fast-food restaurant chain. Animal fries are prepared from shoestring french fries smothered with two slices of American cheese, a "secret sauce" similar to [[thousand island salad dressing]], and grilled onions. |
Latest revision as of 09:09, 28 February 2024
The {{Gallery-mixed}} 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 {{
}}.- Bugs
- In Opera, the vertical scroll bars do not appear; to avoid this, simply choose a number in the lines perimeter that avoids them.
- If you reload the gallery page in Firefox, it reduces the number of images appearing per line by one. All the images still appear. So, for example, if there are three images in a row and you reload, two images will appear per row. If you navigate to the page again, 3 appear again.
Example with Tux
A subheading is possible here | |||||||||||||||||||||||||||||||||
|
Example with french fries
A subheading is possible here | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|