Difference between revisions of "Template:Gallery/doc"
imported>Eubulides (Mention alt text difference.) |
imported>Eubulides (→Example: Add alt text to example.) |
||
| Line 26: | Line 26: | ||
|title=Cultural depictions of George Washington | |title=Cultural depictions of George Washington | ||
|lines=4 | |lines=4 | ||
| − | |Image:Federal Hall NYC 27.JPG|The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]]. | + | |Image: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]]. |
| − | |Image:Mount Rushmore2.jpg|Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932. | + | |Image: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. |
| − | |Image:2006 Quarter Proof.png|Washington is commemorated on the [[Quarter (United States coin)|quarter]]. | + | |Image: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. "UNITED STATES OF AMERICA" is at top, "QUARTER DOLLAR" at bottom, "LIBERTY" at left, and "IN GOD WE TRUST" above "S" at right. Just below the bust is "JF uc" in tiny letters.|Washington is commemorated on the [[Quarter (United States coin)|quarter]]. |
| − | |Image:George Washigton Presidential $1 Coin obverse.png|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]]. | + | |Image:George Washigton Presidential $1 Coin obverse.png|alt4=Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. "GEORGE WASHINGTON" is above, "1st PRESIDENT 1789–1797" below, and "JFM" in tiny letters at the bust's base.|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]]. |
}}</nowiki>}} | }}</nowiki>}} | ||
| Line 35: | Line 35: | ||
|title=Cultural depictions of George Washington | |title=Cultural depictions of George Washington | ||
|lines=4 | |lines=4 | ||
| − | |Image:Federal Hall NYC 27.JPG|The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]]. | + | |Image: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]]. |
| − | |Image:Mount Rushmore2.jpg|Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932. | + | |Image: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. |
| − | |Image:2006 Quarter Proof.png|Washington is commemorated on the [[Quarter (United States coin)|quarter]]. | + | |Image: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. "UNITED STATES OF AMERICA" is at top, "QUARTER DOLLAR" at bottom, "LIBERTY" at left, and "IN GOD WE TRUST" above "S" at right. Just below the bust is "JF uc" in tiny letters.|Washington is commemorated on the [[Quarter (United States coin)|quarter]]. |
| − | |Image:George Washigton Presidential $1 Coin obverse.png|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]]. | + | |Image:George Washigton Presidential $1 Coin obverse.png|alt4=Gold coin with bust of Washington facing slightly left of but looking sternly straight at the viewer. "GEORGE WASHINGTON" is above, "1st PRESIDENT 1789–1797" below, and "JFM" in tiny letters at the bust's base.|Washington is also commemorated on some [[dollar coin (United States)|dollar coins]]. |
}} | }} | ||
Revision as of 17:49, 11 September 2009
| 40px | This is a documentation subpage for Template:Gallery. It contains usage information, categories and other content that is not part of the original template page. |
This template shows up to 30 images in an array. The number of images per row is based upon the width specified and the width of the screen, which allows greater flexibility than the <gallery> tag.
For style guidelines about where galleries are appropriate, see WP:IG.
This template is similar to {{Image gallery}}, except it requires a "File:" or "Image:" prefix for image names, whereas {{Image gallery}} does not; and it uses a different syntax for alt text. Both templates use {{Gallery/aux}} to format individual images.
Parameters
Required
- |Image|Caption
- Specify one of these lines for each image. Image is the image name (with a
File:orImage:prefix). Caption is the caption; see WP:CAPTION. If no such lines are present, a gallery with a single question-mark image is produced. There is currently a limit of 30 such lines.
Optional
- title
- The gallery's title.
- width
- (default 180) Maximum width and height of each image.
- lines
- (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.
- alt#
- with # being a number between 1 and 30. These allow you to specify a description of the image for the visual impaired. For more details read WP:ALT.
Example
- Cultural depictions of George Washington
The statue of Washington outside Federal Hall in New York City, looking on Wall Street.
Construction on the George Washington portrait at Mount Rushmore, c. 1932.
Washington is commemorated on the quarter.
Washington is also commemorated on some dollar coins.
See also
- {{Image gallery}}
- {{Cleanup-gallery}}, the template marking unencyclopedic image galleries.
- {{Scroll gallery}}

