CINXE.COM

Help:Gallery tag - Wikipedia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Help:Gallery tag - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"f1276513-ed8c-42c5-8b77-947c5c490cad","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:Gallery_tag","wgTitle":"Gallery tag","wgCurRevisionId":1258100536,"wgRevisionId":1258100536,"wgArticleId":1386273,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Wikipedia image help","Wikipedia how-to","Wikipedia features"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:Gallery_tag","wgRelevantArticleId":1386273,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick": true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q15410413","wgCheckUserClientHintsHeadersJsApi":["architecture","bitness","brands","fullVersionList","mobile","model","platform", "platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.pygments":"ready","mediawiki.page.gallery.styles":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","mediawiki.page.gallery","site", "mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","wikibase.client.vector-2022","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.discussionTools.init.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cmediawiki.page.gallery.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.3"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Help:Gallery tag - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Help:Gallery_tag"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Help:Gallery_tag&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Help:Gallery_tag"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject mw-editable page-Help_Gallery_tag rootpage-Help_Gallery_tag skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Help%3AGallery+tag" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Help%3AGallery+tag" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Help%3AGallery+tag" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Help%3AGallery+tag" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Attributes_and_values" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Attributes_and_values"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Attributes and values</span> </div> </a> <ul id="toc-Attributes_and_values-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Usage_notes" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Usage_notes"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Usage notes</span> </div> </a> <button aria-controls="toc-Usage_notes-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Usage notes subsection</span> </button> <ul id="toc-Usage_notes-sublist" class="vector-toc-list"> <li id="toc-Inserting_images" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Inserting_images"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Inserting images</span> </div> </a> <ul id="toc-Inserting_images-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Syntax" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Syntax"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Syntax</span> </div> </a> <button aria-controls="toc-Syntax-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Syntax subsection</span> </button> <ul id="toc-Syntax-sublist" class="vector-toc-list"> <li id="toc-Extended_syntax" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Extended_syntax"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>Extended syntax</span> </div> </a> <ul id="toc-Extended_syntax-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Captions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Captions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>Captions</span> </div> </a> <ul id="toc-Captions-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Center" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Center"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Center</span> </div> </a> <ul id="toc-Center-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Help</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Gallery tag</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 15 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-15" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">15 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/N%C3%A1pov%C4%9Bda:Galerie" title="Nápověda:Galerie – Czech" lang="cs" hreflang="cs" data-title="Nápověda:Galerie" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Hilfe:Galerie" title="Hilfe:Galerie – German" lang="de" hreflang="de" data-title="Hilfe:Galerie" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Ayuda:Galer%C3%ADa_de_im%C3%A1genes" title="Ayuda:Galería de imágenes – Spanish" lang="es" hreflang="es" data-title="Ayuda:Galería de imágenes" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Laguntza:Irudiak/Irudi_galeriak" title="Laguntza:Irudiak/Irudi galeriak – Basque" lang="eu" hreflang="eu" data-title="Laguntza:Irudiak/Irudi galeriak" data-language-autonym="Euskara" data-language-local-name="Basque" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%B1%D8%A7%D9%87%D9%86%D9%85%D8%A7:%D8%B3%D8%A7%D8%AE%D8%AA_%D9%86%DA%AF%D8%A7%D8%B1%D8%AE%D8%A7%D9%86%D9%87" title="راهنما:ساخت نگارخانه – Persian" lang="fa" hreflang="fa" data-title="راهنما:ساخت نگارخانه" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Aide:Galerie" title="Aide:Galerie – French" lang="fr" hreflang="fr" data-title="Aide:Galerie" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/Wikipedija:Galerija" title="Wikipedija:Galerija – Croatian" lang="hr" hreflang="hr" data-title="Wikipedija:Galerija" data-language-autonym="Hrvatski" data-language-local-name="Croatian" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Bantuan:Galeri" title="Bantuan:Galeri – Indonesian" lang="id" hreflang="id" data-title="Bantuan:Galeri" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A2%D7%96%D7%A8%D7%94:%D7%92%D7%9C%D7%A8%D7%99%D7%94" title="עזרה:גלריה – Hebrew" lang="he" hreflang="he" data-title="עזרה:גלריה" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Help:Fotogalerij" title="Help:Fotogalerij – Dutch" lang="nl" hreflang="nl" data-title="Help:Fotogalerij" data-language-autonym="Nederlands" data-language-local-name="Dutch" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Wikipedia:Gallerier" title="Wikipedia:Gallerier – Norwegian Bokmål" lang="nb" hreflang="nb" data-title="Wikipedia:Gallerier" data-language-autonym="Norsk bokmål" data-language-local-name="Norwegian Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Wikipedia:Gallerier" title="Wikipedia:Gallerier – Swedish" lang="sv" hreflang="sv" data-title="Wikipedia:Gallerier" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Yard%C4%B1m:Galeri_etiketi" title="Yardım:Galeri etiketi – Turkish" lang="tr" hreflang="tr" data-title="Yardım:Galeri etiketi" data-language-autonym="Türkçe" data-language-local-name="Turkish" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%94%D0%BE%D0%B2%D1%96%D0%B4%D0%BA%D0%B0:%D0%A2%D0%B5%D0%B3_Gallery" title="Довідка:Тег Gallery – Ukrainian" lang="uk" hreflang="uk" data-title="Довідка:Тег Gallery" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Help:Gallery_tag" title="Help:Gallery tag – Chinese" lang="zh" hreflang="zh" data-title="Help:Gallery tag" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15410413#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-help" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Help:Gallery_tag" title="View the help page [c]" accesskey="c"><span>Help page</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Help_talk:Gallery_tag" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Help:Gallery_tag"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:Gallery_tag&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Help:Gallery_tag"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:Gallery_tag&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Help:Gallery_tag" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Help:Gallery_tag" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Help:Gallery_tag&amp;oldid=1258100536" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Help:Gallery_tag&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHelp%3AGallery_tag"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHelp%3AGallery_tag"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Help%3AGallery_tag&amp;action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Help:Gallery_tag&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15410413" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">For the content-adaptive gallery template, see <a href="/wiki/Template:Gallery" title="Template:Gallery">Template:Gallery</a>.</div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">For the Wikipedia image use policy for galleries, see <a href="/wiki/Wikipedia:Image_use_policy#Image_galleries" title="Wikipedia:Image use policy">Wikipedia:Image use policy § Image galleries</a>.</div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">"H:G" redirects here. For the help page on getting started with Wikipedia see <a href="/wiki/Help:Getting_started" title="Help:Getting started">Help:Getting started</a>.</div> <style data-mw-deduplicate="TemplateStyles:r1238436933">.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box;color:var(--color-base,#202122)}.mw-parser-output .ombox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .ombox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .ombox-delete{border:2px solid #b32424}.mw-parser-output .ombox-content{border:1px solid #f28500}.mw-parser-output .ombox-style{border:1px solid #fc3}.mw-parser-output .ombox-move{border:1px solid #9932cc}.mw-parser-output .ombox-protection{border:2px solid #a2a9b1}.mw-parser-output .ombox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .ombox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .ombox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .ombox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .ombox{margin:4px 10%}.mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}body.skin--responsive .mw-parser-output table.ombox img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ombox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ombox-speedy{background-color:#310402}}</style><table class="plainlinks ombox ombox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Twemoji_1f527.svg/30px-Twemoji_1f527.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Twemoji_1f527.svg/45px-Twemoji_1f527.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Twemoji_1f527.svg/60px-Twemoji_1f527.svg.png 2x" data-file-width="512" data-file-height="512"/></span></span></td><td class="mbox-text"><div style="padding-top: 6px; padding-bottom: 5px;"><b>This help page is a <a href="/wiki/Wikipedia:Project_namespace#Wikipedia_how-to_and_information_pages" title="Wikipedia:Project namespace">how-to guide</a>.</b><br/><div style="font-size: 90%;">It explains concepts or processes used by the Wikipedia community. It is not one of <a href="/wiki/Wikipedia:Policies_and_guidelines" title="Wikipedia:Policies and guidelines">Wikipedia's policies or guidelines</a>, and may reflect varying levels of <a href="/wiki/Wikipedia:Consensus" title="Wikipedia:Consensus">consensus</a>.</div></div></td><td class="mbox-imageright"><style data-mw-deduplicate="TemplateStyles:r1252059228">.mw-parser-output .module-shortcutboxplain{float:right;margin:0 0 0 1em;border:1px solid var(--border-color-base,#a2a9b1);background-color:var(--background-color-base,#fff);padding:0.3em 0.6em 0.2em 0.6em;text-align:center;font-size:85%}.mw-parser-output .module-shortcutboxleft{float:left;margin:0 1em 0 0}.mw-parser-output .module-shortcutlist{display:inline-block;border-bottom:1px solid var(--border-color-base,#a2a9b1);margin-bottom:0.2em}.mw-parser-output .module-shortcutboxplain ul{font-weight:bold}.mw-parser-output .module-shortcutanchordiv{position:relative;top:-3em}.mw-parser-output li .module-shortcutanchordiv{float:right}.mw-parser-output .mbox-imageright .module-shortcutboxplain{padding:0.4em 1em 0.4em 1em;line-height:1.3;margin:0}</style><div class="module-shortcutanchordiv"><span id="H:G"></span><span id="H:GT"></span><span id="WP:HELPGALLERY"></span></div><div class="module-shortcutboxplain noprint" role="note"><div class="module-shortcutlist"><a href="/wiki/Wikipedia:Shortcut" title="Wikipedia:Shortcut">Shortcuts</a></div><style data-mw-deduplicate="TemplateStyles:r1126788409">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style><div class="plainlist"><ul><li><span class="plainlinks"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=H:G&amp;redirect=no">H:G</a></span></li><li><span class="plainlinks"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=H:GT&amp;redirect=no">H:GT</a></span></li><li><span class="plainlinks"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=Wikipedia:HELPGALLERY&amp;redirect=no">WP:HELPGALLERY</a></span></li></ul></div></div></td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238436933"><table class="box-Warning plainlinks ombox ombox-content" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/b/b4/Ambox_important.svg/40px-Ambox_important.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/b/b4/Ambox_important.svg/60px-Ambox_important.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/b/b4/Ambox_important.svg/80px-Ambox_important.svg.png 2x" data-file-width="40" data-file-height="40"/></span></span></td><td class="mbox-text" style="text-align: left;"><span style="font-size:120%">Before making a gallery, please read over the <b><a href="/wiki/Wikipedia:IG" class="mw-redirect" title="Wikipedia:IG">image use policy for galleries</a></b>. Generally, a gallery <b>should not be added</b> so long as there is space for images to be effectively presented adjacent to text.</span></td></tr></tbody></table> <p>A gallery displays several pictures in an array or similar layout. </p><p>Galleries can display images formed into rows and columns by use of the <code class="nowrap" style="">&lt;gallery>...&lt;/gallery></code> <a href="/wiki/Parsing" title="Parsing">parser</a> (conversion of Wikitext to HTML) tag. Be aware that different screen size and browsers may affect accessibility for some readers. </p> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Attributes_and_values" data-mw-thread-id="h-Attributes_and_values"><span data-mw-comment-start="" id="h-Attributes_and_values"></span>Attributes and values<span data-mw-comment-end="h-Attributes_and_values"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=1" title="Edit section: Attributes and values"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Attributes_and_values","replies":[]}}--></div> <p>Attributes and values go after the word <code>gallery</code> and a blank space, and before the ending angle bracket: <code>&lt;gallery <i>attributes...</i>></code> </p> <ul><li><code>mode=</code> <ul><li><code>traditional</code> Default, effect is explained below</li> <li><code>nolines</code> No borders, less padding, captions centered under images</li> <li><code>packed</code> All images aligned by having same height, justified, captions centered under images</li> <li><code>packed-overlay</code> Like packed, but caption overlays the image, in a translucent box</li> <li><code>packed-hover</code> Like packed-overlay, but caption is only visible on hover (degrades gracefully on screen readers, and falls back to packed-overlay if a touch screen is used)</li> <li><code>slideshow</code> Slideshow</li></ul></li> <li><code>caption=</code> Adds an overall caption (or title) above the gallery; for multiple words, enclose in double quotes</li> <li><code>widths=</code> Image widths in pixels (has no effect if mode is set to packed, packed-overlay, packed-hover, or slideshow)</li> <li><code>heights=</code> Image heights in pixels (has no effect if mode is set to slideshow)</li> <li><code>perrow=</code> Number of images per row (has no effect if mode is set to packed, packed-overlay, packed-hover, or slideshow; <i>See usage notes, below</i>)</li> <li><code>showfilename=yes</code> Show each filename below the corresponding image</li> <li><code>class=</code> One or more class names separated with spaces and enclosed in double quotes</li> <li><code>style=</code> One or more CSS declarations separated with semicolons and enclosed in double quotes</li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Usage_notes" data-mw-thread-id="h-Usage_notes"><span data-mw-comment-start="" id="h-Usage_notes"></span>Usage notes<span data-mw-comment-end="h-Usage_notes"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=2" title="Edit section: Usage notes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Usage_notes","replies":["h-Inserting_images-Usage_notes"]}}--></div> <table class="wikitable" style="font-size:67%;line-height:0.5;text-align:center;float:right;margin-left:1ex;"> <tbody><tr> <th style="background:#EAECF0;background:linear-gradient(to top right,#EAECF0 49%,#AAA 49.5%,#AAA 50.5%,#EAECF0 51%);line-height:1.2;padding:0.1em 0.4em;"><div style="margin-left:2em;text-align:right">c</div><div style="margin-right:2em;text-align:left">p</div></th> <th>1</th> <th>2</th> <th>3</th> <th>4</th> <th>5</th> <th>6</th> <th>7</th> <th>8</th> <th>9</th> <th>10</th> <th>11</th> <th>12 </th></tr> <tr style="font-weight:bold;"> <th>1 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1</td> <td style="background-color:#ccffff;">1 </td></tr> <tr style="font-weight:bold;"> <th>2 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2</td> <td style="background-color:#ccffff;">2 </td></tr> <tr style="font-weight:bold;"> <th>3 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3</td> <td style="background-color:#ccffff;">3 </td></tr> <tr style="font-weight:bold;"> <th>4 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">4</td> <td style="background-color:#ccffff;">4</td> <td style="background-color:#ccffff;">4</td> <td style="background-color:#ccffff;">4</td> <td style="background-color:#ccffff;">4</td> <td style="background-color:#ccffff;">4</td> <td style="background-color:#ccffff;">4</td> <td style="background-color:#ccffff;">4 </td></tr> <tr style="color:#999999;"> <th>5 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">5</td> <td style="background-color:#ccffff;">5</td> <td style="background-color:#ccffff;">5</td> <td style="background-color:#ccffff;">5</td> <td style="background-color:#ccffff;">5</td> <td style="background-color:#ccffff;">5</td> <td style="background-color:#ccffff;">5 </td></tr> <tr style="font-weight:bold;"> <th>6 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">6</td> <td style="background-color:#ccffff;">6</td> <td style="background-color:#ccffff;">6</td> <td style="background-color:#ccffff;">6</td> <td style="background-color:#ccffff;">6</td> <td style="background-color:#ccffff;">6 </td></tr> <tr style="color:#999999;"> <th>7 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">7</td> <td style="background-color:#ccffff;">7</td> <td style="background-color:#ccffff;">7</td> <td style="background-color:#ccffff;">7</td> <td style="background-color:#ccffff;">7 </td></tr> <tr style="font-weight:bold;"> <th>8 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">8</td> <td style="background-color:#ccffff;">8</td> <td style="background-color:#ccffff;">8</td> <td style="background-color:#ccffff;">8 </td></tr> <tr style="color:#999999;"> <th>9 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">9</td> <td style="background-color:#ccffff;">9</td> <td style="background-color:#ccffff;">9 </td></tr> <tr style="color:#999999;"> <th>10 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">10</td> <td style="background-color:#ccffff;">10 </td></tr> <tr style="color:#999999;"> <th>11 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ccffff;">11 </td></tr> <tr style="font-weight:bold;"> <th>12 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0 </td></tr> <tr style="color:#999999;"> <th>13 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1 </td></tr> <tr style="font-weight:bold;"> <th>14 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffff00;">2 </td></tr> <tr style="color:#999999;"> <th>15 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffff00;">3 </td></tr> <tr style="color:#999999;"> <th>16 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">5</td> <td style="background-color:#ffff00;">4 </td></tr> <tr style="color:#999999;"> <th>17 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">5 </td></tr> <tr style="font-weight:bold;"> <th>18 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffffff;">6 </td></tr> <tr style="color:#999999;"> <th>19 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffffff;">7 </td></tr> <tr style="font-weight:bold;"> <th>20 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffffff;">8 </td></tr> <tr> <td colspan="13" style="padding:0;"> <table class="wikitable mw-collapsible mw-collapsed" style="width:100%;box-sizing:border-box;margin:0;"> <tbody><tr> <th colspan="13">21 – 60 pictures </th></tr> <tr> <td colspan="13" style="font-size:125%">Green: ideal, Yellow: under half full, Red: orphan </td></tr> <tr> <th style="background:#EAECF0;background:linear-gradient(to top right,#EAECF0 49%,#AAA 49.5%,#AAA 50.5%,#EAECF0 51%);line-height:1.2;padding:0.1em 0.4em;"><div style="margin-left:2em;text-align:right">c</div><div style="margin-right:2em;text-align:left">p</div></th> <th>1</th> <th>2</th> <th>3</th> <th>4</th> <th>5</th> <th>6</th> <th>7</th> <th>8</th> <th>9</th> <th>10</th> <th>11</th> <th>12 </th></tr> <tr style="color:#999999;"> <th>21 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">10</td> <td style="background-color:#ffffff;">9 </td></tr> <tr style="color:#999999;"> <th>22 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">10 </td></tr> <tr style="color:#999999;"> <th>23 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">11 </td></tr> <tr style="font-weight:bold;"> <th>24 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0 </td></tr> <tr style="color:#999999;"> <th>25 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ff9999;">1 </td></tr> <tr style="color:#999999;"> <th>26 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffff00;">2 </td></tr> <tr style="color:#999999;"> <th>27 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">5</td> <td style="background-color:#ffff00;">3 </td></tr> <tr style="color:#999999;"> <th>28 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">4 </td></tr> <tr style="color:#999999;"> <th>29 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">5 </td></tr> <tr style="font-weight:bold;"> <th>30 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffffff;">6 </td></tr> <tr style="color:#999999;"> <th>31 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffffff;">7 </td></tr> <tr style="font-weight:bold;"> <th>32 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">10</td> <td style="background-color:#ffffff;">8 </td></tr> <tr style="color:#999999;"> <th>33 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">9 </td></tr> <tr style="color:#999999;"> <th>34 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">10 </td></tr> <tr style="color:#999999;"> <th>35 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">11 </td></tr> <tr style="color:#999999;"> <th>36 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#00ff00;">0 </td></tr> <tr style="color:#999999;"> <th>37 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ff9999;">1 </td></tr> <tr style="font-weight:bold;"> <th>38 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffff00;">5</td> <td style="background-color:#ffff00;">2 </td></tr> <tr style="color:#999999;"> <th>39 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">3 </td></tr> <tr style="color:#999999;"> <th>40 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">4 </td></tr> <tr style="color:#999999;"> <th>41 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffff00;">5 </td></tr> <tr style="font-weight:bold;"> <th>42 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffffff;">6 </td></tr> <tr style="color:#999999;"> <th>43 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">10</td> <td style="background-color:#ffffff;">7 </td></tr> <tr style="font-weight:bold;"> <th>44 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">8 </td></tr> <tr style="color:#999999;"> <th>45 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">9 </td></tr> <tr style="color:#999999;"> <th>46 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">10 </td></tr> <tr style="color:#999999;"> <th>47 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">11 </td></tr> <tr style="font-weight:bold;"> <th>48 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#00ff00;">0 </td></tr> <tr style="color:#999999;"> <th>49 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffff00;">5</td> <td style="background-color:#ff9999;">1 </td></tr> <tr style="color:#999999;"> <th>50 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffff00;">2 </td></tr> <tr style="color:#999999;"> <th>51 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">3 </td></tr> <tr style="color:#999999;"> <th>52 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffff00;">4 </td></tr> <tr style="color:#999999;"> <th>53 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffff00;">5 </td></tr> <tr style="font-weight:bold;"> <th>54 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffffff;">10</td> <td style="background-color:#ffffff;">6 </td></tr> <tr style="color:#999999;"> <th>55 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">7 </td></tr> <tr style="color:#999999;"> <th>56 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">8 </td></tr> <tr style="color:#999999;"> <th>57 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">7</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffffff;">9 </td></tr> <tr style="color:#999999;"> <th>58 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffff00;">2</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffffff;">8</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">10 </td></tr> <tr style="color:#999999;"> <th>59 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ff9999;">1</td> <td style="background-color:#ffffff;">2</td> <td style="background-color:#ffffff;">3</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffff00;">3</td> <td style="background-color:#ffffff;">5</td> <td style="background-color:#ffffff;">9</td> <td style="background-color:#ffff00;">4</td> <td style="background-color:#ffffff;">11 </td></tr> <tr style="font-weight:bold;"> <th>60 </th> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">4</td> <td style="background-color:#ffffff;">6</td> <td style="background-color:#00ff00;">0</td> <td style="background-color:#ffff00;">5</td> <td style="background-color:#00ff00;">0 </td></tr></tbody></table> </td></tr> <tr> <td colspan="13" style="font-size:125%;line-height:1;">Green: ideal, Yellow: under half full, Red: orphan<br/><br/>Number of pictures on last row of gallery<br/>with c columns (browser-dependent)<br/>and p pictures (editor can control)<br/><br/>i.e. good number of pictures to have in a gallery:<br/>1, 2, 3, 4, 6, 8, 12, 14, 18, 20, ... </td></tr></tbody></table> <ul><li>Indiscriminate use of the <code>perrow</code> attribute is strongly discouraged, because it overrides flexible use of different display sizes and <a href="/wiki/Aspect_ratio" title="Aspect ratio">aspect ratios</a>, ranging from mobile miniature to wide "cinema" screens. However, the attribute <i>should</i> be used when a <i>fixed grid arrangement</i> is appropriate, such as "before/after", "low/medium/high", or other systematic comparisons of images.</li> <li>If <code>perrow</code> is omitted, the width is fluid: one row comprises as many images as will fit across the available width of the user's display, wrapping automatically to as many additional lines as needed.</li> <li><i>Omitting</i> <code>perrow</code> <i>is now the recommended default</i>. Prior to <a href="/wiki/MediaWiki" title="MediaWiki">MediaWiki</a> 1.17, the default was <code>perrow=4</code>.</li> <li>The default width and height are currently 120px. Images displayed by the <code class="nowrap" style="">&lt;Gallery>...&lt;/Gallery></code> tag do not obey user viewing preferences.</li> <li>The <code>packed</code> mode will automatically adjust image sizes to use available display space optimally.</li> <li>Every line specifies an image file. The <code>File:</code> prefix is unnecessary.</li> <li><a href="/wiki/Photo_caption" title="Photo caption">Captions</a> are optional and are separated from file name by a <a href="/wiki/Vertical_bar" title="Vertical bar">vertical bar</a> ("|").</li> <li>A common mistake is to forget the closing <code class="nowrap" style="">&lt;/gallery></code> tag.</li> <li>When using, note that many parameters, specifically those relating to visual appearance, may not apply or work as expected to certain skins (notably the Minerva skin used by the mobile site).</li></ul> <div class="mw-heading mw-heading3"><h3 id="Inserting_images" data-mw-thread-id="h-Inserting_images-Usage_notes"><span data-mw-comment-start="" id="h-Inserting_images-Usage_notes"></span>Inserting images<span data-mw-comment-end="h-Inserting_images-Usage_notes"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=3" title="Edit section: Inserting images"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>When inserting images using the Insert > Images and media option, you will get the following: <code>[[File:<i>Name of file</i>|thumb|<i>Caption</i>]]</code> </p><p>In a gallery, you must remove all brackets ("[" or "]") (except in wikilinks embedded within captions). You must also remove all options except for the caption; <code class="tpl-para" style="word-break:break-word;">|thumb=</code>, <code class="tpl-para" style="word-break:break-word;">|right=</code>, <code class="tpl-para" style="word-break:break-word;">|left=</code>, and <code>px</code> values are not supported and may cause <a href="/wiki/Special:LintErrors/bogus-image-options" title="Special:LintErrors/bogus-image-options">invalid image option</a> errors. Optionally, remove the <code>File:</code> prefix. You will be left with the following: <code><i>Name of file</i>|<i>Caption</i></code> </p><p>If you do not want to include a caption, remove <code>|<i>Caption</i></code> as well. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Syntax" data-mw-thread-id="h-Syntax"><span data-mw-comment-start="" id="h-Syntax"></span>Syntax<span data-mw-comment-end="h-Syntax"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=4" title="Edit section: Syntax"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Syntax","replies":["h-Extended_syntax-Syntax","h-Captions-Syntax"]}}--></div> <p>There are several "modes" of galleries. </p><p><b><style data-mw-deduplicate="TemplateStyles:r1238216509">.mw-parser-output .vanchor>:target~.vanchor-text{background-color:#b1d2ff}@media screen{html.skin-theme-clientpref-night .mw-parser-output .vanchor>:target~.vanchor-text{background-color:#0f4dc9}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .vanchor>:target~.vanchor-text{background-color:#0f4dc9}}</style><span class="vanchor"><span id="traditional"></span><span class="vanchor-text">traditional</span></span>:</b> </p><p>"Traditional" mode is currently the default, and, as such, need not be specified. The basic syntax is: </p> <div class="mw-highlight mw-highlight-lang-xml mw-content-ltr" dir="ltr"><pre><span></span><span class="nt">&lt;gallery></span> Detroit<span class="w"> </span>Publishing<span class="w"> </span>Co.<span class="w"> </span>-<span class="w"> </span>A<span class="w"> </span>Yeoman<span class="w"> </span>of<span class="w"> </span>the<span class="w"> </span>Guard<span class="w"> </span>(N.B.<span class="w"> </span>actually<span class="w"> </span>a<span class="w"> </span>Yeoman<span class="w"> </span>Warder),<span class="w"> </span>full<span class="w"> </span>restoration.jpg|1 Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg|2 Thurston,<span class="w"> </span>the<span class="w"> </span>famous<span class="w"> </span>magician<span class="w"> </span>-<span class="w"> </span>East<span class="w"> </span>Indian<span class="w"> </span>Rope<span class="w"> </span>Trick.jpg|3 Joseph<span class="w"> </span>Ferdinand<span class="w"> </span>Keppler<span class="w"> </span>-<span class="w"> </span>The<span class="w"> </span>Pirate<span class="w"> </span>Publisher<span class="w"> </span>-<span class="w"> </span>Puck<span class="w"> </span>Magazine<span class="w"> </span>-<span class="w"> </span>Restoration<span class="w"> </span>by<span class="w"> </span>Adam<span class="w"> </span>Cuerden.jpg|4 <span class="nt">&lt;/gallery></span> </pre></div> <p>Which gives: </p> <ul class="gallery mw-gallery-traditional"> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="1"><img alt="1" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/89px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="89" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/133px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/177px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytext">1</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="2"><img alt="2" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/120px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="120" height="89" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/180px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/240px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytext">2</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="3"><img alt="3" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/39px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="39" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/58px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/78px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytext">3</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="4"><img alt="4" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/120px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="120" height="80" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/180px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/240px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytext">4</div> </li> </ul> <p>If you want to make sure that any future changes to the default gallery mode will keep this style of gallery, you may specify "mode=traditional", similar to the examples below. </p><p><b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238216509"><span class="vanchor"><span id="nolines"></span><span class="vanchor-text">nolines</span></span>:</b> </p><p>By specifying the "nolines" mode parameter, the boxes are removed. Using the same syntax as before, but replacing <code class="nowrap" style="">&lt;gallery></code> with <code class="nowrap" style="">&lt;gallery mode=nolines></code> we get: </p> <ul class="gallery mw-gallery-nolines"> <li class="gallerybox" style="width: 125px"> <div class="thumb" style="width: 120px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="1"><img alt="1" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/89px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="89" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/133px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/177px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytext">1</div> </li> <li class="gallerybox" style="width: 125px"> <div class="thumb" style="width: 120px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="2"><img alt="2" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/120px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="120" height="89" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/180px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/240px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytext">2</div> </li> <li class="gallerybox" style="width: 125px"> <div class="thumb" style="width: 120px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="3"><img alt="3" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/39px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="39" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/58px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/78px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytext">3</div> </li> <li class="gallerybox" style="width: 125px"> <div class="thumb" style="width: 120px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="4"><img alt="4" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/120px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="120" height="80" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/180px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/240px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytext">4</div> </li> </ul> <p><b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238216509"><span class="vanchor"><span id="packed"></span><span class="vanchor-text">packed</span></span>:</b> </p><p>Changing <code class="nowrap" style="">&lt;gallery></code> to <code class="nowrap" style="">&lt;gallery mode=packed></code> produces a <em>centered</em> gallery, with slightly to significantly less space around each image (depending on its relative width and height), as shown below. It may relatively enlarge some images that were smaller in the above views. </p> <ul class="gallery mw-gallery-packed"> <li class="gallerybox" style="width: 90.666666666667px"> <div class="thumb" style="width: 88.666666666667px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="1"><img alt="1" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/133px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="89" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/200px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/266px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytext">1</div> </li> <li class="gallerybox" style="width: 164px"> <div class="thumb" style="width: 162px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="2"><img alt="2" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/243px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="162" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/364px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/486px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytext">2</div> </li> <li class="gallerybox" style="width: 62px"> <div class="thumb" style="width: 60px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="3"><img alt="3" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/58px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="39" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/87px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/116px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytext">3</div> </li> <li class="gallerybox" style="width: 182.66666666667px"> <div class="thumb" style="width: 180.66666666667px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="4"><img alt="4" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/271px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="181" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/407px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/543px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytext">4</div> </li> </ul> <p>For lengthy captions under narrow images, it's probably best to add a <code>heights=</code> parameter to make the images somewhat larger, as the default small size can lead to overly long stacks of caption text. See below. </p><p><b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238216509"><span class="vanchor"><span id="Packed-overlay"></span><span class="vanchor-text">Packed-overlay</span></span>:</b> This uses <code class="nowrap" style="">&lt;gallery mode=packed-overlay></code> to produce captions overlaying the bottom of the image. The captions are probably best kept short. </p> <ul class="gallery mw-gallery-packed-overlay"> <li class="gallerybox" style="width: 90.666666666667px"> <div class="thumb" style="width: 88.666666666667px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="1"><img alt="1" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/133px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="89" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/200px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/266px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytextwrapper" style="width: 69px"><div class="gallerytext">1</div> </div> </li> <li class="gallerybox" style="width: 164px"> <div class="thumb" style="width: 162px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="2"><img alt="2" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/243px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="162" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/364px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/486px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytextwrapper" style="width: 142px"><div class="gallerytext">2</div> </div> </li> <li class="gallerybox" style="width: 62px"> <div class="thumb" style="width: 60px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="3"><img alt="3" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/58px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="39" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/87px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/116px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytextwrapper" style="width: 40px"><div class="gallerytext">3</div> </div> </li> <li class="gallerybox" style="width: 182.66666666667px"> <div class="thumb" style="width: 180.66666666667px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="4"><img alt="4" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/271px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="181" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/407px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/543px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytextwrapper" style="width: 161px"><div class="gallerytext">4</div> </div> </li> </ul> <p><b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238216509"><span class="vanchor"><span id="Packed-hover"></span><span class="vanchor-text">Packed-hover</span></span>:</b> </p><p>This uses <code class="nowrap" style="">&lt;gallery mode=packed-hover></code>. <a href="https://en.wiktionary.org/wiki/hover" class="extiw" title="wikt:hover">Hover</a> your mouse over the images below. </p> <ul class="gallery mw-gallery-packed-hover"> <li class="gallerybox" style="width: 90.666666666667px"> <div class="thumb" style="width: 88.666666666667px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="The captions"><img alt="The captions" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/133px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="89" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/200px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/266px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytextwrapper" style="width: 69px"><div class="gallerytext">The captions</div> </div> </li> <li class="gallerybox" style="width: 164px"> <div class="thumb" style="width: 162px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="appear when"><img alt="appear when" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/243px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="162" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/364px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/486px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytextwrapper" style="width: 142px"><div class="gallerytext">appear when</div> </div> </li> <li class="gallerybox" style="width: 62px"> <div class="thumb" style="width: 60px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="you"><img alt="you" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/58px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="39" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/87px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/116px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytextwrapper" style="width: 40px"><div class="gallerytext">you</div> </div> </li> <li class="gallerybox" style="width: 182.66666666667px"> <div class="thumb" style="width: 180.66666666667px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="mouse over"><img alt="mouse over" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/271px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="181" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/407px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/543px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytextwrapper" style="width: 161px"><div class="gallerytext">mouse over</div> </div> </li> </ul> <div class="mw-heading mw-heading3"><h3 id="Extended_syntax" data-mw-thread-id="h-Extended_syntax-Syntax"><span data-mw-comment-start="" id="h-Extended_syntax-Syntax"></span>Extended syntax<span data-mw-comment-end="h-Extended_syntax-Syntax"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=5" title="Edit section: Extended syntax"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Besides mode, the extended syntax is (see <i><a href="https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images" class="extiw" title="mw:Help:Images">gallery tag help</a></i> and hereafter on MediaWiki.org for full list of parameters): </p> <div class="mw-highlight mw-highlight-lang-xml mw-content-ltr" dir="ltr"><pre><span></span><span class="nt">&lt;gallery</span><span class="w"> </span><span class="na">caption=</span><span class="s">"Sample gallery"</span><span class="w"> </span><span class="na">widths=</span><span class="s">"180px"</span><span class="w"> </span><span class="na">heights=</span><span class="s">"120px"</span><span class="nt">></span> Wiki.png|Captioned Wiki.png|alt=The<span class="w"> </span>Wikipedia<span class="w"> </span>logo|Captioned<span class="w"> </span>with<span class="w"> </span>alt<span class="w"> </span>text Wiki.png|[[Help:Contents/Links|Links]]<span class="w"> </span>can<span class="w"> </span>be<span class="w"> </span>put<span class="w"> </span>in<span class="w"> </span>captions. Wiki.png|Full<span class="w"> </span>[[MediaWiki]]<span class="nt">&lt;br</span><span class="w"> </span><span class="nt">/></span>[[syntax]]<span class="w"> </span>may<span class="w"> </span>now<span class="w"> </span>be<span class="w"> </span>used... <span class="nt">&lt;/gallery></span> </pre></div> <p>Which produces: </p> <ul class="gallery mw-gallery-traditional"> <li class="gallerycaption">Sample gallery</li> <li class="gallerybox" style="width: 215px"> <div class="thumb" style="width: 210px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Wiki.png" class="mw-file-description" title="Captioned"><img alt="Captioned" src="//upload.wikimedia.org/wikipedia/en/thumb/b/bc/Wiki.png/104px-Wiki.png" decoding="async" width="104" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png 1.5x" data-file-width="135" data-file-height="155"/></a></span></div> <div class="gallerytext">Captioned</div> </li> <li class="gallerybox" style="width: 215px"> <div class="thumb" style="width: 210px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Wiki.png" class="mw-file-description" title="Captioned with alt text"><img alt="The Wikipedia logo" src="//upload.wikimedia.org/wikipedia/en/thumb/b/bc/Wiki.png/104px-Wiki.png" decoding="async" width="104" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png 1.5x" data-file-width="135" data-file-height="155"/></a></span></div> <div class="gallerytext">Captioned with alt text</div> </li> <li class="gallerybox" style="width: 215px"> <div class="thumb" style="width: 210px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Wiki.png" class="mw-file-description" title="Links can be put in captions."><img alt="Links can be put in captions." src="//upload.wikimedia.org/wikipedia/en/thumb/b/bc/Wiki.png/104px-Wiki.png" decoding="async" width="104" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png 1.5x" data-file-width="135" data-file-height="155"/></a></span></div> <div class="gallerytext"><a href="/wiki/Help:Contents/Links" class="mw-redirect" title="Help:Contents/Links">Links</a> can be put in captions.</div> </li> <li class="gallerybox" style="width: 215px"> <div class="thumb" style="width: 210px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Wiki.png" class="mw-file-description" title="Full MediaWiki syntax may now be used..."><img alt="Full MediaWiki syntax may now be used..." src="//upload.wikimedia.org/wikipedia/en/thumb/b/bc/Wiki.png/104px-Wiki.png" decoding="async" width="104" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png 1.5x" data-file-width="135" data-file-height="155"/></a></span></div> <div class="gallerytext">Full <a href="/wiki/MediaWiki" title="MediaWiki">MediaWiki</a><br/><a href="/wiki/Syntax" title="Syntax">syntax</a> may now be used...</div> </li> </ul> <p>The <code>widths=</code> and <code>perrow=</code> parameters do nothing in the packed, packed-overlay, or packed-hover modes, and <code>class="center"</code> does nothing when <code>perrow=</code> is used. </p><p>However, the <code>heights=</code> parameter can be extremely useful in these modes. This parameter specifies the <i>initial</i> height to render every image thumbnail, before images are <i>possibly</i> scaled up (keeping their size ratio) by JavaScript to fill rows; when needed the Javascript will query the image server to get resized thumbnails for several scales between 100% (the initial height specified) and about 125%. This gives good-looking galleries that can fill pages even when their size ratio are not exactly the same and allows using the actual area available for displaying on narrow mobile and large notebook/desktop/TV, and printing on various paper formats. (This mode also allows horizontally auto-scrollable galleries by embedding them in a large container within a scrollable container sized to fit the page width.) </p><p>For example, take the following: </p> <div class="mw-highlight mw-highlight-lang-xml mw-content-ltr" dir="ltr"><pre><span></span><span class="nt">&lt;gallery</span><span class="w"> </span><span class="na">mode=</span><span class="s">"packed"</span><span class="nt">></span> Detroit<span class="w"> </span>Publishing<span class="w"> </span>Co.<span class="w"> </span>-<span class="w"> </span>A<span class="w"> </span>Yeoman<span class="w"> </span>of<span class="w"> </span>the<span class="w"> </span>Guard<span class="w"> </span>(N.B.<span class="w"> </span>actually<span class="w"> </span>a<span class="w"> </span>Yeoman<span class="w"> </span>Warder),<span class="w"> </span>full<span class="w"> </span>restoration.jpg|A<span class="w"> </span>Yeoman<span class="w"> </span>Warder,<span class="w"> </span>from<span class="w"> </span>a<span class="w"> </span>Victorian-era<span class="w"> </span>[[photochrom]] Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg|The<span class="w"> </span>Official<span class="w"> </span>program<span class="w"> </span>of<span class="w"> </span>the<span class="w"> </span>1913<span class="w"> </span>Woman<span class="w"> </span>Suffrage<span class="w"> </span>Procession<span class="w"> </span>held<span class="w"> </span>in<span class="w"> </span>Washington,<span class="w"> </span>D.C. Thurston,<span class="w"> </span>the<span class="w"> </span>famous<span class="w"> </span>magician<span class="w"> </span>-<span class="w"> </span>East<span class="w"> </span>Indian<span class="w"> </span>Rope<span class="w"> </span>Trick.jpg|[[Howard<span class="w"> </span>Thurston]]<span class="w"> </span>performing<span class="w"> </span>the<span class="w"> </span>[[Indian<span class="w"> </span>rope<span class="w"> </span>trick]] Joseph<span class="w"> </span>Ferdinand<span class="w"> </span>Keppler<span class="w"> </span>-<span class="w"> </span>The<span class="w"> </span>Pirate<span class="w"> </span>Publisher<span class="w"> </span>-<span class="w"> </span>Puck<span class="w"> </span>Magazine<span class="w"> </span>-<span class="w"> </span>Restoration<span class="w"> </span>by<span class="w"> </span>Adam<span class="w"> </span>Cuerden.jpg|"The<span class="w"> </span>Pirate<span class="w"> </span>Publisher",<span class="w"> </span>a<span class="w"> </span>satire<span class="w"> </span>of<span class="w"> </span>copyright<span class="w"> </span>infringement<span class="w"> </span>from<span class="w"> </span>the<span class="w"> </span>magazine<span class="w"> </span>''[[Puck<span class="w"> </span>(magazine)|Puck]]''. <span class="nt">&lt;/gallery></span> </pre></div> <p>gives: </p> <ul class="gallery mw-gallery-packed"> <li class="gallerybox" style="width: 90.666666666667px"> <div class="thumb" style="width: 88.666666666667px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="A Yeoman Warder, from a Victorian-era photochrom"><img alt="A Yeoman Warder, from a Victorian-era photochrom" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/133px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="89" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/200px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/266px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytext">A Yeoman Warder, from a Victorian-era <a href="/wiki/Photochrom" title="Photochrom">photochrom</a></div> </li> <li class="gallerybox" style="width: 164px"> <div class="thumb" style="width: 162px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C."><img alt="The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C." src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/243px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="162" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/364px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/486px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytext">The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C.</div> </li> <li class="gallerybox" style="width: 62px"> <div class="thumb" style="width: 60px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="Howard Thurston performing the Indian rope trick"><img alt="Howard Thurston performing the Indian rope trick" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/58px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="39" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/87px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/116px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytext"><a href="/wiki/Howard_Thurston" title="Howard Thurston">Howard Thurston</a> performing the <a href="/wiki/Indian_rope_trick" title="Indian rope trick">Indian rope trick</a></div> </li> <li class="gallerybox" style="width: 182.66666666667px"> <div class="thumb" style="width: 180.66666666667px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="&quot;The Pirate Publisher&quot;, a satire of copyright infringement from the magazine Puck."><img alt="&quot;The Pirate Publisher&quot;, a satire of copyright infringement from the magazine Puck." src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/271px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="181" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/407px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/543px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytext">"The Pirate Publisher", a satire of copyright infringement from the magazine <i><a href="/wiki/Puck_(magazine)" title="Puck (magazine)">Puck</a></i>.</div> </li> </ul> <p>As you can see, the narrowness of the image distorts the caption. This may easily be fixed by adding the <code>heights=</code> parameter, as such. </p> <div class="mw-highlight mw-highlight-lang-xml mw-content-ltr" dir="ltr"><pre><span></span><span class="nt">&lt;gallery</span><span class="w"> </span><span class="na">mode=</span><span class="s">packed</span><span class="w"> </span><span class="na">heights=</span><span class="s">200px</span><span class="nt">></span> Detroit<span class="w"> </span>Publishing<span class="w"> </span>Co.<span class="w"> </span>-<span class="w"> </span>A<span class="w"> </span>Yeoman<span class="w"> </span>of<span class="w"> </span>the<span class="w"> </span>Guard<span class="w"> </span>(N.B.<span class="w"> </span>actually<span class="w"> </span>a<span class="w"> </span>Yeoman<span class="w"> </span>Warder),<span class="w"> </span>full<span class="w"> </span>restoration.jpg|A<span class="w"> </span>Yeoman<span class="w"> </span>Warder,<span class="w"> </span>from<span class="w"> </span>a<span class="w"> </span>Victorian-era<span class="w"> </span>[[photochrom]] Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg|The<span class="w"> </span>Official<span class="w"> </span>program<span class="w"> </span>of<span class="w"> </span>the<span class="w"> </span>1913<span class="w"> </span>Woman<span class="w"> </span>Suffrage<span class="w"> </span>Procession<span class="w"> </span>held<span class="w"> </span>in<span class="w"> </span>Washington,<span class="w"> </span>D.C. Thurston,<span class="w"> </span>the<span class="w"> </span>famous<span class="w"> </span>magician<span class="w"> </span>-<span class="w"> </span>East<span class="w"> </span>Indian<span class="w"> </span>Rope<span class="w"> </span>Trick.jpg|[[Howard<span class="w"> </span>Thurston]]<span class="w"> </span>performing<span class="w"> </span>the<span class="w"> </span>[[Indian<span class="w"> </span>rope<span class="w"> </span>trick]] Joseph<span class="w"> </span>Ferdinand<span class="w"> </span>Keppler<span class="w"> </span>-<span class="w"> </span>The<span class="w"> </span>Pirate<span class="w"> </span>Publisher<span class="w"> </span>-<span class="w"> </span>Puck<span class="w"> </span>Magazine<span class="w"> </span>-<span class="w"> </span>Restoration<span class="w"> </span>by<span class="w"> </span>Adam<span class="w"> </span>Cuerden.jpg|"The<span class="w"> </span>Pirate<span class="w"> </span>Publisher",<span class="w"> </span>a<span class="w"> </span>satire<span class="w"> </span>of<span class="w"> </span>copyright<span class="w"> </span>infringement<span class="w"> </span>from<span class="w"> </span>the<span class="w"> </span>magazine<span class="w"> </span>''[[Puck<span class="w"> </span>(magazine)|Puck]]''. <span class="nt">&lt;/gallery></span> </pre></div> <p>gives: </p> <ul class="gallery mw-gallery-packed"> <li class="gallerybox" style="width: 150px"> <div class="thumb" style="width: 148px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="A Yeoman Warder, from a Victorian-era photochrom"><img alt="A Yeoman Warder, from a Victorian-era photochrom" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/222px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="148" height="200" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/333px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/444px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytext">A Yeoman Warder, from a Victorian-era <a href="/wiki/Photochrom" title="Photochrom">photochrom</a></div> </li> <li class="gallerybox" style="width: 272px"> <div class="thumb" style="width: 270px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C."><img alt="The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C." src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/405px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="270" height="200" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/607px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/810px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytext">The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C.</div> </li> <li class="gallerybox" style="width: 66.666666666667px"> <div class="thumb" style="width: 64.666666666667px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="Howard Thurston performing the Indian rope trick"><img alt="Howard Thurston performing the Indian rope trick" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/97px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="65" height="200" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/146px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/194px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytext"><a href="/wiki/Howard_Thurston" title="Howard Thurston">Howard Thurston</a> performing the <a href="/wiki/Indian_rope_trick" title="Indian rope trick">Indian rope trick</a></div> </li> <li class="gallerybox" style="width: 303.33333333333px"> <div class="thumb" style="width: 301.33333333333px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="&quot;The Pirate Publisher&quot;, a satire of copyright infringement from the magazine Puck."><img alt="&quot;The Pirate Publisher&quot;, a satire of copyright infringement from the magazine Puck." src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/452px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="302" height="200" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/678px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/904px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytext">"The Pirate Publisher", a satire of copyright infringement from the magazine <i><a href="/wiki/Puck_(magazine)" title="Puck (magazine)">Puck</a></i>.</div> </li> </ul> <p>To avoid long stacks of caption text keep captions for narrow images short. </p> <div class="mw-heading mw-heading3"><h3 id="Captions" data-mw-thread-id="h-Captions-Syntax"><span data-mw-comment-start="" id="h-Captions-Syntax"></span>Captions<span data-mw-comment-end="h-Captions-Syntax"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=6" title="Edit section: Captions"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>For all modes except traditional, captions are centered. To left-align the captions, specify the CSS declaration <code>text-align:left</code> in the <code>style=</code> attribute: </p> <div class="mw-highlight mw-highlight-lang-xml mw-content-ltr" dir="ltr"><pre><span></span><span class="nt">&lt;gallery</span><span class="w"> </span><span class="na">mode=</span><span class="s">packed</span><span class="w"> </span><span class="na">heights=</span><span class="s">150px</span><span class="w"> </span><span class="na">style=</span><span class="s">"text-align:left"</span><span class="nt">></span> Detroit<span class="w"> </span>Publishing<span class="w"> </span>Co.<span class="w"> </span>-<span class="w"> </span>A<span class="w"> </span>Yeoman<span class="w"> </span>of<span class="w"> </span>the<span class="w"> </span>Guard<span class="w"> </span>(N.B.<span class="w"> </span>actually<span class="w"> </span>a<span class="w"> </span>Yeoman<span class="w"> </span>Warder),<span class="w"> </span>full<span class="w"> </span>restoration.jpg|A<span class="w"> </span>Yeoman<span class="w"> </span>Warder,<span class="w"> </span>from<span class="w"> </span>a<span class="w"> </span>Victorian-era<span class="w"> </span>[[photochrom]] Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg|The<span class="w"> </span>Official<span class="w"> </span>program<span class="w"> </span>of<span class="w"> </span>the<span class="w"> </span>1913<span class="w"> </span>Woman<span class="w"> </span>Suffrage<span class="w"> </span>Procession<span class="w"> </span>held<span class="w"> </span>in<span class="w"> </span>Washington,<span class="w"> </span>D.C. Joseph<span class="w"> </span>Ferdinand<span class="w"> </span>Keppler<span class="w"> </span>-<span class="w"> </span>The<span class="w"> </span>Pirate<span class="w"> </span>Publisher<span class="w"> </span>-<span class="w"> </span>Puck<span class="w"> </span>Magazine<span class="w"> </span>-<span class="w"> </span>Restoration<span class="w"> </span>by<span class="w"> </span>Adam<span class="w"> </span>Cuerden.jpg|"The<span class="w"> </span>Pirate<span class="w"> </span>Publisher",<span class="w"> </span>a<span class="w"> </span>satire<span class="w"> </span>of<span class="w"> </span>copyright<span class="w"> </span>infringement<span class="w"> </span>from<span class="w"> </span>the<span class="w"> </span>magazine<span class="w"> </span>''[[Puck<span class="w"> </span>(magazine)|Puck]]''. <span class="nt">&lt;/gallery></span> </pre></div> <p>gives: </p> <ul class="gallery mw-gallery-packed" style="text-align:left"> <li class="gallerybox" style="width: 112.66666666667px"> <div class="thumb" style="width: 110.66666666667px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="A Yeoman Warder, from a Victorian-era photochrom"><img alt="A Yeoman Warder, from a Victorian-era photochrom" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/166px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="111" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/250px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/333px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytext">A Yeoman Warder, from a Victorian-era <a href="/wiki/Photochrom" title="Photochrom">photochrom</a></div> </li> <li class="gallerybox" style="width: 204.66666666667px"> <div class="thumb" style="width: 202.66666666667px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C."><img alt="The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C." src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/304px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="203" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/456px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/607px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytext">The Official program of the 1913 Woman Suffrage Procession held in Washington, D.C.</div> </li> <li class="gallerybox" style="width: 228px"> <div class="thumb" style="width: 226px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="&quot;The Pirate Publisher&quot;, a satire of copyright infringement from the magazine Puck."><img alt="&quot;The Pirate Publisher&quot;, a satire of copyright infringement from the magazine Puck." src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/339px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="226" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/509px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/678px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytext">"The Pirate Publisher", a satire of copyright infringement from the magazine <i><a href="/wiki/Puck_(magazine)" title="Puck (magazine)">Puck</a></i>.</div> </li> </ul> <p><b>Centered captions:</b> To center a caption when other options are ineffective, perhaps the most-reliable alternative is to use: </p><p><code>yourimage.jpg | &lt;div style="text-align: center;">yourcaption&lt;/div></code> </p><p><b>Multi-line captions:</b> To specify line breaks, add <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">&lt;br></code> HTML tags, or use <code>{{<a href="/wiki/Template:Br" class="mw-redirect" title="Template:Br">br</a>}}</code>. If you need a blank line, you can use <code>{{<a href="/wiki/Template:Br" class="mw-redirect" title="Template:Br">br</a>|2}}</code>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Center" data-mw-thread-id="h-Center"><span data-mw-comment-start="" id="h-Center"></span>Center<span data-mw-comment-end="h-Center"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=7" title="Edit section: Center"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Center","replies":[]}}--></div> <p>To center a gallery use <code>class="center"</code>: </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">&lt;</span><span class="nt">gallery</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"center"</span><span class="p">></span> Detroit Publishing Co. - A Yeoman of the Guard (N.B. actually a Yeoman Warder), full restoration.jpg|1 Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg|2 Thurston, the famous magician - East Indian Rope Trick.jpg|3 Joseph Ferdinand Keppler - The Pirate Publisher - Puck Magazine - Restoration by Adam Cuerden.jpg|4 <span class="p">&lt;/</span><span class="nt">gallery</span><span class="p">></span> </pre></div> <p>Which gives: </p> <ul class="gallery mw-gallery-traditional center"> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_(N.B._actually_a_Yeoman_Warder),_full_restoration.jpg" class="mw-file-description" title="1"><img alt="1" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/89px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg" decoding="async" width="89" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/133px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg/177px-Detroit_Publishing_Co._-_A_Yeoman_of_the_Guard_%28N.B._actually_a_Yeoman_Warder%29%2C_full_restoration.jpg 2x" data-file-width="2607" data-file-height="3524"/></a></span></div> <div class="gallerytext">1</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Official_program_-_Woman_suffrage_procession_March_3,_1913_-_crop.jpg" class="mw-file-description" title="2"><img alt="2" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/120px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg" decoding="async" width="120" height="89" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/180px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/91/Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg/240px-Official_program_-_Woman_suffrage_procession_March_3%2C_1913_-_crop.jpg 2x" data-file-width="4710" data-file-height="3491"/></a></span></div> <div class="gallerytext">2</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Thurston,_the_famous_magician_-_East_Indian_Rope_Trick.jpg" class="mw-file-description" title="3"><img alt="3" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/39px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg" decoding="async" width="39" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/58px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/80/Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg/78px-Thurston%2C_the_famous_magician_-_East_Indian_Rope_Trick.jpg 2x" data-file-width="1398" data-file-height="4308"/></a></span></div> <div class="gallerytext">3</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" class="mw-file-description" title="4"><img alt="4" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/120px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg" decoding="async" width="120" height="80" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/180px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/72/Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg/240px-Joseph_Ferdinand_Keppler_-_The_Pirate_Publisher_-_Puck_Magazine_-_Restoration_by_Adam_Cuerden.jpg 2x" data-file-width="7780" data-file-height="5164"/></a></span></div> <div class="gallerytext">4</div> </li> </ul> <p>The use of the <code>perrow</code> attribute will cause this to not work. Where a specific number of images per row is desired, use separate <code class="nowrap" style="">&lt;gallery></code> elements. Centered galleries are the default for most variant gallery modes. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="See_also" data-mw-thread-id="h-See_also"><span data-mw-comment-start="" id="h-See_also"></span>See also<span data-mw-comment-end="h-See_also"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Gallery_tag&amp;action=edit&amp;section=8" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-See_also","replies":[]}}--></div> <style data-mw-deduplicate="TemplateStyles:r1235681985">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}</style><style data-mw-deduplicate="TemplateStyles:r1237033735">@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}</style><div class="side-box side-box-right plainlinks sistersitebox"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"> <div class="side-box-flex"> <div class="side-box-image"><span class="noviewer" typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/MediaWiki-2020-icon.svg/40px-MediaWiki-2020-icon.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/MediaWiki-2020-icon.svg/60px-MediaWiki-2020-icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a6/MediaWiki-2020-icon.svg/80px-MediaWiki-2020-icon.svg.png 2x" data-file-width="100" data-file-height="100"/></span></span></div> <div class="side-box-text plainlist">MediaWiki has documentation related to: <i><b><a href="https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images" class="extiw" title="mw:Help:Images">Help:Images#Rendering a gallery of images</a></b></i></div></div> </div> <ul><li><a href="/wiki/Wikipedia:Image_use_policy" title="Wikipedia:Image use policy">Wikipedia:Image use policy</a></li> <li><a href="/wiki/Wikipedia:Manual_of_Style/Images" title="Wikipedia:Manual of Style/Images">Wikipedia:Manual of Style/Images</a></li> <li><a href="/wiki/Wikipedia:Manual_of_Style/Accessibility#Images" title="Wikipedia:Manual of Style/Accessibility">Wikipedia:Manual of Style/Accessibility#Images</a></li> <li><a href="/wiki/Wikipedia:Extended_image_syntax" title="Wikipedia:Extended image syntax">Wikipedia:Extended image syntax</a></li> <li><a href="https://meta.wikimedia.org/wiki/Template:gallery" class="extiw" title="m:Template:gallery">m:Template:gallery</a> <span style="font-size:85%;">(<a href="https://meta.wikimedia.org/wiki/Special:Whatlinkshere/Template:gallery" class="extiw" title="m:Special:Whatlinkshere/Template:gallery">backlinks</a> <a class="external text" href="https://meta.wikimedia.org/wiki/Template:gallery?action=edit">edit</a>)</span></li> <li><a href="https://en.wikibooks.org/wiki/Editing_Wikitext/Pictures/Images_in_Containers#The_Image_Gallery" class="extiw" title="b:Editing Wikitext/Pictures/Images in Containers"><b>More gallery options</b></a>: see the drop-down box for more CSS gallery code</li> <li><a href="https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images" class="extiw" title="mw:Help:Images">mw:Help:Images#Rendering a gallery of images</a></li></ul> <div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1129693374">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}</style><style data-mw-deduplicate="TemplateStyles:r1236075235">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-labelledby="Wikipedia_technical_help" style="padding:3px"><table class="nowraplinks hlist mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2" style="text-align: center;"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><style data-mw-deduplicate="TemplateStyles:r1239400231">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Wikipedia_technical_help" title="Template:Wikipedia technical help"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Wikipedia_technical_help" title="Template talk:Wikipedia technical help"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Wikipedia_technical_help" title="Special:EditPage/Template:Wikipedia technical help"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Wikipedia_technical_help" style="font-size:114%;margin:0 4em"><a href="/wiki/Help:Directory#Technical_help" title="Help:Directory">Wikipedia technical help</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="2" style="text-align: center;"><div><b>Get personal technical help at <a href="/wiki/Wikipedia:Teahouse" title="Wikipedia:Teahouse">the Teahouse</a>, <a href="/wiki/Wikipedia:Help_desk" title="Wikipedia:Help desk">help desk</a>, <a href="/wiki/Wikipedia:Village_pump_(technical)" title="Wikipedia:Village pump (technical)">village pump (technical)</a>, <a href="/wiki/Help:Introduction_to_talk_pages/1" title="Help:Introduction to talk pages/1">talk pages</a> or <a href="/wiki/Wikipedia:IRC" title="Wikipedia:IRC">IRC</a>.</b></div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Wikipedia:FAQ/Technical" title="Wikipedia:FAQ/Technical">General<br/>technical help</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Wikipedia:Browser_notes" title="Wikipedia:Browser notes">Browser notes</a> <ul><li><a href="/wiki/Wikipedia:Bypass_your_cache" title="Wikipedia:Bypass your cache">Bypass cache</a></li> <li><a href="/wiki/Wikipedia:Keyboard_shortcuts" class="mw-redirect" title="Wikipedia:Keyboard shortcuts">Keyboard shortcuts</a></li></ul></li> <li><a href="/wiki/Help:Editing" title="Help:Editing">Editing</a> <ul><li><a href="/wiki/Help:CharInsert" title="Help:CharInsert">CharInsert</a></li> <li><a href="/wiki/Help:Edit_conflict" title="Help:Edit conflict">Edit conflict</a></li> <li><a href="/wiki/Help:Edit_toolbar" title="Help:Edit toolbar">Edit toolbar</a></li> <li><a href="/wiki/Help:Reverting" title="Help:Reverting">Reverting</a></li></ul></li> <li><a href="/wiki/Wikipedia:How_to_create_a_page" title="Wikipedia:How to create a page">How to create a page</a></li> <li><a href="/wiki/Wikipedia:IRC" title="Wikipedia:IRC">IRC</a> <ul><li><a href="/wiki/Wikipedia:IRC/Tutorial" title="Wikipedia:IRC/Tutorial">Tutorial</a></li></ul></li> <li><a href="/wiki/Help:Mobile_access" title="Help:Mobile access">Mobile access</a></li> <li><a href="/wiki/Help:Multilingual_support" title="Help:Multilingual support">Multilingual support</a></li> <li><a href="/wiki/Help:Page_history" title="Help:Page history">Page history</a></li> <li><a href="/wiki/Help:Page_information" title="Help:Page information">Page information</a></li> <li><a href="/wiki/Wikipedia:Page_name" title="Wikipedia:Page name">Page name</a> <ul><li><a href="/wiki/Help:Page_name" title="Help:Page name">Help</a></li></ul></li> <li><a href="/wiki/Help:Printing" title="Help:Printing">Printing</a></li> <li><a href="/wiki/Wikipedia:Software_notices" title="Wikipedia:Software notices">Software notices</a> <ul><li><a href="/wiki/Wikipedia:Editnotice" title="Wikipedia:Editnotice">Editnotice</a></li></ul></li> <li><a href="/wiki/Help:Special_characters" title="Help:Special characters">Special Characters</a> <ul><li><a href="/wiki/Help:Entering_special_characters" title="Help:Entering special characters">Entering</a></li></ul></li> <li><a href="/wiki/Wikipedia:User_access_levels" title="Wikipedia:User access levels">User access levels</a></li> <li><a href="/wiki/Wikipedia:VisualEditor" title="Wikipedia:VisualEditor">VisualEditor</a> <ul><li><a href="/wiki/Help:VisualEditor" title="Help:VisualEditor">Help</a></li></ul></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Special:SpecialPages" title="Special:SpecialPages">Special<br/>page</a>-related</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Special_page" title="Help:Special page">Special page help</a></li> <li><a href="/wiki/Help:AllPages" title="Help:AllPages">AllPages</a></li> <li><a href="/wiki/Wikipedia:Edit_filter" title="Wikipedia:Edit filter">Edit filter</a></li> <li><a href="/wiki/Wikipedia:Emailing_users" title="Wikipedia:Emailing users">Emailing users</a></li> <li><a href="/wiki/Help:Logging_in" title="Help:Logging in">Logging in</a> <ul><li><a href="/wiki/Help:Reset_password" title="Help:Reset password">Reset passwords</a></li></ul></li> <li><a href="/wiki/Help:Log" title="Help:Log">Logs</a></li> <li><a href="/wiki/Wikipedia:Moving_a_page" title="Wikipedia:Moving a page">Moving a page</a> <ul><li><a href="/wiki/Wikipedia:History_merging" title="Wikipedia:History merging">History merging</a></li> <li><a href="/wiki/Help:When_to_place_technical_requests_in_%22Administrator_needed%22" title="Help:When to place technical requests in &quot;Administrator needed&quot;">Non-admin and admin-only page moves</a></li></ul></li> <li><a href="/wiki/Help:Notifications" title="Help:Notifications">Notifications/Echo</a> <ul><li><a href="/wiki/Help:Notifications/FAQ" title="Help:Notifications/FAQ">FAQ</a></li></ul></li> <li><a href="/wiki/Wikipedia:Page_Curation/Help" title="Wikipedia:Page Curation/Help">Page Curation</a></li> <li><a href="/wiki/Help:Import" title="Help:Import">Page import</a></li> <li><a href="/wiki/Wikipedia:Pending_changes" title="Wikipedia:Pending changes">Pending changes</a></li> <li><a href="/wiki/Wikipedia:Random" title="Wikipedia:Random">Random pages</a></li> <li><a href="/wiki/Help:Recent_changes" title="Help:Recent changes">Recent changes</a></li> <li><a href="/wiki/Help:Related_changes" title="Help:Related changes">Related changes</a></li> <li><a href="/wiki/Help:Searching" title="Help:Searching">Searching</a> <ul><li><a href="/wiki/Help:Linksearch" title="Help:Linksearch">Linksearch</a></li></ul></li> <li><a href="/wiki/Wikipedia:Tags" title="Wikipedia:Tags">Tags</a></li> <li><a href="/wiki/Help:User_contributions" title="Help:User contributions">User contributions</a></li> <li><a href="/wiki/Help:Watchlist" title="Help:Watchlist">Watchlist</a></li> <li><a href="/wiki/Help:What_links_here" title="Help:What links here">What links here</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Help:Wikitext" title="Help:Wikitext">Wikitext</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Wikitext" title="Help:Wikitext">Wikitext</a> <ul><li><a href="/wiki/Help:Cheatsheet" title="Help:Cheatsheet">Cheatsheet</a></li></ul></li> <li><a href="/wiki/Help:Columns" title="Help:Columns">Columns</a></li> <li><a href="/wiki/Help:Line-break_handling" title="Help:Line-break handling">Line-break handling</a></li> <li><a href="/wiki/Help:List" title="Help:List">Lists</a></li> <li><a href="/wiki/Help:Magic_words" title="Help:Magic words">Magic words</a> <ul><li><a href="/wiki/Help:Magic_words_for_beginners" title="Help:Magic words for beginners">For beginners</a></li> <li><a href="/wiki/Help:Conditional_expressions" title="Help:Conditional expressions">Conditional expressions</a></li> <li><a href="/wiki/Help:Switch_parser_function" title="Help:Switch parser function">Switch parser function</a></li> <li><a href="/wiki/Help:Time_function" title="Help:Time function">Time function</a></li></ul></li> <li><a href="/wiki/Help:Redirect" title="Help:Redirect">Redirects</a></li> <li><a href="/wiki/Help:Section" title="Help:Section">Sections and TOCs</a></li> <li><a href="/wiki/Help:Table" title="Help:Table">Tables</a> <ul><li><a href="/wiki/Help:Introduction_to_tables_with_Wiki_Markup/1" title="Help:Introduction to tables with Wiki Markup/1">Introduction</a></li> <li><a href="/wiki/Help:Basic_table_markup" title="Help:Basic table markup">Basics</a></li> <li><a href="/wiki/Help:Advanced_table_formatting" title="Help:Advanced table formatting">Advanced table formatting</a></li> <li><a href="/wiki/Help:Collapsing" class="mw-redirect" title="Help:Collapsing">Collapsing</a></li> <li><a href="/wiki/Help:Conditional_tables" title="Help:Conditional tables">Conditional tables</a></li> <li><a href="/wiki/Help:Sortable_tables" title="Help:Sortable tables">Sortable tables</a></li></ul></li> <li><a href="/wiki/Help:Using_colours" title="Help:Using colours">Using colours</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Help:Link" title="Help:Link">Links</a> and <a href="/wiki/Help:Diff" title="Help:Diff">diffs</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Link" title="Help:Link">Links</a> <ul><li><a href="/wiki/Help:Interlanguage_links" title="Help:Interlanguage links">Interlanguage</a></li> <li><a href="/wiki/Help:Interwiki_linking" title="Help:Interwiki linking">Interwiki</a></li> <li><a href="/wiki/Help:Permanent_link" title="Help:Permanent link">Permanent</a></li></ul></li> <li><a href="/wiki/Help:Diff" title="Help:Diff">Diffs</a> <ul><li><a href="/wiki/Wikipedia:Simplest_diff_guide" title="Wikipedia:Simplest diff guide">Simplest diff guide</a></li> <li><a href="/wiki/Wikipedia:Simple_diff_and_link_guide" title="Wikipedia:Simple diff and link guide">Simple diff and link guide</a></li> <li><a href="/wiki/Wikipedia:Complete_diff_and_link_guide" title="Wikipedia:Complete diff and link guide">Complete diff and link guide</a></li></ul></li> <li><a href="/wiki/Help:Colon_trick" title="Help:Colon trick">Colon trick</a></li> <li><a href="/wiki/Help:Link_color" title="Help:Link color">Link color</a></li> <li><a href="/wiki/Help:Pipe_trick" title="Help:Pipe trick">Pipe trick</a></li> <li><a href="/wiki/Help:URL" title="Help:URL">URLs</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Wikipedia:Media" class="mw-disambig" title="Wikipedia:Media">Media</a> files: images,<br/>videos and sounds</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Media" title="Help:Media">Media help</a></li> <li><a href="/wiki/Help:Files" title="Help:Files">Files</a> <ul><li><a href="/wiki/Help:Creation_and_usage_of_media_files" title="Help:Creation and usage of media files">Creation and usage</a></li> <li><a href="/wiki/Wikipedia:Moving_files_to_Commons" title="Wikipedia:Moving files to Commons">Moving files to Commons</a></li></ul></li> <li><a href="/wiki/Wikipedia:Images" title="Wikipedia:Images">Images</a> <ul><li><a href="/wiki/Help:Introduction_to_images_with_Wiki_Markup/1" title="Help:Introduction to images with Wiki Markup/1">Introduction to images</a></li> <li><a href="/wiki/Help:Pictures" title="Help:Pictures">Picture tutorial</a></li> <li><a href="/wiki/Wikipedia:Preparing_images_for_upload" title="Wikipedia:Preparing images for upload">Preparing images for upload</a></li> <li><a href="/wiki/Wikipedia:Uploading_images" title="Wikipedia:Uploading images">Uploading images</a></li> <li><a href="/wiki/Help:Options_to_hide_an_image" title="Help:Options to hide an image">Options to hide an image</a></li> <li><a href="/wiki/Wikipedia:Extended_image_syntax" title="Wikipedia:Extended image syntax">Extended image syntax</a></li> <li><a href="/wiki/Wikipedia:SVG_help" title="Wikipedia:SVG help">SVG help</a></li></ul></li> <li><a class="mw-selflink selflink">Gallery tag</a></li> <li><a href="/wiki/Wikipedia:Graphics_tutorials" title="Wikipedia:Graphics tutorials">Graphics tutorials</a> <ul><li><a href="/wiki/Wikipedia:Basic_bitmap_image_editing" title="Wikipedia:Basic bitmap image editing">Basic bitmap image editing</a></li> <li><a href="/wiki/Wikipedia:How_to_improve_image_quality" title="Wikipedia:How to improve image quality">How to improve image quality</a></li> <li><a href="/wiki/Wikipedia:Graphics_Lab/Resources" title="Wikipedia:Graphics Lab/Resources">Graphics Lab resources</a></li></ul></li> <li><a href="/wiki/Help:Sound_file_markup" title="Help:Sound file markup">Sound file markup</a></li> <li><a href="/wiki/Help:Visual_file_markup" title="Help:Visual file markup">Visual file markup</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%">Other graphics</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Family_trees" title="Help:Family trees">Family trees</a></li> <li><a href="/wiki/Wikipedia:Graphs_and_charts" title="Wikipedia:Graphs and charts">Graphs and charts</a> <ul><li><a href="/wiki/Wikipedia:How_to_create_charts_for_Wikipedia_articles" title="Wikipedia:How to create charts for Wikipedia articles">How to create</a></li> <li><a href="/wiki/Help:Barchart" title="Help:Barchart">Barcharts</a></li> <li><a href="/wiki/Wikipedia:To_scale_charts" title="Wikipedia:To scale charts">To scale charts</a></li></ul></li> <li><a href="/wiki/Help:Displaying_a_formula" title="Help:Displaying a formula">Math formulas</a> <ul><li><a href="/wiki/Help:Displaying_a_formula#Use_of_HTML_templates" title="Help:Displaying a formula">Math symbols</a></li></ul></li> <li><a href="/wiki/Help:Score" title="Help:Score">Musical scores</a> <ul><li><a href="/wiki/Help:Musical_symbols" title="Help:Musical symbols">Musical symbols</a></li></ul></li> <li><a href="/wiki/Wikipedia:Timeline" title="Wikipedia:Timeline">Timeline</a> <ul><li><a href="/wiki/Help:EasyTimeline_syntax" title="Help:EasyTimeline syntax">EasyTimeline syntax</a></li></ul></li> <li><a href="/wiki/Help:WikiHiero_syntax" title="Help:WikiHiero syntax">WikiHiero syntax</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Help:A_quick_guide_to_templates" title="Help:A quick guide to templates">Templates</a> and<br/><a href="/wiki/Lua_(programming_language)" title="Lua (programming language)">Lua</a> modules</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Template" title="Help:Template">Templates</a></li> <li><a href="/wiki/Wikipedia:Advanced_template_coding" title="Wikipedia:Advanced template coding">Advanced template coding</a></li> <li><a href="/wiki/Wikipedia:Template_documentation" title="Wikipedia:Template documentation">Template documentation</a></li> <li><a href="/wiki/Wikipedia:Template_index" title="Wikipedia:Template index">Template index</a></li> <li><a href="/wiki/Help:Template_limits" title="Help:Template limits">Template limits</a></li> <li><a href="/wiki/Wikipedia:Template_sandbox_and_test_cases" title="Wikipedia:Template sandbox and test cases">Template sandbox and test cases</a></li> <li><a href="/wiki/Wikipedia:Citation_templates" title="Wikipedia:Citation templates">Citation templates</a></li> <li><a href="/wiki/Help:Lua" title="Help:Lua">Lua help</a></li> <li><a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">Lua project</a> <ul><li><a href="/wiki/Wikipedia:Lua/Resources" title="Wikipedia:Lua/Resources">Resources</a></li> <li><a href="/wiki/Wikipedia:Lua/To_do" title="Wikipedia:Lua/To do">To do</a></li></ul></li> <li><a href="/wiki/Help:Substitution" title="Help:Substitution">Substitution</a></li> <li><a href="/wiki/Help:Purge" title="Help:Purge">Purge</a> <ul><li><a href="/wiki/Help:Job_queue" title="Help:Job queue">Job queue</a></li></ul></li> <li><a href="/wiki/Help:Transclusion" title="Help:Transclusion">Transclusion</a> <ul><li><a href="/wiki/Help:Labeled_section_transclusion" title="Help:Labeled section transclusion">Labeled section</a></li> <li><a href="/wiki/Wikipedia:Transclusion_costs_and_benefits" title="Wikipedia:Transclusion costs and benefits">Costs and benefits</a></li></ul></li> <li><a href="/wiki/Wikipedia:Guide_to_Scribbling" title="Wikipedia:Guide to Scribbling">Guide to Scribbling</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Wikipedia:Administration#Data_structure_and_development" title="Wikipedia:Administration">Data structure</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Wikipedia:Namespace" title="Wikipedia:Namespace">Namespaces</a></li> <li><a href="/wiki/Wikipedia:What_is_an_article%3F" title="Wikipedia:What is an article?">Main/Article</a></li> <li><a href="/wiki/Help:Category" title="Help:Category">Category</a></li> <li><a href="/wiki/Wikipedia:Drafts" title="Wikipedia:Drafts">Draft</a></li> <li><a href="/wiki/Help:Files" title="Help:Files">File</a> <ul><li><a href="/wiki/Help:File_description_page" title="Help:File description page">File description page</a></li></ul></li> <li><a href="/wiki/Wikipedia:Help_namespace" title="Wikipedia:Help namespace">Help</a></li> <li><a href="/wiki/Wikipedia:Portal" title="Wikipedia:Portal">Portal</a></li> <li><a href="/wiki/Wikipedia:Project_namespace" title="Wikipedia:Project namespace">Project/Wikipedia</a></li> <li><a href="/wiki/Help:Talk_pages" title="Help:Talk pages">Talk</a> <ul><li><a href="/wiki/Help:Archiving_a_talk_page" title="Help:Archiving a talk page">Archiving</a> <ul><li><a href="/wiki/Help:Archiving_(plain_and_simple)" title="Help:Archiving (plain and simple)">Simple</a></li></ul></li></ul></li> <li><a href="/wiki/Wikipedia:Template_namespace" title="Wikipedia:Template namespace">Template</a></li> <li><a href="/wiki/Wikipedia:User_pages" title="Wikipedia:User pages">User</a> <ul><li><a href="/wiki/Wikipedia:User_page_design_guide" title="Wikipedia:User page design guide">User page design</a></li></ul></li> <li><a href="/wiki/Help:MediaWiki_namespace" title="Help:MediaWiki namespace">MediaWiki</a> <ul><li><a href="/wiki/Wikipedia:Bug_reports_and_feature_requests" title="Wikipedia:Bug reports and feature requests">Bug reports and feature requests</a></li> <li><a href="https://www.mediawiki.org/wiki/Extension:TimedMediaHandler" class="extiw" title="mw:Extension:TimedMediaHandler">TimedMediaHandler extension</a></li></ul></li> <li><a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">Module</a></li> <li><a href="/wiki/Help:Special_page" title="Help:Special page">Special</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/HTML" title="HTML">HTML</a> and <a href="/wiki/CSS" title="CSS">CSS</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Cascading_Style_Sheets" title="Help:Cascading Style Sheets">Cascading Style Sheets</a></li> <li><a href="/wiki/Help:HTML_in_wikitext" title="Help:HTML in wikitext">HTML in wikitext</a></li> <li><a href="/wiki/Wikipedia:Catalogue_of_CSS_classes" title="Wikipedia:Catalogue of CSS classes">Catalogue of CSS classes</a></li> <li><a href="/wiki/Wikipedia:Common.js_and_common.css" title="Wikipedia:Common.js and common.css">Common.js and common.css</a></li> <li><a href="/wiki/Template:Mxt/User_CSS_for_a_monospaced_coding_font" title="Template:Mxt/User CSS for a monospaced coding font">User CSS for monospaced coding font</a></li> <li><a href="/wiki/Wikipedia:WikiProject_Microformats/classes" title="Wikipedia:WikiProject Microformats/classes">Classes in microformats</a></li> <li><a href="/wiki/Help:Markup_validation" title="Help:Markup validation">Markup validation</a></li> <li><a href="/wiki/Wikipedia:Span_tags" title="Wikipedia:Span tags">Span tags</a></li> <li><a href="/wiki/Help:Useful_styles" title="Help:Useful styles">Useful styles</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%"><a href="/wiki/Wikipedia:Customisation" title="Wikipedia:Customisation">Customisation</a><br/>and tools</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Help:Preferences" title="Help:Preferences">Preferences</a></li> <li><a href="/wiki/Wikipedia:Gadget" title="Wikipedia:Gadget">Gadgets</a></li> <li><a href="/wiki/Wikipedia:Skin" title="Wikipedia:Skin">Skins</a></li> <li><a href="/wiki/Help:Citation_tools" title="Help:Citation tools">Citation tools</a></li> <li><a href="/wiki/Wikipedia:Cleaning_up_vandalism/Tools" title="Wikipedia:Cleaning up vandalism/Tools">Cleaning up vandalism tools</a></li> <li><a href="/wiki/Wikipedia:Customizing_watchlists" title="Wikipedia:Customizing watchlists">Customizing watchlists</a> <ul><li><a href="/wiki/Help:Hide_Pages_in_Watchlist" title="Help:Hide Pages in Watchlist">Hide pages</a></li></ul></li> <li><a href="/wiki/Wikipedia:Scripts" title="Wikipedia:Scripts">IRC Scripts</a></li> <li><a href="/wiki/Wikipedia:User_scripts" title="Wikipedia:User scripts">User scripts</a> <ul><li><a href="/wiki/Wikipedia:User_scripts/Guide" title="Wikipedia:User scripts/Guide">Guide</a></li> <li><a href="/wiki/Wikipedia:User_scripts/List" title="Wikipedia:User scripts/List">List</a></li> <li><a href="/wiki/Wikipedia:User_scripts/Techniques" title="Wikipedia:User scripts/Techniques">Techniques</a></li></ul></li> <li><a href="/wiki/Help:User_style" title="Help:User style">User style</a></li> <li><a href="/wiki/Wikipedia:Tools" title="Wikipedia:Tools">Tools</a> <ul><li><a href="/wiki/Wikipedia:Tools/Alternative_browsing" title="Wikipedia:Tools/Alternative browsing">Alternative browsing</a></li> <li><a href="/wiki/Wikipedia:Tools/Browser_tools" title="Wikipedia:Tools/Browser tools">Browser tools</a></li> <li><a href="/wiki/Wikipedia:Tools/Editing_tools" title="Wikipedia:Tools/Editing tools">Editing tools</a></li> <li><a href="/wiki/Wikipedia:Tools/Navigation_shortcuts" title="Wikipedia:Tools/Navigation shortcuts">Navigation shortcuts</a></li> <li><a href="/wiki/Wikipedia:Tools/Optimum_tool_set" title="Wikipedia:Tools/Optimum tool set">Optimum tool set</a></li></ul></li> <li><a href="/wiki/Wikipedia:Wikimedia_Cloud_Services" title="Wikipedia:Wikimedia Cloud Services">Wikimedia Cloud Services</a></li> <li><a href="https://www.mediawiki.org/wiki/Beta_Features" class="extiw" title="mw:Beta Features">Beta Features at MediaWiki</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align: center;;width:1%">Automated editing</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Wikipedia:WikiProject_Articles_for_creation/Helper_script" title="Wikipedia:WikiProject Articles for creation/Helper script">AfC helper script</a></li> <li><a href="/wiki/Wikipedia:AntiVandal" title="Wikipedia:AntiVandal">AntiVandal</a></li> <li><a href="/wiki/Wikipedia:AutoWikiBrowser" title="Wikipedia:AutoWikiBrowser">AutoWikiBrowser</a></li> <li><a href="/wiki/Wikipedia:Bots" title="Wikipedia:Bots">Bots</a> <ul><li><a href="/wiki/Help:Creating_a_bot" title="Help:Creating a bot">Creating</a></li> <li><a href="/wiki/Wikipedia:History_of_Wikipedia_bots" title="Wikipedia:History of Wikipedia bots">history</a></li></ul></li> <li><a href="/wiki/Wikipedia:HotCat" title="Wikipedia:HotCat">HotCat</a></li> <li><a href="/wiki/Wikipedia:Huggle" title="Wikipedia:Huggle">Huggle</a></li> <li><a href="/wiki/Wikipedia:Tools/Navigation_popups" title="Wikipedia:Tools/Navigation popups">Navigation popups</a></li> <li><a href="/wiki/Wikipedia:RedWarn" title="Wikipedia:RedWarn">RedWarn</a></li> <li><a href="/wiki/Wikipedia:Twinkle" title="Wikipedia:Twinkle">Twinkle</a></li> <li><a href="/wiki/Wikipedia:Ultraviolet" title="Wikipedia:Ultraviolet">Ultraviolet</a></li> <li><a href="/wiki/Wikipedia:WPCleaner" title="Wikipedia:WPCleaner">WPCleaner</a></li> <li>Inactive <ul><li><a href="/wiki/Wikipedia:Igloo" title="Wikipedia:Igloo">igloo</a></li> <li><a href="/wiki/Wikipedia:STiki" title="Wikipedia:STiki">STiki</a></li></ul></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2" style="text-align: center;"><div> <ul><li>See also: <b><a href="/wiki/Category:Wikipedia_how-to" title="Category:Wikipedia how-to">Category:Wikipedia how-to</a></b></li> <li><b><a href="/wiki/Category:Wikipedia_information_pages" title="Category:Wikipedia information pages">Category:Wikipedia information pages</a></b><br/>Further navigation at: <a href="/wiki/Template:Wikipedia_help_pages" title="Template:Wikipedia help pages">Help pages</a> <ul><li><a href="/wiki/Template:Administrators%27_guide" title="Template:Administrators' guide">Administrators</a></li></ul></li> <li><a href="/wiki/Wikipedia:WikiProject_Accessibility/Navigation_menu" title="Wikipedia:WikiProject Accessibility/Navigation menu">Accessibility</a></li> <li><a href="/wiki/Template:Wikipedia_accounts" title="Template:Wikipedia accounts">Accounts</a></li> <li><a href="/wiki/Template:Botnav" title="Template:Botnav">Bots</a></li> <li><a href="/wiki/Template:Wikipedia_referencing" title="Template:Wikipedia referencing">Referencing</a> <ul><li><a href="/wiki/Template:Citation_metadata_navbox" title="Template:Citation metadata navbox">Citation metadata</a></li></ul></li> <li><a href="/wiki/Template:Wikipedia_templates" title="Template:Wikipedia templates">Templates</a></li> <li><a href="/wiki/Wikipedia:User_scripts/Navbox" title="Wikipedia:User scripts/Navbox">User scripts</a></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐746bf6896b‐wscvb Cached time: 20241119005159 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.076 seconds CPU time usage: 0.472 seconds Real time usage: 0.601 seconds Preprocessor visited node count: 1641/1000000 Post‐expand include size: 73103/2097152 bytes Template argument size: 1533/2097152 bytes Highest expansion depth: 10/100 Expensive parser function count: 10/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 75926/5000000 bytes Lua time usage: 0.177/10.000 seconds Lua memory usage: 1935364/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 389.963 1 -total 26.20% 102.185 1 Template:Wikipedia_technical_help 19.75% 77.037 1 Template:Wikipedia_how-to 19.75% 77.016 1 Template:MediaWiki 19.30% 75.266 1 Template:Sister_project 18.78% 73.229 1 Template:Side_box 15.40% 60.045 1 Template:Ombox 11.19% 43.618 2 Template:For 8.85% 34.494 1 Template:Shortcut 3.75% 14.621 1 Template:Namespace_detect --> <!-- Saved in parser cache with key enwiki:pcache:idhash:1386273-0!canonical and timestamp 20241119005159 and revision id 1258100536. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Help:Gallery_tag&amp;oldid=1258100536">https://en.wikipedia.org/w/index.php?title=Help:Gallery_tag&amp;oldid=1258100536</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Wikipedia_how-to" title="Category:Wikipedia how-to">Wikipedia how-to</a></li><li><a href="/wiki/Category:Wikipedia_features" title="Category:Wikipedia features">Wikipedia features</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden category: <ul><li><a href="/wiki/Category:Wikipedia_image_help" title="Category:Wikipedia image help">Wikipedia image help</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 18 November 2024, at 03:51<span class="anonymous-show">&#160;(UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Help:Gallery_tag&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-749c85c58b-vxzq2","wgBackendResponseTime":129,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Attributes_and_values","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Usage_notes","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Inserting_images-Usage_notes","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Syntax","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Extended_syntax-Syntax","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Captions-Syntax","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Center","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-See_also","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.076"},"limitreport":{"cputime":"0.472","walltime":"0.601","ppvisitednodes":{"value":1641,"limit":1000000},"postexpandincludesize":{"value":73103,"limit":2097152},"templateargumentsize":{"value":1533,"limit":2097152},"expansiondepth":{"value":10,"limit":100},"expensivefunctioncount":{"value":10,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":75926,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 389.963 1 -total"," 26.20% 102.185 1 Template:Wikipedia_technical_help"," 19.75% 77.037 1 Template:Wikipedia_how-to"," 19.75% 77.016 1 Template:MediaWiki"," 19.30% 75.266 1 Template:Sister_project"," 18.78% 73.229 1 Template:Side_box"," 15.40% 60.045 1 Template:Ombox"," 11.19% 43.618 2 Template:For"," 8.85% 34.494 1 Template:Shortcut"," 3.75% 14.621 1 Template:Namespace_detect"]},"scribunto":{"limitreport-timeusage":{"value":"0.177","limit":"10.000"},"limitreport-memusage":{"value":1935364,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-746bf6896b-wscvb","timestamp":"20241119005159","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10