Template:Gallery/testcases#External links in captions
{{testcases}}
Washington
{{test case nowiki|title=Washington|collapsible=yes|
|title=Cultural depictions of George Washington
|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.
|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 coins.
}}}}
{{tag|gallery}}
File:Federal Hall NYC 27.JPG|alt=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|alt=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|alt=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.
File:George_Washington_Presidential_$1_Coin_obverse.png|alt=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 coins.
Footer
{{test case nowiki|title=Footer|collapsible=yes|
|title=Cultural depictions of George Washington
|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.
}}}}
CSS
{{test case nowiki|title=CSS|collapsible=yes|
|title=Cultural depictions of George Washington
|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.
}}}}
{{tag|gallery}}
File:Federal Hall NYC 27.JPG|alt=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|alt=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.
no width
{{test case nowiki|title=no width|collapsible=yes|
|title=Cultural depictions of George Washington
|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.
|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 coins.
}}}}
width
{{test case nowiki|title=width|collapsible=yes|
|title=Cultural depictions of George Washington
|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.
|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 coins.
}}}}
Per-image width
{{test case nowiki|title=Per-image width|collapsible=yes|
|title=Cultural depictions of George Washington
|width=120 |height=100
|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.
|File:United_States_one_dollar_bill,_obverse.jpg
|alt4=Front side of U.S. dollar bill, with Washington portrait in center.
|File:George Washington Presidential $1 Coin obverse.png
|alt5=Gold coin with bust of Washington facing left
|Washington on a dollar coin.
}}}}
Line-breaks around image names
{{test case nowiki|title=Line-breaks around image names|collapsible=yes|
|title=Cultural depictions of George Washington
|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.
| 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 coins.
}}}}
Too-narrow width
{{test case nowiki|title=Too-narrow width|collapsible=yes|
|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.
|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 coins.
}}}}
Too-narrow width
{{test case nowiki|title=Too-narrow width|collapsible=yes|
|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|
|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.|
|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.
|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 coins.
}}}}
No title
{{test case nowiki|title=No title|collapsible=yes|
|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.
}}}}
No white background
{{test case nowiki|title=No white background|collapsible=yes|
|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.
|File:George Washington Presidential $1 Coin obverse.png
|Washington on a dollar coin
}}}}
No images
{{test case nowiki|title=No images|collapsible=yes|
|width=170
|height=160
|title=Cultural depictions of George Washington
}}}}
Empty file names
{{test case nowiki|title=Empty file names|collapsible=yes|
|title=Cultural depictions of George Washington
|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.
||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 coins.
}}}}
Borders
{{test case nowiki|title=Borders|collapsible=yes|
|title=Cultural depictions of George Washington
|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.|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 coins.
}}}}
Single image
{{test case nowiki|title=Single image|collapsible=yes|
|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|A statue of Washington
}}}}
{{tag|gallery}}
File:Federal Hall NYC 27.JPG|alt=Back of statue facing a city building whose facade is Greek columns covered by a huge U.S. flag|A statue of Washington
Standard image syntax
{{-}}
Aligning
{{testcase table|_format=horizontal|_title=Non-aligned|_collapsible=yes|_notcollapsed=yes|_showcode=yes
|File:Example.svg|Example|File:Example.jpg|Example}}
{{test case nowiki|_format=horizontal|_title=Left-aligned|_collapsible=yes|_notcollapsed=yes|_showcode=yes|code=
{{test case nowiki|_format=horizontal|_title=Right-aligned|_collapsible=yes|_notcollapsed=yes|_showcode=yes|code=
|File:Example.svg|Example|File:Example.jpg|Example|align=right}}{{clear}}}}
{{test case nowiki|_format=horizontal|_title=Right-aligned many|_collapsible=yes|_notcollapsed=yes|_showcode=yes|code=
|File:African chicken macau.JPG|Galinha à Africana
|File:Galinha à Portuguesa.jpg|Galinha à Portuguesa
|File:MargaretCafe PasteisDeNata.JPG|Pastéis de nata
|File:PortoExterior PatoDeCabidela.JPG|Pato de cabidela
|File:Minchi.jpg|Minchi
|File:Korean.food-Bibimbap-02.jpg|Bibimbap
|File:Kimchi_fried_rice.jpg|Kimchi fried rice
}}
{{clear}}}}
{{testcase table|_format=horizontal|_title=Center-aligned|_collapsible=yes|_notcollapsed=yes|_showcode=yes
|File:Example.svg|Example|File:Example.jpg|Example|align=center}}
{{testcase table|_format=horizontal|_title=Center-aligned many|_collapsible=yes|_notcollapsed=yes|_showcode=yes
|width=175
|align=center
|File:African chicken macau.JPG|Galinha à Africana
|File:Galinha à Portuguesa.jpg|Galinha à Portuguesa
|File:MargaretCafe PasteisDeNata.JPG|Pastéis de nata
|File:PortoExterior PatoDeCabidela.JPG|Pato de cabidela
|File:Minchi.jpg|Minchi
|File:Korean.food-Bibimbap-02.jpg|Bibimbap
|File:Kimchi_fried_rice.jpg|Kimchi fried rice
}}
{{testcase table|_format=horizontal|_title=Center-aligned few|_collapsible=yes|_notcollapsed=yes|_showcode=yes
|width=175
|align=center
|File:Porkchopbun.jpg|Pork chop bun
|File:Macau Koi Kei Bakery Almond Biscuits 2.JPG|Apricot kernel biscuit
|File:Ginger Milk Pudding.jpg|The Macau ginger milk curd resembles this Hong Kong ginger milk curd.
}}
{{clear}}
Larger gallery with different height captions
{{test case nowiki|title=Larger gallery with different height captions|collapsible=yes|
|width=140 | height=170
|align=left
| 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
| 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 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
| 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
| 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
}}}}
{{tag|gallery}}
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|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 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|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
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
Centering using style parameter
=style=margin:auto works for a single line (although if you shrink the window, the gallery switches to left-aligned)=
{{testcase table|_format=horizontal|_showcode=yes|_collapsible=yes|style=margin:auto
|width=135
|Image:Cleland Mausoleum.jpg|The Cleland Mausoleum
|Image:Dundonald 2.jpg|Aerial view of Dundonald
|Image:Presbyterian Church, Dundonald.JPG|Former National School
}}
=style=margin:auto works for multiple lines with perrow= =
{{testcase table|_format=horizontal|_showcode=yes|_collapsible=yes|style=margin:auto|width=135|perrow=2
|File:Pintoricchio_014.jpg| Pope Pius II
|File:Georg_Wilhelm_Friedrich_Hegel00.jpg| Georg Wilhelm Friedrich Hegel
|File:Dmitri_Ivanowitsh_Mendeleev.jpg| Dmitri Mendeleev
|File:Max Weber, 1918.jpg| Max Weber
|File:Hirata Tosuke (cropped).jpg|Hirata Tosuke
|File:Helmut Kohl (1996) cropped.jpg| Helmut Kohl
}}
=align=center works for multiple lines with perrow= =
{{testcase table|_format=horizontal|_showcode=yes|_collapsible=yes|align=center|width=135|perrow=2
|File:Pintoricchio_014.jpg| Pope Pius II
|File:Georg_Wilhelm_Friedrich_Hegel00.jpg| Georg Wilhelm Friedrich Hegel
|File:Dmitri_Ivanowitsh_Mendeleev.jpg| Dmitri Mendeleev
|File:Max Weber, 1918.jpg| Max Weber
|File:Hirata Tosuke (cropped).jpg|Hirata Tosuke
|File:Helmut Kohl (1996) cropped.jpg| Helmut Kohl
}}
=style=text-align:center centers captions only (correct behavior)=
{{testcase table|_format=horizontal|_showcode=yes|_collapsible=yes|style=text-align:center|width=135|perrow=2
|File:Pintoricchio_014.jpg| Pope Pius II
|File:Georg_Wilhelm_Friedrich_Hegel00.jpg| Georg Wilhelm Friedrich Hegel
|File:Dmitri_Ivanowitsh_Mendeleev.jpg| Dmitri Mendeleev
|File:Max Weber, 1918.jpg| Max Weber
|File:Hirata Tosuke (cropped).jpg|Hirata Tosuke
|File:Helmut Kohl (1996) cropped.jpg| Helmut Kohl
}}
Hunting for bugs
For some reason it is showing green, but sholdn't.
= extra pipe test || - first arg being nil =
{{testcase table|_format=horizontal||_title="extra pipe test"|_collapsible=yes|_notcollapsed=yes|_showcode=yes
|File:Federal Hall NYC 27.JPG|Caption1
|File:Mount Rushmore2.jpg|Caption2
|File:2006 Quarter Proof.png|Caption3
|File:George Washington Presidential $1 Coin obverse.png|Caption4
}}
= Many pipes and many captions =
{{testcase table|_format=horizontal||_title="Many pipes and many captions"|_collapsible=yes|_notcollapsed=yes|_showcode=yes
|File:Federal Hall NYC 27.JPG||Caption1
|File:Mount Rushmore2.jpg||Caption2 with [http://www.example.com external link]
|Another Caption
|File:2006 Quarter Proof.png| |Caption3
|File:George Washington Presidential $1 Coin obverse.png|Caption4 |extra caption?
}}
=External links in captions=
{{testcase table|_format=horizontal|_title=External links in captions|_collapsible=yes|_notcollapsed=yes|_showcode=yes
| title = Examples of a "digital recreation" and of "stylistic elements which are not present in the original":
| align = center
| footer =
| style =
| state =
| height =
| width =
| perrow =
| mode =
| whitebg = no
| noborder = yes
| captionstyle =
| File:UsulALFiqh.svg
|External link with no link text: [https://www.mehbooba.com/the-principles-of-hanafi-usul-al-fiqh]
|File:Mount Rushmore2.jpg
|External link with text: [https://www.mehbooba.com/the-principles-of-hanafi-usul-al-fiqh Example]
}}
= No Captions =
{{testcase table|_format=horizontal|_title="No Captions"|_collapsible=yes|_notcollapsed=yes|_showcode=yes
|File:Federal Hall NYC 27.JPG
|File:Mount Rushmore2.jpg
|File:2006 Quarter Proof.png
|File:George Washington Presidential $1 Coin obverse.png
}}
ClassN / Darkmode
{{testcase table|_format=horizontal|_title=dark mode test 1|_collapsible=yes
|width=130
|File:Adyghe latin alphabet (1927).svg|inverted|class1=skin-invert-image
|File:Unified Northern Alphabet.jpg|inverted|class2=skin-invert-image
|File:Serotonin-2D-skeletal.svg|inverted|class3=skin-invert-image
|File:Serotonin-2D-skeletal.svg|fallback test
|File:2-bromopyridine-from-xtal-3D-bs-17.png|bg-transparent|class5=bg-transparent
}}
Some galleries have already been wrapped in div skin-invert-image. Testing those.
{{test case nowiki|title=dark mode test wrapped|collapsible=yes| {{__TEMPLATENAME__ |File:Example.svg|caption1 |File:Adyghe latin alphabet (1927).svg|caption2 }}