Template:Gallery/testcases

From blackwiki
Jump to navigation Jump to search

Washington

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|width=170
|height=160
|noborder=yes
|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. "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]].
|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. "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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

<gallery>...</gallery>

Footer

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|width=170
|height=160
|footer=Footer test: The quick brown fox jumps over the lazy doge.
|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.
}}

{{Gallery}}

{{Gallery/sandbox}}

CSS

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|width=170
|height=160
|style=background:red;color:white;
|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.
}}

{{Gallery}}

{{Gallery/sandbox}}

<gallery>...</gallery>

no width

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|height=160
|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. "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]].
|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. "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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

width

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|width=100
|height=160
|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. "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]].
|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. "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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

Per-image width

{{Gallery
|title=Cultural depictions of George Washington
|width=120 |height=100 |lines=4
|align=center
|footer=Example 2
|File:Federal Hall NYC 27.JPG
|alt1=Statue facing a city building with Greek columns
 |Statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]].
|File:Mount Rushmore2.jpg
|alt2=Profile of stone face on mountainside, with 3 workers.
 |Work on Washington portrait at [[Mount Rushmore]], c. 1932.
|File:2006 Quarter Proof.png
|alt3=Shiny silver coin with profile of Washington bust. 
 |Washington on a [[Quarter (United States coin)|quarter]].
|File:United_States_one_dollar_bill,_obverse.jpg 
|alt4=Front side of U.S. dollar bill, with Washington portrait in center.
 |[[United States one-dollar bill|U.S. one-dollar bill]].
|File:George Washington Presidential $1 Coin obverse.png
|alt5=Gold coin with bust of Washington facing left
 |Washington on a [[dollar coin (United States)|dollar coin]].
}}

{{Gallery}}

{{Gallery/sandbox}}

Line-breaks around image names

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|width=170
|height=160
|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. "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]].
|  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. "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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

Too-narrow width

{{Gallery
|title=Cultural depictions of George Washington
|width=20
|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. "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]].
|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. "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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

Too-narrow width

{{Gallery
|title=Cultural depictions of George Washington
|width=20
|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|<div>The statue of Washington outside [[Federal Hall]] in [[New York City]], looking on [[Wall Street]].</div>
|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.|<div>Construction on the George Washington portrait at [[Mount Rushmore]], c. 1932.</div>
|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. "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]].
|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. "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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

No title

{{Gallery
|width=170
|height=160
|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.
}}

{{Gallery}}

{{Gallery/sandbox}}

No white background

{{Gallery
|width=170
|height=160
|noborder=yes
|whitebg=no
|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 
|Washington is commemorated on a [[Quarter (United States coin)|quarter]].
|File:George Washington Presidential $1 Coin obverse.png 
|Washington on a [[dollar coin (United States)|dollar coin]]
}}

{{Gallery}}

{{Gallery/sandbox}}

No images

{{Gallery
|width=170
|height=160
|title=Cultural depictions of George Washington
}}

{{Gallery}}

{{Gallery/sandbox}}

Empty file names

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|width=170
|height=160
|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]].
||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. "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]].
||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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

Borders

{{Gallery
|title=Cultural depictions of George Washington
|lines=3
|width=170
|height=160
|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. "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]].|noborder3=
|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. "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]].
}}

{{Gallery}}

{{Gallery/sandbox}}

Single image

{{Gallery
|width=100
|height=120
|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|<small>A statue of Washington</small>
}}

{{Gallery}}

{{Gallery/sandbox}}

<gallery>...</gallery>

Standard image syntax

Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag
A statue of Washington

Aligning

Main template

Non-aligned

Left-aligned

Right-aligned

Center-aligned

Sandbox

Non-aligned

Left-aligned

Right-aligned

Center-aligned

Larger gallery with different height captions

{{Gallery
<!-- |title= -->
|width=140 | height=170 | lines=4
|align=left
<!-- |footer= -->
| File:HMAS Stuart 1984 DF-ST-85-06920.jpg
 | [[Royal Australian Navy]] ensign (foreground), Royal Australian Navy jack (background)
| File:Air Force Ensign of Australia.svg
 | [[Royal Australian Air Force Ensign]]
| File:Flag of Finnish yacht clubs.svg
 | [[List of flags of Finland#Yachting|Finnish yacht club ensign]]. The circled X represents the club [[emblem]]
| File:Naval Ensign of India.svg
 | [[Indian Navy]] Ensign 
| File:Naval Ensign of Italy.svg
 | Naval ensign of [[Italian Navy|Italy]]
|File:Naval Ensign of Japan.svg
 | Naval ensign of the [[Imperial Japanese Navy]] and the [[Japan Maritime Self-Defense Force]]
| File:0906 Bandera Marynarki Wojennej RP ORP Toruń.jpg
 | [[Polish Navy]] ensign
| File:Naval Ensign of Russia.svg
 | [[Russian Navy Ensign|Ensign]] of the [[Russian Navy]]
| File:Naval Jack of Russia.svg
 | Naval Jack of Russia
| File:Bandera yate.png
 | Spanish [[yacht ensign]]
| File:Naval Ensign of Sri Lanka.svg
 | Naval ensign of [[Sri Lanka Navy|Sri Lanka]]
| File:Naval Ensign of Ukraine.svg
 | [[Ukrainian Navy]] ensign
| File:Civil Ensign of the United Kingdom.svg
 | The [[Red Ensign]] as currently used for British civilian vessels
| File:Ensign of the United States Coast Guard.svg
 | [[United States Coast Guard]] ensign
}}

{{Gallery}}

{{Gallery/sandbox}}

<gallery>...</gallery>