Template talk:Gallery-mixed: Difference between revisions
imported>Stephen Ewen m (Template talk:Mixed gallery moved to Template talk:Gallery-mixed: better naming system) |
John Leach (talk | contribs) m (Text replacement - "China" to "China") |
||
(4 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 12: | Line 12: | ||
It uses {{tl|Gallery-mixed/Sub}}. | 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. | |||
---- | ---- | ||
Line 43: | 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. | ||
Line 51: | Line 55: | ||
|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 10: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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|