வார்ப்புரு:Gallery/doc
{{Documentation subpage}}
 
 {{For|the cleanup tag|Template:Cleanup-gallery}}
 
 This template provides advanced gallery building functionality (such as scrolling captions and fine-tuned formatting control). For creating basic galleries, use the [[Wikipedia:Gallery tag|Gallery tag]].
 
 This template shows up to 100 images in an array. The number of images per row is based upon the width specified and the width of the screen.
 
 For style guidelines about where galleries are appropriate, see [[WP:IG]].
 
 == Parameters ==
 
 === For each image ===
 
 Specify a line of the following form for each image.
 : '''&lt;code&gt;|File:''Filename''|alt''N''=''Alt text''|''Caption''&lt;/code&gt;'''
 * '''&lt;code&gt;''Filename''&lt;/code&gt;''' is the image's file name. It can use a '''&lt;code&gt;File:&lt;/code&gt;''' instead of an '''&lt;code&gt;Image:&lt;/code&gt;''' prefix.
 * '''&lt;code&gt;''N''&lt;/code&gt;''' should be '''&lt;code&gt;1&lt;/code&gt;''' for the first image, '''&lt;code&gt;2&lt;/code&gt;''' for the second image, and so forth.
 * '''&lt;code&gt;''Alt text''&lt;/code&gt;''' is the alt text for the image, used by visually impaired and other readers who cannot see the image. See ''[[Wikipedia:Alternative text for images]]''. If omitted, the image's alt text is blank.
 * '''&lt;code&gt;''Caption''&lt;/code&gt;''' is the caption; see ''[[Wikipedia:Captions]]''.
 
 If no such lines are present, a gallery with a single question-mark image is produced. There is currently a limit of 100 such lines.
 
 === For the gallery overall ===
 
 These parameters are optional.
 
 ; &lt;code&gt;title&lt;/code&gt;: The gallery's title.
 ; &lt;code&gt;width&lt;/code&gt;: (default 180) Maximum width of each image.
 ; &lt;code&gt;height&lt;/code&gt;: (default 180) Maximum height of each image.
 ; &lt;code&gt;lines&lt;/code&gt;: (default 2) The number of text lines needed for the largest caption. Blank lines are appended to smaller captions. A caption that does not fit is cut off.
 ; &lt;code&gt;align&lt;/code&gt;: (default left) The alignment of the gallery (left, center, or right).
 ; &lt;code&gt;footer&lt;/code&gt;: Small, right-aligned text below the images.
 
 == Example ==
 {{pre2|scroll|&lt;nowiki&gt;{{Gallery
 |title=Cultural depictions of George Washington
 |width=160
 |height=170
 |lines=4
 |align=center
 |File:Federal Hall NYC 27.JPG|alt1=Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag|The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]].
 |File:Mount Rushmore2.jpg|alt2=Profile of stone face jutting out from a mountainside. Three workers clamber over it, each about the height of the face's upper lip.|Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932.
 |File:2006 Quarter Proof.png|alt3=Shiny silver coin with profile of Washington bust. He faces left regally and wears a colonial-style queue in his hair. &quot;UNITED STATES OF AMERICA&quot; is at top, &quot;QUARTER DOLLAR&quot; at bottom, &quot;LIBERTY&quot; at left, and &quot;IN GOD WE TRUST&quot; above &quot;S&quot; at right. Just below the bust is &quot;JF uc&quot; in tiny letters.|Washington is commemorated on the [[Quarter (United States coin)|quarter]].
 |File:George Washington Presidential $1 Coin obverse.png|alt4=Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. &quot;GEORGE WASHINGTON&quot; is above, &quot;1st PRESIDENT 1789–1797&quot; below, and &quot;JFM&quot; in tiny letters at the bust's base.|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]].
 }}&lt;/nowiki&gt;}}
 {{Gallery
 |title=Cultural depictions of George Washington
 |width=160
 |height=170
 |lines=4
 |align=center
 |File:Federal Hall NYC 27.JPG|alt1=Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag|The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]].
 |File:Mount Rushmore2.jpg|alt2=Profile of stone face jutting out from a mountainside. Three workers clamber over it, each about the height of the face's upper lip.|Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932.
 |File:2006 Quarter Proof.png|alt3=Shiny silver coin with profile of Washington bust. He faces left regally and wears a colonial-style queue in his hair. &quot;UNITED STATES OF AMERICA&quot; is at top, &quot;QUARTER DOLLAR&quot; at bottom, &quot;LIBERTY&quot; at left, and &quot;IN GOD WE TRUST&quot; above &quot;S&quot; at right. Just below the bust is &quot;JF uc&quot; in tiny letters.|Washington is commemorated on the [[Quarter (United States coin)|quarter]].
 |File:George Washington Presidential $1 Coin obverse.png|alt4=Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. &quot;GEORGE WASHINGTON&quot; is above, &quot;1st PRESIDENT 1789–1797&quot; below, and &quot;JFM&quot; in tiny letters at the bust's base.|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]].
 }}
 
 ==See also==
 * {{tl|Cleanup-gallery}}, the template marking unencyclopedic image galleries.
 
 ‎&lt;includeonly&gt;
 
 [[bn:Template:Gallery]]
 [[ca:Plantilla:Galeria]]
 [[en:Template:Gallery]]
 [[el:Πρότυπο: Γκάλερι]]
 [[es:Plantilla:Galería de imágenes]]
 [[fa:الگو:نگارخانه]]
 [[gl:Modelo:Gallery]]
 [[id:Templat:Gallery]]
 [[ja:Template:Gallery]]
 [[nl:Sjabloon:Gallery]]
 [[no:Mal:Gallery]]
 [[pt:Predefinição:Galeria]]
 [[ru:Шаблон:Gallery]]
 [[te:మూస:Gallery]]
 [[uk:Template:Gallery]]
 [[zh:模板:Gallery]]