CINXE.COM

Help:Table/Advanced - 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:Table/Advanced - 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":"2a7eaee3-f5dd-4380-a085-51bbe918ba23","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:Table/Advanced","wgTitle":"Table/Advanced","wgCurRevisionId":1255219750,"wgRevisionId":1255219750,"wgArticleId":75525651,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Wikipedia how-to","Wikipedia tables","Wikipedia text help"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:Table/Advanced","wgRelevantArticleId":75525651,"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":30000,"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,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","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.inputBox.styles":"ready","ext.pygments":"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.tablesorter.styles":"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.media","site","mediawiki.page.ready","jquery.tablesorter","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","ext.checkUser.clientHints"];</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.inputBox.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cjquery.tablesorter.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.4"> <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:Table/Advanced - 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:Table/Advanced"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Help:Table/Advanced&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:Table/Advanced"> <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_Table_Advanced rootpage-Help_Table 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%3ATable%2FAdvanced" 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%3ATable%2FAdvanced" 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%3ATable%2FAdvanced" 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%3ATable%2FAdvanced" 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-Horizontal_alignment_in_cells" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Horizontal_alignment_in_cells"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Horizontal alignment in cells</span> </div> </a> <button aria-controls="toc-Horizontal_alignment_in_cells-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 Horizontal alignment in cells subsection</span> </button> <ul id="toc-Horizontal_alignment_in_cells-sublist" class="vector-toc-list"> <li id="toc-Aligning_text_in_header_cells_versus_other_cells" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Aligning_text_in_header_cells_versus_other_cells"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Aligning text in header cells versus other cells</span> </div> </a> <ul id="toc-Aligning_text_in_header_cells_versus_other_cells-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Aligning_the_data_in_data_columns_to_the_right" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Aligning_the_data_in_data_columns_to_the_right"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Aligning the data in data columns to the right</span> </div> </a> <ul id="toc-Aligning_the_data_in_data_columns_to_the_right-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Decimal_point_alignment" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Decimal_point_alignment"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>Decimal point alignment</span> </div> </a> <ul id="toc-Decimal_point_alignment-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Column_alignment" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Column_alignment"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>Column alignment</span> </div> </a> <ul id="toc-Column_alignment-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Aligning_the_text_in_the_first_column_to_the_left" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Aligning_the_text_in_the_first_column_to_the_left"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5</span> <span>Aligning the text in the first column to the left</span> </div> </a> <ul id="toc-Aligning_the_text_in_the_first_column_to_the_left-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Side_by_side_tables" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Side_by_side_tables"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Side by side tables</span> </div> </a> <ul id="toc-Side_by_side_tables-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Side_by_side_tables/images" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Side_by_side_tables/images"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Side by side tables/images</span> </div> </a> <ul id="toc-Side_by_side_tables/images-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Scrolling_tables" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Scrolling_tables"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Scrolling tables</span> </div> </a> <button aria-controls="toc-Scrolling_tables-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 Scrolling tables subsection</span> </button> <ul id="toc-Scrolling_tables-sublist" class="vector-toc-list"> <li id="toc-Vertical_scrolling_table" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Vertical_scrolling_table"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>Vertical scrolling table</span> </div> </a> <ul id="toc-Vertical_scrolling_table-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Horizontal_scrolling_table" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Horizontal_scrolling_table"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>Horizontal scrolling table</span> </div> </a> <ul id="toc-Horizontal_scrolling_table-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Tables_with_sticky_headers" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Tables_with_sticky_headers"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Tables with sticky headers</span> </div> </a> <ul id="toc-Tables_with_sticky_headers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Scrolling_tables_with_sticky_column_and_row_headers" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Scrolling_tables_with_sticky_column_and_row_headers"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Scrolling tables with sticky column and row headers</span> </div> </a> <ul id="toc-Scrolling_tables_with_sticky_column_and_row_headers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Automatically_updated_scrolling_tables_with_sticky_headers" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Automatically_updated_scrolling_tables_with_sticky_headers"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Automatically updated scrolling tables with sticky headers</span> </div> </a> <ul id="toc-Automatically_updated_scrolling_tables_with_sticky_headers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Sortable_tables" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Sortable_tables"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Sortable tables</span> </div> </a> <ul id="toc-Sortable_tables-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Collapsible_tables" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Collapsible_tables"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Collapsible tables</span> </div> </a> <ul id="toc-Collapsible_tables-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Highlight_rows_on_hover" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Highlight_rows_on_hover"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Highlight rows on hover</span> </div> </a> <ul id="toc-Highlight_rows_on_hover-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">11</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">Table/Advanced</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="This article exist only in this language. Add the article for other 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-0" 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">Add languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=enwiki&amp;page=Help%3ATable%2FAdvanced" title="Add interlanguage links" class="wbc-editpage">Add 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:Table/Advanced" 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:Table/Advanced" 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:Table/Advanced"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:Table/Advanced&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:Table/Advanced&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:Table/Advanced"><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:Table/Advanced&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:Table/Advanced&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:Table/Advanced" 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:Table/Advanced" 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:Table/Advanced&amp;oldid=1255219750" 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:Table/Advanced&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%3ATable%2FAdvanced"><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%3ATable%2FAdvanced"><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%3ATable%2FAdvanced&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:Table/Advanced&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 emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </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 class="subpages">&lt; <bdi dir="ltr"><a href="/wiki/Help:Table" title="Help:Table">Help:Table</a></bdi></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">How to create and use tables in markup</div> <div style="border:solid 1px; padding-left:7px; padding-right:7px; padding-bottom:7px; padding-top:4px;"> <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><div class="hlist"> <ul><li><a href="/wiki/Help:Table" title="Help:Table">Help:Table</a> (main page)</li> <li><a href="/wiki/Help:Introduction_to_tables_with_Wiki_Markup/1" title="Help:Introduction to tables with Wiki Markup/1">Introduction</a> <ul><li><a href="/wiki/Help:Introduction_to_tables_with_Wiki_Markup/2" title="Help:Introduction to tables with Wiki Markup/2">2</a></li> <li><a href="/wiki/Help:Introduction_to_tables_with_Wiki_Markup/3" title="Help:Introduction to tables with Wiki Markup/3">3</a></li> <li><a href="/wiki/Help:Introduction_to_tables_with_Wiki_Markup/4" title="Help:Introduction to tables with Wiki Markup/4">4</a></li> <li><a href="/wiki/Help:Introduction_to_tables_with_Wiki_Markup/All" title="Help:Introduction to tables with Wiki Markup/All">All</a></li></ul></li> <li><a href="/wiki/Help:Introduction_to_tables_with_VisualEditor/1" title="Help:Introduction to tables with VisualEditor/1">VisualEditor</a> <ul><li><a href="/wiki/Help:Introduction_to_tables_with_VisualEditor/2" title="Help:Introduction to tables with VisualEditor/2">2</a></li> <li><a href="/wiki/Help:Introduction_to_tables_with_VisualEditor/3" title="Help:Introduction to tables with VisualEditor/3">3</a></li> <li><a href="/wiki/Help:Introduction_to_tables_with_VisualEditor/4" title="Help:Introduction to tables with VisualEditor/4">4</a></li> <li><a href="/wiki/Help:Introduction_to_tables_with_VisualEditor/5" title="Help:Introduction to tables with VisualEditor/5">5</a></li></ul></li> <li><a href="/wiki/Help:Basic_table_markup" title="Help:Basic table markup">Basics</a></li> <li><a href="/wiki/Help:Creating_tables" title="Help:Creating tables">Creation</a></li> <li><a href="/wiki/Help:Tables_and_locations" title="Help:Tables and locations">Locations</a></li> <li><a class="mw-selflink selflink">Advanced</a> <ul><li><a href="/wiki/Help:Advanced_table_formatting" title="Help:Advanced table formatting">Formatting</a></li> <li><a href="/wiki/Help:Collapsing_tables_and_more" title="Help:Collapsing tables and more">Collapsing</a></li> <li><a href="/wiki/Help:Sortable_tables" title="Help:Sortable tables">Sortable</a></li> <li><a href="/wiki/Help:Conditional_tables" title="Help:Conditional tables">Conditional</a></li></ul></li> <li><a href="/wiki/Category:Wikipedia_tables" title="Category:Wikipedia tables">Category</a> <ul><li><a href="/wiki/Category:Table_templates" title="Category:Table templates">Templates</a></li></ul></li> <li><a href="/wiki/Wikipedia:Manual_of_Style/Tables" title="Wikipedia:Manual of Style/Tables">MOS</a> (<a href="/wiki/Wikipedia:Manual_of_Style/Accessibility/Data_tables_tutorial" title="Wikipedia:Manual of Style/Accessibility/Data tables tutorial">Accessibility</a>).</li></ul> </div><div class="mw-inputbox-centered" style=""><form name="searchbox" class="searchbox mw-inputbox-form-inline" action="/wiki/Special:Search" id="style-searchbox"><div class="cdx-text-input"><input class="mw-searchInput searchboxInput cdx-text-input__input" name="search" placeholder="" size="18" dir="ltr"/></div><input type="hidden" value="hastemplate:&quot;Table help&quot; intitle:/table/i" name="searchfilter"/> <input type="hidden" name="ns12" value="1" id="mw-inputbox-ns12-style-searchbox0.917489335834" checked=""/> <input type="submit" name="fulltext" value="Search all" class="cdx-button"/><input type="hidden" value="Search" name="fulltext"/></form></div></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></tr></tbody></table> <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:Table/A"></span></div><div class="module-shortcutboxplain noprint" role="note"><div class="module-shortcutlist"><a href="/wiki/Wikipedia:Shortcut" title="Wikipedia:Shortcut">Shortcut</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:Table/A&amp;redirect=no">H:Table/A</a></span></li></ul></div></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"><style data-mw-deduplicate="TemplateStyles:r1246091330">.mw-parser-output .sidebar{width:22em;float:right;clear:right;margin:0.5em 0 1em 1em;background:var(--background-color-neutral-subtle,#f8f9fa);border:1px solid var(--border-color-base,#a2a9b1);padding:0.2em;text-align:center;line-height:1.4em;font-size:88%;border-collapse:collapse;display:table}body.skin-minerva .mw-parser-output .sidebar{display:table!important;float:right!important;margin:0.5em 0 1em 1em!important}.mw-parser-output .sidebar-subgroup{width:100%;margin:0;border-spacing:0}.mw-parser-output .sidebar-left{float:left;clear:left;margin:0.5em 1em 1em 0}.mw-parser-output .sidebar-none{float:none;clear:both;margin:0.5em 1em 1em 0}.mw-parser-output .sidebar-outer-title{padding:0 0.4em 0.2em;font-size:125%;line-height:1.2em;font-weight:bold}.mw-parser-output .sidebar-top-image{padding:0.4em}.mw-parser-output .sidebar-top-caption,.mw-parser-output .sidebar-pretitle-with-top-image,.mw-parser-output .sidebar-caption{padding:0.2em 0.4em 0;line-height:1.2em}.mw-parser-output .sidebar-pretitle{padding:0.4em 0.4em 0;line-height:1.2em}.mw-parser-output .sidebar-title,.mw-parser-output .sidebar-title-with-pretitle{padding:0.2em 0.8em;font-size:145%;line-height:1.2em}.mw-parser-output .sidebar-title-with-pretitle{padding:0.1em 0.4em}.mw-parser-output .sidebar-image{padding:0.2em 0.4em 0.4em}.mw-parser-output .sidebar-heading{padding:0.1em 0.4em}.mw-parser-output .sidebar-content{padding:0 0.5em 0.4em}.mw-parser-output .sidebar-content-with-subgroup{padding:0.1em 0.4em 0.2em}.mw-parser-output .sidebar-above,.mw-parser-output .sidebar-below{padding:0.3em 0.8em;font-weight:bold}.mw-parser-output .sidebar-collapse .sidebar-above,.mw-parser-output .sidebar-collapse .sidebar-below{border-top:1px solid #aaa;border-bottom:1px solid #aaa}.mw-parser-output .sidebar-navbar{text-align:right;font-size:115%;padding:0 0.4em 0.4em}.mw-parser-output .sidebar-list-title{padding:0 0.4em;text-align:left;font-weight:bold;line-height:1.6em;font-size:105%}.mw-parser-output .sidebar-list-title-c{padding:0 0.4em;text-align:center;margin:0 3.3em}@media(max-width:640px){body.mediawiki .mw-parser-output .sidebar{width:100%!important;clear:both;float:none!important;margin-left:0!important;margin-right:0!important}}body.skin--responsive .mw-parser-output .sidebar a>img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-list-title,html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle{background:transparent!important}html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle a{color:var(--color-progressive)!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-list-title,html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle{background:transparent!important}html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle a{color:var(--color-progressive)!important}}@media print{body.ns-0 .mw-parser-output .sidebar{display:none!important}}</style><style data-mw-deduplicate="TemplateStyles:r1232484023">.mw-parser-output .help-box{background:#f5faff;line-height:1.6em}.mw-parser-output .help-box .sidebar-title{background:#cee0f2;font-size:130%;padding-left:0.4em;padding-right:0.4em;margin-bottom:6px}.mw-parser-output .help-box .sidebar-heading{background:#cee0f2;padding:0.1em 0.7em 0.15em}.mw-parser-output .help-box .sidebar-content,.mw-parser-output .help-box .sidebar-content-with-subgroup{padding-top:0.15em}@media all and (min-width:720px){.mw-parser-output .help-box{width:auto;max-width:22em}}html.skin-theme-clientpref-night .mw-parser-output .help-box{background:#0d1a27}html.skin-theme-clientpref-night .mw-parser-output .help-box .sidebar-title,html.skin-theme-clientpref-night .mw-parser-output .help-box .sidebar-heading{background:#082849}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .help-box{background-color:#0d1a27}html.skin-theme-clientpref-os .mw-parser-output .help-box .sidebar-title,html.skin-theme-clientpref-os .mw-parser-output .help-box .sidebar-heading{background:#082849}}</style><table class="sidebar nomobile nowraplinks help-box noprint plainlist"><tbody><tr><th class="sidebar-title"><a href="/wiki/Help:Wikitext" title="Help:Wikitext">Wikitext</a></th></tr><tr><td class="sidebar-content"> <ul><li><a href="/wiki/Help:Cheatsheet" title="Help:Cheatsheet">Cheatsheet</a></li> <li><a href="/wiki/Help:Wikitext" title="Help:Wikitext">All wikitext</a></li> <li><a href="/wiki/Help:Sound_file_markup" title="Help:Sound file markup">Sound files</a></li> <li><a href="/wiki/Help:Visual_file_markup" title="Help:Visual file markup">Visual files</a></li> <li><a href="/wiki/Help:Table" title="Help:Table">Tables</a></li> <li><a href="/wiki/Help:Template" title="Help:Template">Templates</a> <a href="/wiki/Help:A_quick_guide_to_templates" title="Help:A quick guide to templates">(quick guide)</a></li> <li><a href="/wiki/Help:HTML_in_wikitext" title="Help:HTML in wikitext">Using HTML codes within wikitext</a></li> <li><a href="/wiki/Help:Pipe_trick" title="Help:Pipe trick">Pipe trick</a></li></ul></td> </tr><tr><td class="sidebar-navbar"><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:Wikitext_navbox" title="Template:Wikitext navbox"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Wikitext_navbox" title="Template talk:Wikitext navbox"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Wikitext_navbox" title="Special:EditPage/Template:Wikitext navbox"><abbr title="Edit this template">e</abbr></a></li></ul></div></td></tr></tbody></table> <p>Tables can be used as formatting instrument, but consider using a <a href="/wiki/Help:List#Multi-column_lists" title="Help:List">multi column list</a> instead. </p> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Horizontal_alignment_in_cells" data-mw-thread-id="h-Horizontal_alignment_in_cells"><span data-mw-comment-start="" id="h-Horizontal_alignment_in_cells"></span>Horizontal alignment in cells<span data-mw-comment-end="h-Horizontal_alignment_in_cells"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=1" title="Edit section: Horizontal alignment in cells"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Horizontal_alignment_in_cells","replies":["h-Aligning_text_in_header_cells_versus_other_cells-Horizontal_alignment_in_cells","h-Aligning_the_data_in_data_columns_to_the_right-Horizontal_alignment_in_cells","h-Decimal_point_alignment-Horizontal_alignment_in_cells","h-Column_alignment-Horizontal_alignment_in_cells","h-Aligning_the_text_in_the_first_column_to_the_left-Horizontal_alignment_in_cells"]}}--></div> <p>By default, text is aligned to the left of data cells. </p><p>By default, text is aligned to the center of header cells. </p><p>All of the above is true in both desktop and mobile view. </p><p>The alignment of header text in tables with <i><b><code>class=wikitable</code></b></i> stays centered regardless of global right or left text alignment via <i><b><code>style=text-align:VALUE</code></b></i> on the top line of table wikitext. </p><p>Header text alignment in tables without <i><b>class=wikitable</b></i> follows the global text alignment of the table. </p><p>Text alignment set in individual cells overrides everything else. </p> <div class="mw-heading mw-heading3"><h3 id="Aligning_text_in_header_cells_versus_other_cells" data-mw-thread-id="h-Aligning_text_in_header_cells_versus_other_cells-Horizontal_alignment_in_cells"><span data-mw-comment-start="" id="h-Aligning_text_in_header_cells_versus_other_cells-Horizontal_alignment_in_cells"></span>Aligning text in header cells versus other cells<span data-mw-comment-end="h-Aligning_text_in_header_cells_versus_other_cells-Horizontal_alignment_in_cells"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=2" title="Edit section: Aligning text in header cells versus other cells"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>If there is no global text alignment set in the top line of the table wikitext, then all text is left aligned, except for header cells which are default center aligned. </p><p>Only in tables with <i><b><code>class=wikitable</code></b></i> does the header cell text not follow the global text alignment set in the top line of the table wikitext. </p><p>When using <i><b><code>class=wikitable</code></b></i> header text now stays centered in both desktop and mobile view unless specifically changed per header cell. This is true wherever the header row is located (top, bottom, middle). Global text alignment for non-header cells is done by putting <i><b><code>style=text-align:VALUE</code></b></i> in the top line of the table wikitext. See example in the next section. </p> <div class="mw-heading mw-heading3"><h3 id="Aligning_the_data_in_data_columns_to_the_right" data-mw-thread-id="h-Aligning_the_data_in_data_columns_to_the_right-Horizontal_alignment_in_cells"><span data-mw-comment-start="" id="h-Aligning_the_data_in_data_columns_to_the_right-Horizontal_alignment_in_cells"></span>Aligning the data in data columns to the right<span data-mw-comment-end="h-Aligning_the_data_in_data_columns_to_the_right-Horizontal_alignment_in_cells"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=3" title="Edit section: Aligning the data in data columns to the right"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Both tables below use <i><b><code>class=wikitable</code></b></i> The table to the right also aligns the text and data in all cells (except header cells) to the right. </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <table class="wikitable"> <caption>Basic table </caption> <tbody><tr> <th>Header</th> <th>Header</th> <th>Header </th></tr> <tr> <td>Text</td> <td>data 12</td> <td>data 12 </td></tr> <tr> <td>Text</td> <td>data 123</td> <td>data 123 </td></tr> <tr> <td>Text</td> <td>data 1234</td> <td>data 1234 </td></tr></tbody></table> </div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <table class="wikitable" style="text-align:right"> <caption>style=text-align:right </caption> <tbody><tr> <th>Header</th> <th>Header</th> <th>Header </th></tr> <tr> <td>Text</td> <td>data 12</td> <td>data 12 </td></tr> <tr> <td>Text</td> <td>data 123</td> <td>data 123 </td></tr> <tr> <td>Text</td> <td>data 1234</td> <td>data 1234 </td></tr></tbody></table> </div> <p>If most columns consist of data cells, then you might choose to align the data to the right. It is easy. <br/> Just add <code>style=text-align:right</code> to the top line of the wikitext for the table: </p> <dl><dd><code>{| class=wikitable style=text-align:right</code></dd></dl> <p>or </p> <dl><dd><code>{| class="wikitable sortable" style=text-align:right</code></dd></dl> <p>and so on. </p> <div class="mw-heading mw-heading3"><h3 id="Decimal_point_alignment" data-mw-thread-id="h-Decimal_point_alignment-Horizontal_alignment_in_cells"><span data-mw-comment-start="" id="h-Decimal_point_alignment-Horizontal_alignment_in_cells"></span>Decimal point alignment<span data-mw-comment-end="h-Decimal_point_alignment-Horizontal_alignment_in_cells"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=4" title="Edit section: Decimal point alignment"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>There is no easy way to align a column of numbers so that the decimal points align. See multiple ways below. </p><p>One way to align columns of numbers at the decimal point is to use two columns, with the first right-justified and the second left-justified. </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">{|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"border-collapse: collapse;"</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align: right;"</span><span class="w"> </span><span class="p">|</span> 432 <span class="p">||</span> .1 <span class="p">|-</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align: right;"</span><span class="w"> </span><span class="p">|</span> 43 <span class="p">||</span> .21 <span class="p">|-</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align: right;"</span><span class="w"> </span><span class="p">|</span> 4 <span class="p">||</span> .321 <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table style="border-collapse: collapse;"> <tbody><tr> <td style="text-align: right;">432</td> <td>.1 </td></tr> <tr> <td style="text-align: right;">43</td> <td>.21 </td></tr> <tr> <td style="text-align: right;">4</td> <td>.321 </td></tr></tbody></table> </div> <p>If the column of numbers appears in a table with cell padding or cell borders, you can still align the decimal points without an unsightly gap in the middle, by forcing the border and padding between those two columns off. </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s">wikitable</span> <span class="p">!</span><span class="na">colspan</span><span class="o">=</span><span class="s">2</span><span class="p">|</span><span class="gu"> Heading</span> <span class="p">|-</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; border-right:none; padding-right:0;"</span><span class="w"> </span><span class="p">|</span> 432 <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:left; border-left: none; padding-left: 0;"</span><span class="w"> </span><span class="p">|</span> .1 <span class="p">|-</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; border-right:none; padding-right:0;"</span><span class="w"> </span><span class="p">|</span> 43 <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:left; border-left: none; padding-left: 0;"</span><span class="w"> </span><span class="p">|</span> .21 <span class="p">|-</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; border-right:none; padding-right:0;"</span><span class="w"> </span><span class="p">|</span> 4 <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:left; border-left: none; padding-left: 0;"</span><span class="w"> </span><span class="p">|</span> .321 <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table class="wikitable"> <tbody><tr> <th colspan="2">Heading </th></tr> <tr> <td style="text-align:right; border-right:none; padding-right:0;">432 </td> <td style="text-align:left; border-left: none; padding-left: 0;">.1 </td></tr> <tr> <td style="text-align:right; border-right:none; padding-right:0;">43 </td> <td style="text-align:left; border-left: none; padding-left: 0;">.21 </td></tr> <tr> <td style="text-align:right; border-right:none; padding-right:0;">4 </td> <td style="text-align:left; border-left: none; padding-left: 0;">.321 </td></tr></tbody></table> </div> <p>Or alternatively the <span class="nowrap">{{</span><a href="/wiki/Template:Decimal_cell" title="Template:Decimal cell">decimal cell</a><span class="nowrap">}}</span> template can be used: </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s">wikitable</span> <span class="p">!</span><span class="w"> </span><span class="na">colspan</span><span class="o">=</span><span class="s">2</span><span class="w"> </span><span class="p">|</span><span class="gu">Heading</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">decimal cell</span><span class="p">|</span>432.1<span class="p">}}</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">decimal cell</span><span class="p">|</span>43.21<span class="p">}}</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">decimal cell</span><span class="p">|</span>4.321<span class="p">}}</span> <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table class="wikitable"> <tbody><tr> <th colspan="2">Heading </th></tr> <tr> <td style="; text-align:right; border-right: none; padding-right: 0;">432<br/> </td> <td style="; text-align:left; border-left: none; padding-left: 0;">.1 </td></tr> <tr> <td style="; text-align:right; border-right: none; padding-right: 0;">43<br/> </td> <td style="; text-align:left; border-left: none; padding-left: 0;">.21 </td></tr> <tr> <td style="; text-align:right; border-right: none; padding-right: 0;">4<br/> </td> <td style="; text-align:left; border-left: none; padding-left: 0;">.321 </td></tr></tbody></table> </div> <p>Using two columns like this does have the disadvantage that searching the web page (either with a browser or a search engine) will usually not be able to find text that straddles the column boundary. </p><p>Also, if the table has cell <i>spacing</i> (and thus <code>border-collapse=separate</code>), meaning that cells have separate borders with a gap in between, that gap will still be visible. </p><p>A cruder way to align columns of numbers is to use a <a href="/wiki/Figure_space" title="Figure space">figure space</a> <code>&amp;#8199; or &amp;#x2007;</code>, which is intended to be the width of a numeral, though is font-dependent in practice: </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><pre><span></span>{| | 432.1 |- | <span class="ni">&amp;#8199;</span>43.21 |- | <span class="ni">&amp;#8199;&amp;#8199;</span>4.321 |} </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table> <tbody><tr> <td>432.1 </td></tr> <tr> <td> 43.21 </td></tr> <tr> <td>  4.321 </td></tr></tbody></table> </div> <p>More companions in this line are: <a href="/wiki/Whitespace_character#Unicode" title="Whitespace character">punctuation space</a> (<code class="mw-highlight mw-highlight-lang-html mw-content-ltr" style="" dir="ltr"><span class="ni">&amp;#x2008;</span></code>) to substitute a period or a comma, <code class="mw-highlight mw-highlight-lang-html mw-content-ltr" style="" dir="ltr"><span class="ni">&amp;minus;</span></code> instead of the easily available on the typewriter's keyboard <a href="/wiki/Dash" title="Dash">hyphen-dash</a> – this is the same width as the plus sign, also <a href="/wiki/Figure_dash" class="mw-redirect" title="Figure dash">figure dash</a> possibly the most useful for telephone numbers which you obviously will not find on Wikipedia. </p><p>When using <a href="/wiki/OpenType" title="OpenType">OpenType</a> fonts one may also alternate between <code class="mw-highlight mw-highlight-lang-css mw-content-ltr" style="" dir="ltr"><span class="nt">font-variant-numeric</span><span class="p">:</span><span class="nd">tabular-nums</span></code> and <code class="mw-highlight mw-highlight-lang-css mw-content-ltr" style="" dir="ltr"><span class="nt">font-variant-numeric</span><span class="p">:</span><span class="nd">proportional-nums</span></code> – this is especially visible in the kerning of <a href="/wiki/Arabic_digit" class="mw-redirect" title="Arabic digit">Arabic digit</a> ⟨1⟩. In the standard browser sans-serif fonts ⟨1⟩ occupies the same width as other digits, ie. works as if <code class="mw-highlight mw-highlight-lang-css mw-content-ltr" style="" dir="ltr"><span class="nt">font-variant-numerals</span><span class="p">:</span><span class="nd">tabular-nums</span></code> was turned on. </p><p>Some may find <span class="nowrap">{{</span><a href="/wiki/Template:0" title="Template:0">0</a><span class="nowrap">}}</span> useful for the alignment. </p><p>As a last resort, when using pre-formatted text, you can dispense with the table feature entirely and simply start the lines with a space, and put spaces to position the numbers—however, there should be a good reason to use pre-formatted text in an article: </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext (just spaces!):</b> </p> <div class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr"><pre><span></span> 432.1 43.21 4.321 </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <pre>432.1 43.21 4.321 </pre> </div> <div class="mw-heading mw-heading3"><h3 id="Column_alignment" data-mw-thread-id="h-Column_alignment-Horizontal_alignment_in_cells"><span data-mw-comment-start="" id="h-Column_alignment-Horizontal_alignment_in_cells"></span>Column alignment<span data-mw-comment-end="h-Column_alignment-Horizontal_alignment_in_cells"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=5" title="Edit section: Column alignment"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><span class="nowrap">{{</span><a href="/wiki/Template:Table_alignment" title="Template:Table alignment">Table alignment</a><span class="nowrap">}}</span> can be used to align the cells in a whole column without adding code to each cell. For example, left aligning the first column, and center aligning the fourth column. And default aligning all other cells to the right: </p> <dl><dd><div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">{{</span><span class="nt">Table alignment</span><span class="p">}}</span> <span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable sortable col1left col4center defaultright"</span> </pre></div></dd></dl> <p>Place <code>{{Table alignment}}</code> just before the table and then add some classes to the table. </p> <table class="wikitable"> <tbody><tr> <th>classname </th> <th>Purpose </th></tr> <tr> <td><code>defaultleft</code></td> <td>Align all table cells left by default </td></tr> <tr> <td><code>defaultcenter</code></td> <td>Align all table cells center by default </td></tr> <tr> <td><code>defaultright</code></td> <td>Align all table cells right by default </td></tr> <tr> <td><code>col<i>N</i>left</code></td> <td>Align the cells in column <i>N</i> left, where N is a number </td></tr> <tr> <td><code>col<i>N</i>center</code></td> <td>Align the cells in column <i>N</i> center, where N is a number </td></tr> <tr> <td><code>col<i>N</i>right</code></td> <td>Align the cells in column <i>N</i> right, where N is a number </td></tr></tbody></table> <p>The "<b>col</b>" classes never effect the header cells. </p><p>The "<b>default</b>" classes also effect the header cells if wikitable class is not used. With the wikitable class header cell content is always centered unless individually adjusted. </p><p>See template for more info, limitations, examples. </p> <div class="mw-heading mw-heading3"><h3 id="Aligning_the_text_in_the_first_column_to_the_left" data-mw-thread-id="h-Aligning_the_text_in_the_first_column_to_the_left-Horizontal_alignment_in_cells"><span data-mw-comment-start="" id="h-Aligning_the_text_in_the_first_column_to_the_left-Horizontal_alignment_in_cells"></span>Aligning the text in the first column to the left<span data-mw-comment-end="h-Aligning_the_text_in_the_first_column_to_the_left-Horizontal_alignment_in_cells"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=6" title="Edit section: Aligning the text in the first column to the left"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Template:Table_alignment" title="Template:Table alignment">Template:Table alignment</a> (see previous section) will not work on columns of row headers. There are some other limitations listed at <a href="/wiki/Template:Table_alignment" title="Template:Table alignment">Template:Table alignment</a>. In these cases you can try the following method for the first column only. </p><p>This can be done in the wikitext source editor. In <a href="/wiki/Special:Preferences#mw-prefsection-editing" title="Special:Preferences">editing preferences</a> check the box labeled: "enable the editing toolbar. This is sometimes called the '2010 wikitext editor'." </p><p>In the table section click "edit source" (wikitext editing). Click on "Advanced" in the editing toolbar. Then click on the "search and replace" icon on the right. In the popup form check the box for "Treat search string as a regular expression". </p><p>Fill in the "Search for" box with <code>(\|-\n\|)</code> <br/> Fill in the "replace with" box with </p> <dl><dd><code>$1style=text-align:left|</code></dd></dl> <p>Then click "Replace all". All the text in the first column will be aligned to the left of their cells. </p><p><b>If for some reason those cells are header cells,</b> then fill in the "Search for" box with </p> <dl><dd><code>(\|-\n\!)</code></dd></dl> <p>Note the exclamation point for a header cell. Fill in the "replace with" box with </p> <dl><dd><code>$1style=text-align:left|</code></dd></dl> <p>Then click "Replace all". </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Side_by_side_tables" data-mw-thread-id="h-Side_by_side_tables"><span data-mw-comment-start="" id="h-Side_by_side_tables"></span>Side by side tables<span data-mw-comment-end="h-Side_by_side_tables"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=7" title="Edit section: Side by side tables"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Side_by_side_tables","replies":[]}}--></div> <p><i><b>Note:</b> See also <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Together_Again_(Janet_Jackson_song)&amp;oldid=1235924258#Charts">this version</a> of <a href="/wiki/Together_Again_(Janet_Jackson_song)#Charts" title="Together Again (Janet Jackson song)">Together Again (Janet Jackson song)#Charts</a>. It uses <span class="nowrap">{{</span><a href="/wiki/Template:Col-begin" title="Template:Col-begin">col-begin</a><span class="nowrap">}}</span>, <span class="nowrap">{{</span><a href="/wiki/Template:Col-2" title="Template:Col-2">col-2</a><span class="nowrap">}}</span>, <span class="nowrap">{{</span><a href="/wiki/Template:Col-end" title="Template:Col-end">col-end</a><span class="nowrap">}}</span>.</i> </p><p>You can place two or more tables side by side. But the tables must wrap (one dropping below the other) in narrow screens if horizontal scrolling is to be avoided. Narrow your browser window to see the tables below wrap. This works in mobile view too. Click on "mobile view" at the bottom of any Wikipedia page. These tables are adapted excerpts from versions of <a href="/wiki/Iceland_men%27s_national_handball_team" title="Iceland men's national handball team">Iceland men's national handball team</a>. Many sport articles have side by side tables. </p> <div style="display:inline-grid"> <style data-mw-deduplicate="TemplateStyles:r1233514072">.mw-parser-output .static-row-numbers{counter-reset:rowNumber}.mw-parser-output .static-row-numbers tr::before{content:"";display:table-cell;padding-right:0.5em;padding-left:0.5em;text-align:right;vertical-align:inherit}.mw-parser-output .static-row-numbers.static-row-numbers-left tr::before{text-align:left}.mw-parser-output .static-row-numbers.static-row-numbers-center tr::before{text-align:center}.mw-parser-output .static-row-numbers.wikitable tr::before{background-color:var(--background-color-neutral,#eaecf0)}body.skin-minerva .mw-parser-output .static-row-numbers.wikitable tr::before{background-color:var(--background-color-neutral,#eaecf0);color:var(--color-base,#202122)}.mw-parser-output .static-row-numbers thead+tbody tr:first-child:not(.static-row-header):not(.static-row-numbers-norank)::before,.mw-parser-output .static-row-numbers tbody tr:not(:first-child):not(.static-row-header):not(.static-row-numbers-norank)::before{counter-increment:rowNumber;content:counter(rowNumber)}.mw-parser-output .static-row-header-text.static-row-numbers thead tr:first-child::before,.mw-parser-output .static-row-header-text.static-row-numbers caption+tbody tr:first-child::before,.mw-parser-output .static-row-header-text.static-row-numbers tbody:first-child tr:first-child::before{content:"No.";font-weight:bold}.mw-parser-output .static-row-header-hash.static-row-numbers thead tr:first-child::before,.mw-parser-output .static-row-header-hash.static-row-numbers caption+tbody tr:first-child::before,.mw-parser-output .static-row-header-hash.static-row-numbers tbody:first-child tr:first-child::before{content:"#";font-weight:bold}.mw-parser-output .static-row-numbers.wikitable tr::before{border:0 solid var(--border-color-base,#a2a9b1)}.mw-parser-output .static-row-numbers.wikitable thead+tbody tr:first-child:not(.static-row-header)::before,.mw-parser-output .static-row-numbers.wikitable tbody tr:not(:first-child):not(.static-row-header)::before{border-width:1px}body.skin-monobook .mw-parser-output .static-row-numbers.wikitable tr::before{border-color:#aaaaaa}body.skin-timeless .mw-parser-output .static-row-numbers.wikitable tr::before{border-color:#c8ccd1}body.skin-minerva .mw-parser-output .static-row-numbers.wikitable tr::before{border-color:rgba(84,89,93,.3)}.mw-parser-output table[border].static-row-numbers:not(.wikitable) tr::before{border:0 inset #202122}.mw-parser-output table[border].static-row-numbers:not(.wikitable) thead+tbody tr:first-child:not(.static-row-header)::before,.mw-parser-output table[border].static-row-numbers:not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before{border-width:1px}body.skin-monobook .mw-parser-output table[border].static-row-numbers:not(.wikitable) tr::before,body.skin-timeless .mw-parser-output table[border].static-row-numbers:not(.wikitable):not(.mw-datatable) tr::before{border-color:#000000}body.skin-timeless .mw-parser-output .static-row-numbers.mw-datatable:not(.wikitable) tr::before{border:0 solid #c8ccd1}body.skin-timeless .mw-parser-output .static-row-numbers.mw-datatable:not(.wikitable) thead+tbody tr:first-child:not(.static-row-header)::before,body.skin-timeless .mw-parser-output .static-row-numbers.mw-datatable:not(.wikitable) tbody tr:not(:first-child):not(.static-row-header)::before{border-width:1px}@media all and (max-width:720px){body.skin-minerva .mw-parser-output .static-row-numbers.wikitable tr::before{border-left-width:1px}body.skin-minerva .mw-parser-output .static-row-numbers.wikitable thead tr:first-child::before,body.skin-minerva .mw-parser-output .static-row-numbers.wikitable caption+tbody tr:first-child::before,body.skin-minerva .mw-parser-output .static-row-numbers.wikitable tbody:first-child tr:first-child::before{border-top-width:1px}body.skin-minerva .mw-parser-output .static-row-numbers.wikitable tbody tr:last-child::before,body.skin-minerva .mw-parser-output .static-row-numbers.wikitable tfoot tr:last-child::before{border-bottom-width:1px}}</style> <table class="wikitable sortable static-row-numbers" border="1" style="text-align:right"> <caption>Total number of matches played in official competitions only. </caption> <tbody><tr> <th>Player </th> <th>Matches </th> <th>Goals </th></tr> <tr> <td style="text-align:left"><a href="/wiki/Gu%C3%B0mundur_Hrafnkelsson" title="Guðmundur Hrafnkelsson">Guðmundur Hrafnkelsson</a> </td> <td><b>407</b> </td> <td>0 </td></tr> <tr> <td style="text-align:left"><a href="/wiki/Gu%C3%B0j%C3%B3n_Valur_Sigur%C3%B0sson" title="Guðjón Valur Sigurðsson">Guðjón Valur Sigurðsson</a> </td> <td><b>364</b> </td> <td>1,875 </td></tr></tbody></table> </div> <div style="display:inline-grid"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1233514072"> <table class="wikitable sortable static-row-numbers" border="1" style="text-align:right"> <caption>Total number of goals scored in official matches only. </caption> <tbody><tr> <th>Player </th> <th>Goals </th> <th>Matches </th> <th>Average </th></tr> <tr> <td style="text-align:left"><a href="/wiki/Gu%C3%B0j%C3%B3n_Valur_Sigur%C3%B0sson" title="Guðjón Valur Sigurðsson">Guðjón Valur Sigurðsson</a> </td> <td><b>1,875</b> </td> <td>364 </td> <td>5.15 </td></tr> <tr> <td style="text-align:left"><a href="/wiki/%C3%93lafur_Stef%C3%A1nsson" title="Ólafur Stefánsson">Ólafur Stefánsson</a> </td> <td><b>1,570</b> </td> <td>330 </td> <td>4.76 </td></tr></tbody></table> </div> <p>Here is the relevant wikitext below. More info <a rel="nofollow" class="external text" href="https://www.w3schools.com/jsref/prop_style_display.asp">here</a>. A blind editor who uses a <a href="/wiki/Screen_reader" title="Screen reader">screen reader</a> says <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Wikipedia_talk%3AManual_of_Style%2FAccessibility&amp;diff=1196667296&amp;oldid=1196634188">this method is OK</a>. </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">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s">display:inline-grid</span><span class="p">></span> --Table-- <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> <span class="p">&lt;</span><span class="nt">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s">display:inline-grid</span><span class="p">></span> --Table-- <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> </pre></div> <p>The code box below was created by adding the same div around the whole <a href="https://www.mediawiki.org/wiki/Extension:SyntaxHighlight" class="extiw" title="mw:Extension:SyntaxHighlight">syntaxhightlight</a> box: </p> <div style="display:inline-grid"> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">&lt;</span><span class="nt">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s">display:inline-grid</span><span class="p">></span> --Table-- <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> <span class="p">&lt;</span><span class="nt">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s">display:inline-grid</span><span class="p">></span> --Table-- <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> </pre></div> </div> <p>Note that the space between the above handball tables happens because &lt;/div> is on a line by itself. If you want no space use this: </p> <dl><dd>&lt;/div>&lt;div style=display:inline-grid></dd></dl> <p><code>style=display:inline-grid</code> can not be added within the table wikitext. It must be added outside the table wikitext. This is because the table captions will not be correctly placed in mobile portrait view, or other narrow mobile screens, when the tables wrap. This is especially noticeable if the caption is longer. In that case when one table drops below the other, then the caption will be severely wrapped above only the first column of the table. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Side_by_side_tables/images" data-mw-thread-id="h-Side_by_side_tables/images"><span id="Side_by_side_tables.2Fimages"></span><span data-mw-comment-start="" id="h-Side_by_side_tables/images"></span>Side by side tables/images<span data-mw-comment-end="h-Side_by_side_tables/images"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=8" title="Edit section: Side by side tables/images"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Side_by_side_tables\/images","replies":[]}}--></div> <p>You can add images to the mix too. Add <i><b><code>vertical-align:top;</code></b></i> to align an item to the top. See <b><a rel="nofollow" class="external text" href="https://www.w3schools.com/cssref/pr_pos_vertical-align.asp">CSS vertical-align property</a></b> for other options. The tables and images will wrap depending on screen width. Narrow your browser window to see. For example: </p> <ul><li><code>&lt;div style="display:inline-grid; vertical-align:top;"></code></li></ul> <div style="display:inline-grid; vertical-align:top;"> <table class="wikitable"> <caption>Table 1 </caption> <tbody><tr> <th>Name </th> <th>Color </th></tr> <tr> <td>Fred </td> <td>Orange </td></tr> <tr> <td>Bob </td> <td>Green </td></tr> <tr> <td>Lindy </td> <td>Yellow </td></tr></tbody></table> </div> <div style="display:inline-grid; vertical-align:top;"> <figure class="mw-halign-none" typeof="mw:File/Thumb"><a href="/wiki/File:New-York-Jan2005.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/200px-New-York-Jan2005.jpg" decoding="async" width="200" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/300px-New-York-Jan2005.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/400px-New-York-Jan2005.jpg 2x" data-file-width="1500" data-file-height="1125"/></a><figcaption>New York City</figcaption></figure> </div> <div style="display:inline-grid; vertical-align:top;"> <table class="wikitable"> <caption>Table 2 </caption> <tbody><tr> <th>Animal </th> <th>State </th></tr> <tr> <td>Raccoon </td> <td>Maine </td></tr> <tr> <td>Whale </td> <td>Alaska </td></tr> <tr> <td>Manta Ray </td> <td>Florida </td></tr></tbody></table> </div> <div style="display:inline-grid; vertical-align:top;"> <p><span class="mw-default-size" typeof="mw:File"><a href="/wiki/File:Gold_star_on_blue.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/4/43/Gold_star_on_blue.gif" decoding="async" width="110" height="110" class="mw-file-element" data-file-width="110" data-file-height="110"/></a></span> </p> </div> <p>Add <i><b><code>vertical-align:bottom;</code></b></i> to align an item to the bottom. You can choose the alignment for each item. Note the star aligned to the bottom. </p> <div style="display:inline-grid; vertical-align:top;"> <table class="wikitable"> <caption>Table 1 </caption> <tbody><tr> <th>Name </th> <th>Color </th></tr> <tr> <td>Fred </td> <td>Orange </td></tr> <tr> <td>Bob </td> <td>Green </td></tr> <tr> <td>Lindy </td> <td>Yellow </td></tr></tbody></table> </div> <div style="display:inline-grid; vertical-align:top;"> <figure class="mw-halign-none" typeof="mw:File/Thumb"><a href="/wiki/File:New-York-Jan2005.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/200px-New-York-Jan2005.jpg" decoding="async" width="200" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/300px-New-York-Jan2005.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/400px-New-York-Jan2005.jpg 2x" data-file-width="1500" data-file-height="1125"/></a><figcaption>New York City</figcaption></figure> </div> <div style="display:inline-grid; vertical-align:top;"> <table class="wikitable"> <caption>Table 2 </caption> <tbody><tr> <th>Animal </th> <th>State </th></tr> <tr> <td>Raccoon </td> <td>Maine </td></tr> <tr> <td>Whale </td> <td>Alaska </td></tr> <tr> <td>Manta Ray </td> <td>Florida </td></tr></tbody></table> </div> <div style="display:inline-grid; vertical-align:bottom;"> <p><span class="mw-default-size" typeof="mw:File"><a href="/wiki/File:Gold_star_on_blue.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/4/43/Gold_star_on_blue.gif" decoding="async" width="110" height="110" class="mw-file-element" data-file-width="110" data-file-height="110"/></a></span> </p> </div> <p>You can add <b>indentation</b> by adding margin styling to the first div: </p> <ul><li><code>&lt;div style="display:inline-grid; vertical-align:top; margin-left:4em;"></code></li></ul> <div style="display:inline-grid; vertical-align:top; margin-left:4em;"> <table class="wikitable"> <caption>Table 1 </caption> <tbody><tr> <th>Name </th> <th>Color </th></tr> <tr> <td>Fred </td> <td>Orange </td></tr> <tr> <td>Bob </td> <td>Green </td></tr> <tr> <td>Lindy </td> <td>Yellow </td></tr></tbody></table> </div> <div style="display:inline-grid; vertical-align:top;"> <figure class="mw-halign-none" typeof="mw:File/Thumb"><a href="/wiki/File:New-York-Jan2005.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/200px-New-York-Jan2005.jpg" decoding="async" width="200" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/300px-New-York-Jan2005.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/88/New-York-Jan2005.jpg/400px-New-York-Jan2005.jpg 2x" data-file-width="1500" data-file-height="1125"/></a><figcaption>New York City</figcaption></figure> </div> <div style="display:inline-grid; vertical-align:top;"> <table class="wikitable"> <caption>Table 2 </caption> <tbody><tr> <th>Animal </th> <th>State </th></tr> <tr> <td>Raccoon </td> <td>Maine </td></tr> <tr> <td>Whale </td> <td>Alaska </td></tr> <tr> <td>Manta Ray </td> <td>Florida </td></tr></tbody></table> </div> <div style="display:inline-grid; vertical-align:bottom;"> <p><span class="mw-default-size" typeof="mw:File"><a href="/wiki/File:Gold_star_on_blue.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/4/43/Gold_star_on_blue.gif" decoding="async" width="110" height="110" class="mw-file-element" data-file-width="110" data-file-height="110"/></a></span> </p> </div> <p>These tables below wrap better with <b>display:inline-table;</b> instead of <b>display:inline-grid;</b> </p> <div style="display:inline-table; vertical-align:top; width:310px;"> <table class="wikitable"> <tbody><tr> <td><b><a href="https://commons.wikimedia.org/wiki/File_talk:Template_map_of_US_states_and_District_of_Columbia.svg/Instructions" class="extiw" title="commons:File talk:Template map of US states and District of Columbia.svg/Instructions">Convert a US list/table to a state-by-state data map. </a></b> With examples and step-by step instructions. Example: </td></tr> <tr> <td><figure class="mw-halign-none" typeof="mw:File/Thumb"><a href="/wiki/File:Map_of_US_minimum_wage_by_state.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/76/Map_of_US_minimum_wage_by_state.svg/310px-Map_of_US_minimum_wage_by_state.svg.png" decoding="async" width="310" height="206" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/76/Map_of_US_minimum_wage_by_state.svg/465px-Map_of_US_minimum_wage_by_state.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/76/Map_of_US_minimum_wage_by_state.svg/620px-Map_of_US_minimum_wage_by_state.svg.png 2x" data-file-width="512" data-file-height="341"/></a><figcaption>See: <a href="/wiki/List_of_US_states_by_minimum_wage" title="List of US states by minimum wage">List of US states by minimum wage</a>.</figcaption></figure> </td></tr></tbody></table> </div> <div style="display:inline-table; vertical-align:top; width:310px;"> <table class="wikitable"> <tbody><tr> <td>Simple map below using another method. See <b><a href="https://commons.wikimedia.org/wiki/File_talk:Medicaid_expansion_map_of_US._Affordable_Care_Act.svg" class="extiw" title="commons:File talk:Medicaid expansion map of US. Affordable Care Act.svg">its talk page</a></b> for info. </td></tr> <tr> <td><figure class="mw-halign-none" typeof="mw:File/Thumb"><a href="/wiki/File:Medicaid_expansion_map_of_US._Affordable_Care_Act.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/4/47/Medicaid_expansion_map_of_US._Affordable_Care_Act.svg/310px-Medicaid_expansion_map_of_US._Affordable_Care_Act.svg.png" decoding="async" width="310" height="206" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/47/Medicaid_expansion_map_of_US._Affordable_Care_Act.svg/465px-Medicaid_expansion_map_of_US._Affordable_Care_Act.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/47/Medicaid_expansion_map_of_US._Affordable_Care_Act.svg/620px-Medicaid_expansion_map_of_US._Affordable_Care_Act.svg.png 2x" data-file-width="512" data-file-height="341"/></a><figcaption><a href="/wiki/Medicaid_coverage_gap" title="Medicaid coverage gap">Medicaid coverage gap</a> of US <a href="/wiki/Affordable_Care_Act" title="Affordable Care Act">Affordable Care Act</a>.</figcaption></figure> </td></tr></tbody></table> </div> <p>Tables and images can also be <b>floated to the right</b> by adding <b>float:right;</b> </p> <div style="display:inline-table; vertical-align:top; float:right;"> <figure class="mw-default-size mw-halign-none" typeof="mw:File/Thumb"><a href="/wiki/File:Female_incarceration_rates_by_country_and_US_state.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Female_incarceration_rates_by_country_and_US_state.gif/110px-Female_incarceration_rates_by_country_and_US_state.gif" decoding="async" width="110" height="484" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Female_incarceration_rates_by_country_and_US_state.gif/165px-Female_incarceration_rates_by_country_and_US_state.gif 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Female_incarceration_rates_by_country_and_US_state.gif/220px-Female_incarceration_rates_by_country_and_US_state.gif 2x" data-file-width="1195" data-file-height="5257"/></a><figcaption>Female incarceration rates by country and US state.</figcaption></figure> </div> <div style="display:inline-table; vertical-align:top; float:right;"> <figure class="mw-default-size mw-halign-none" typeof="mw:File/Thumb"><a href="/wiki/File:World_incarceration_rates_if_every_U.S._state_were_a_country.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/World_incarceration_rates_if_every_U.S._state_were_a_country.png/110px-World_incarceration_rates_if_every_U.S._state_were_a_country.png" decoding="async" width="110" height="456" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/World_incarceration_rates_if_every_U.S._state_were_a_country.png/165px-World_incarceration_rates_if_every_U.S._state_were_a_country.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/99/World_incarceration_rates_if_every_U.S._state_were_a_country.png/220px-World_incarceration_rates_if_every_U.S._state_were_a_country.png 2x" data-file-width="3193" data-file-height="13240"/></a><figcaption>World incarceration rates by country and US state.</figcaption></figure> </div> <p>See example to the right from <b><a class="external text" href="https://en.wikipedia.org/w/index.php?title=List_of_U.S._states_and_territories_by_incarceration_and_correctional_supervision_rate&amp;oldid=1235102187#U.S._states_compared_to_countries">this version</a></b> of <a href="/wiki/List_of_U.S._states_and_territories_by_incarceration_and_correctional_supervision_rate" title="List of U.S. states and territories by incarceration and correctional supervision rate">List of U.S. states and territories by incarceration and correctional supervision rate</a>. </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="hll"><span class="p">&lt;</span><span class="nt">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"display:inline-table; vertical-align:top; float:right;"</span><span class="p">></span> </span><span class="p">[[</span><span class="nn">File</span><span class="p">:</span><span class="nt">Female incarceration rates by country and US state.gif</span><span class="p">|</span>thumb<span class="p">|</span>none<span class="p">|</span><span class="na">upright</span><span class="o">=</span>0.5<span class="p">|</span>Female incarceration rates by country and US state.<span class="p">]]</span> <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> <span class="hll"><span class="p">&lt;</span><span class="nt">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"display:inline-table; vertical-align:top; float:right;"</span><span class="p">></span> </span><span class="p">[[</span><span class="nn">File</span><span class="p">:</span><span class="nt">World incarceration rates if every U.S. state were a country.png</span><span class="p">|</span>thumb<span class="p">|</span>none<span class="p">|</span><span class="na">upright</span><span class="o">=</span>0.5<span class="p">|</span>World incarceration rates by country and US state.<span class="p">]]</span> <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> </pre></div> <div style="clear:both;" class=""></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Scrolling_tables" data-mw-thread-id="h-Scrolling_tables"><span data-mw-comment-start="" id="h-Scrolling_tables"></span>Scrolling tables<span data-mw-comment-end="h-Scrolling_tables"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=9" title="Edit section: Scrolling tables"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Scrolling_tables","replies":["h-Vertical_scrolling_table-Scrolling_tables","h-Horizontal_scrolling_table-Scrolling_tables"]}}--></div> <p><span class="anchor" id="Scrolling_tables"></span><span class="anchor" id="scrolling_tables"></span> A whole table can be placed within a scrolling div so that new table lines appear on the screen as old table lines disappear. See <a href="/wiki/MOS:SCROLL" class="mw-redirect" title="MOS:SCROLL">MOS:SCROLL</a>, and <a href="/wiki/Help:Scrolling_list" title="Help:Scrolling list">Help:Scrolling list</a>, and <a href="/wiki/Talk:COVID-19_pandemic_deaths/Archive_1#Scrolling_versus_expanded_tables" title="Talk:COVID-19 pandemic deaths/Archive 1">this article discussion</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Vertical_scrolling_table" data-mw-thread-id="h-Vertical_scrolling_table-Scrolling_tables"><span data-mw-comment-start="" id="h-Vertical_scrolling_table-Scrolling_tables"></span>Vertical scrolling table<span data-mw-comment-end="h-Vertical_scrolling_table-Scrolling_tables"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=10" title="Edit section: Vertical scrolling table"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div style="display:inline-table;"> <div style="height:7em; overflow:auto; border:2px solid red;"> <table class="wikitable"> <tbody><tr> <td>abc</td> <td>def</td> <td>ghi </td></tr> <tr style="height: 100px;"> <td>jkl</td> <td style="width: 100px;">mno</td> <td>pqr </td></tr> <tr> <td>stu</td> <td>vwx</td> <td>yz </td></tr></tbody></table> </div></div> <div style="display:inline-table; border:"> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">&lt;</span><span class="nt">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"height:7em; overflow:auto; border:2px solid red;"</span><span class="p">></span> <span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s">wikitable</span> <span class="p">|-</span> <span class="p">|</span> abc <span class="p">||</span> def <span class="p">||</span> ghi <span class="p">|-</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"height: 100px;"</span> <span class="p">|</span> jkl <span class="p">||</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"width: 100px;"</span><span class="w"> </span><span class="p">|</span> mno <span class="p">||</span> pqr <span class="p">|-</span> <span class="p">|</span> stu <span class="p">||</span> vwx <span class="p">||</span> yz <span class="p">|}</span> <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> </pre></div></div> <div class="mw-heading mw-heading3"><h3 id="Horizontal_scrolling_table" data-mw-thread-id="h-Horizontal_scrolling_table-Scrolling_tables"><span data-mw-comment-start="" id="h-Horizontal_scrolling_table-Scrolling_tables"></span>Horizontal scrolling table<span data-mw-comment-end="h-Horizontal_scrolling_table-Scrolling_tables"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=11" title="Edit section: Horizontal scrolling table"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Adding <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">-x</code> to <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">overflow:auto</code> → <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">overflow-x:auto</code> forces overflowing table data to fit within page's width margin or otherwise predetermined wiki markup. </p> <div style="display:inline-table;"> <div style="width:12em; overflow-x:auto; border:2px solid lime;"> <table class="wikitable" style="width:25em"> <tbody><tr> <td>abc</td> <td>def</td> <td>ghi </td></tr> <tr> <td>jkl</td> <td style="height: 70px;">mno</td> <td>pqr </td></tr> <tr> <td>stu</td> <td>vwx</td> <td>yz </td></tr></tbody></table> </div></div> <div style="display:inline-table;"> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">&lt;</span><span class="nt">div</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"width:12em; overflow-x:auto; border:2px solid lime;"</span><span class="p">></span> <span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s">wikitable</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"width:25em"</span> <span class="p">|-</span> <span class="p">|</span> abc <span class="p">||</span> def <span class="p">||</span> ghi <span class="p">|-</span><span class="w"> </span> <span class="p">|</span> jkl <span class="p">||</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"height: 70px;"</span><span class="w"> </span><span class="p">|</span> mno <span class="p">||</span> pqr <span class="p">|-</span> <span class="p">|</span> stu <span class="p">||</span> vwx <span class="p">||</span> yz <span class="p">|}</span> <span class="p">&lt;/</span><span class="nt">div</span><span class="p">></span> </pre></div></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Tables_with_sticky_headers" data-mw-thread-id="h-Tables_with_sticky_headers"><span data-mw-comment-start="" id="h-Tables_with_sticky_headers"></span>Tables with sticky headers<span data-mw-comment-end="h-Tables_with_sticky_headers"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=12" title="Edit section: Tables with sticky headers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Tables_with_sticky_headers","replies":[]}}--></div> <dl><dd><i><b>History:</b> See <a href="/wiki/Wikipedia:Village_pump_(technical)/Archive_208#Vector_2022._Sticky_page_title_covers_top_2_lines_of_sticky_table_headers" title="Wikipedia:Village pump (technical)/Archive 208">most recent Village Pump discussion</a>. And other archived discussions: <a href="/wiki/Wikipedia:Village_pump_(technical)/Archive_206#Vertical_scrollable_table_with_sticky_headers" title="Wikipedia:Village pump (technical)/Archive 206">1.</a> <a href="/wiki/Wikipedia_talk:Reliable_sources/Perennial_sources/Archive_3#Technical_idea:_make_the_header_row_of_the_table_sticky" title="Wikipedia talk:Reliable sources/Perennial sources/Archive 3">2.</a> <a href="/wiki/Help_talk:Table#Scrolling_tables_and_sticky_headers" title="Help talk:Table">3.</a> <a href="/wiki/Help_talk:Table/Archive_8#Sticky_table_headers?" title="Help talk:Table/Archive 8">4.</a> <a href="/wiki/Wikipedia:Village_pump_(technical)/Archive_170#Sticky_table_headers" title="Wikipedia:Village pump (technical)/Archive 170">5.</a> See <a href="https://phabricator.wikimedia.org/T42763" class="extiw" title="phab:T42763">Phab:T42763</a>. See also: <a href="https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2022/Reading/floating_table_headers" class="extiw" title="meta:Community Wishlist Survey 2022/Reading/floating table headers">Meta: Community Wishlist Survey 2022/Reading/floating table headers</a> and <a href="https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2021/Reading/Enable_sticky_table_headers" class="extiw" title="meta:Community Wishlist Survey 2021/Reading/Enable sticky table headers">meta:Community Wishlist Survey 2021/Reading/Enable sticky table headers</a>.</i></dd></dl> <p>A scrolling table in the sense of the vertical scrollbar for the whole page. When you scroll the page the table headers stay visible when the table goes beyond the top of the screen. </p><p>See <b><a href="/wiki/Template:Sticky_header" title="Template:Sticky header">Template:Sticky header</a></b> for examples, more info, and specialized cases. </p> <div style="display: inline-grid; vertical-align:top;"> <style data-mw-deduplicate="TemplateStyles:r1253789634">@media screen{.mw-parser-output .sticky-header>thead>tr:first-child,.mw-parser-output .sticky-header>caption+tbody>tr:first-child,.mw-parser-output .sticky-header>tbody:first-child>tr:first-child,.mw-parser-output .sticky-header-multi>thead{position:sticky;top:0;z-index:10}.mw-parser-output .sticky-header:not(.wikitable),.mw-parser-output .sticky-header-multi:not(.wikitable){background-color:white}.mw-parser-output .sticky-header:not(.wikitable)>*,.mw-parser-output .sticky-header:not(.wikitable)>thead>tr:first-child,.mw-parser-output .sticky-header:not(.wikitable)>caption+tbody>tr:first-child,.mw-parser-output .sticky-header:not(.wikitable)>tbody:first-child>tr:first-child,.mw-parser-output .sticky-header-multi:not(.wikitable)>thead,.mw-parser-output .sticky-header-multi>thead{background-color:inherit}.mw-parser-output .sticky-header.wikitable,.mw-parser-output .sticky-header-multi.wikitable{border-collapse:separate;border-spacing:0;border-width:0 1px 1px 0}.mw-parser-output .sticky-header.wikitable td,.mw-parser-output .sticky-header.wikitable th,.mw-parser-output .sticky-header-multi.wikitable td,.mw-parser-output .sticky-header-multi.wikitable th{border-width:1px 0 0 1px}body.skin-timeless .mw-parser-output .sticky-header.wikitable,body.skin-timeless .mw-parser-output .sticky-header-multi.wikitable{border-bottom-width:0.2em;padding:0}.mw-parser-output .sticky-header.static-row-numbers.wikitable tr::before,.mw-parser-output .sticky-header-multi.static-row-numbers.wikitable tr::before{border-left-width:1px}.mw-parser-output .sticky-header.static-row-numbers.wikitable>thead>tr:first-child::before,.mw-parser-output .sticky-header.static-row-numbers.wikitable>caption+tbody>tr:first-child::before,.mw-parser-output .sticky-header.static-row-numbers.wikitable>tbody:first-child>tr:first-child::before,.mw-parser-output .sticky-header-multi.static-row-numbers.wikitable>thead>tr:first-child::before,.mw-parser-output .sticky-header-multi.static-row-numbers.wikitable>caption+tbody>tr:first-child::before,.mw-parser-output .sticky-header-multi.static-row-numbers.wikitable>tbody:first-child>tr:first-child::before,.mw-parser-output .sticky-header.static-row-numbers.wikitable .sortbottom::before,.mw-parser-output .sticky-header-multi.static-row-numbers.wikitable .sortbottom::before{border-top-width:1px}.mw-parser-output .sticky-header.static-row-numbers.wikitable .sortbottom~.sortbottom::before,.mw-parser-output .sticky-header-multi.static-row-numbers.wikitable .sortbottom~.sortbottom::before{border-top-width:0}.mw-parser-output .sticky-header.static-row-numbers.wikitable>tbody>tr:not(.static-row-header)::before,.mw-parser-output .sticky-header-multi.static-row-numbers.wikitable>tbody>tr:not(.static-row-header)::before{border-bottom-width:0!important;border-right-width:0!important}body.skin-timeless .mw-parser-output .content-table-scrollbar,body.skin-timeless .mw-parser-output .overflowed,body.skin-timeless .mw-parser-output .overflowed .content-table{overflow:visible}body.skin-timeless .mw-parser-output .scroll-right.overflowed .content-table-right{box-shadow:none;border-left:none}}@media screen and (min-width:1120px){body.vector-sticky-header-visible .mw-parser-output .sticky-header>thead>tr:first-child,body.vector-sticky-header-visible .mw-parser-output .sticky-header>caption+tbody>tr:first-child,body.vector-sticky-header-visible .mw-parser-output .sticky-header>tbody:first-child>tr:first-child,body.vector-sticky-header-visible .mw-parser-output .sticky-header-multi>thead{top:3.125rem}}@media screen and (min-width:851px){body.skin-timeless .mw-parser-output .sticky-header>thead>tr:first-child,body.skin-timeless .mw-parser-output .sticky-header>caption+tbody>tr:first-child,body.skin-timeless .mw-parser-output .sticky-header>tbody:first-child>tr:first-child,body.skin-timeless .mw-parser-output .sticky-header-multi>thead{top:3.51em}}@media screen and (max-width:639px){body.skin-minerva .mw-parser-output .sticky-header,body.skin-minerva .mw-parser-output .sticky-header-multi,body.skin-monobook .mw-parser-output .sticky-header,body.skin-monobook .mw-parser-output .sticky-header-multi,body.skin-vector-legacy .mw-parser-output .sticky-header,body.skin-vector-legacy .mw-parser-output .sticky-header-multi,body.skin-vector-2022 .mw-parser-output .sticky-header,body.skin-vector-2022 .mw-parser-output .sticky-header-multi{display:table}body.skin-minerva .mw-parser-output .sticky-header>caption,body.skin-minerva .mw-parser-output .sticky-header-multi>caption{display:table-caption}}@media screen{html.skin-theme-clientpref-night body.skin-minerva .mw-parser-output .sticky-header-multi.wikitable{background-color:#101418}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os body.skin-minerva .mw-parser-output .sticky-header-multi.wikitable{background-color:#101418}}</style> <table class="wikitable sortable sticky-header"> <caption>Caption </caption> <tbody><tr> <th>Color</th> <th>A</th> <th>B </th> <th class="unsortable">C </th></tr> <tr class="sorttop"> <td><b>Max</b></td> <td>10</td> <td>11</td> <td>12 </td></tr> <tr> <td>Red</td> <td>1</td> <td>2</td> <td>3 </td></tr> <tr> <td>Lime</td> <td>4</td> <td>5</td> <td>6 </td></tr> <tr> <td>Gold</td> <td>7</td> <td>8</td> <td>9 </td></tr> <tr> <td>Blue</td> <td>10</td> <td>11</td> <td>12 </td></tr> <tr class="sortbottom"> <td><b>Total</b></td> <td>22</td> <td>26</td> <td>30 </td></tr></tbody></table> </div> <div style="display: inline-grid; vertical-align:top;"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1253789634"> <table class="wikitable sortable sticky-header-multi"> <caption>Caption </caption> <tbody><tr> <th rowspan="2">Color </th> <th colspan="3">Data </th></tr> <tr> <th>A</th> <th>B </th> <th class="unsortable">C </th></tr> <tr> <td>Red</td> <td>1</td> <td>2</td> <td>3 </td></tr> <tr> <td>Lime</td> <td>4</td> <td>5</td> <td>6 </td></tr> <tr> <td>Gold</td> <td>7</td> <td>8</td> <td>9 </td></tr> <tr> <td>Blue</td> <td>10</td> <td>11</td> <td>12 </td></tr> <tr class="sortbottom"> <td><b>Max</b></td> <td>10</td> <td>11</td> <td>12 </td></tr> <tr class="sortbottom"> <td><b>Total</b></td> <td>22</td> <td>26</td> <td>30 </td></tr></tbody></table> </div> <p>See <a href="/wiki/Special:WhatLinksHere/Template:Sticky_header" title="Special:WhatLinksHere/Template:Sticky header">list of articles</a> transcluding <span class="nowrap"><code>{{sticky header}}</code></span>. See <a class="external text" href="https://templatecount.toolforge.org/index.php?lang=en&amp;namespace=10&amp;name=Sticky_header#bottom">transclusion count</a>. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Scrolling_tables_with_sticky_column_and_row_headers" data-mw-thread-id="h-Scrolling_tables_with_sticky_column_and_row_headers"><span data-mw-comment-start="" id="h-Scrolling_tables_with_sticky_column_and_row_headers"></span>Scrolling tables with sticky column and row headers<span data-mw-comment-end="h-Scrolling_tables_with_sticky_column_and_row_headers"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=13" title="Edit section: Scrolling tables with sticky column and row headers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Scrolling_tables_with_sticky_column_and_row_headers","replies":[]}}--></div> <p><i><b>Note:</b> Sticky left-side row headers do not work correctly if table is inside a <a href="/wiki/Template:Collapse_top" title="Template:Collapse top">collapsible show/hide box</a>. See <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:WikiProject_Tennis&amp;oldid=1232355612#Timeshifter_table">example</a>. ("Timeshifter table" section)</i><br/> </p><p>See: <b><a href="/wiki/Template:Sticky_table_start" title="Template:Sticky table start">Template:Sticky table start</a>.</b> It incorporates the old Covid CSS, and it is easier to use. See <a href="/wiki/Special:WhatLinksHere/Template:Sticky_table_start" title="Special:WhatLinksHere/Template:Sticky table start">Special:WhatLinksHere/Template:Sticky table start</a> for examples. </p><p>There are several advanced scrolling tables (with row and column headers that stay visible and sticky while scrolling) in <a href="/wiki/COVID-19_pandemic_by_country_and_territory" title="COVID-19 pandemic by country and territory">COVID-19 pandemic by country and territory</a> and in <a href="/wiki/COVID-19_pandemic_deaths" title="COVID-19 pandemic deaths">COVID-19 pandemic deaths</a>. The scrolling and sticky headers work in cell phones, too. Widest scrolling tables are on top of the list below. Narrow your browser window until you see a horizontal scroll bar. Drag it left and right to see the sticky row headers that stay visible. </p> <ul><li><a href="/wiki/Template:2020_monthly_cumulative_COVID-19_death_totals_by_country" title="Template:2020 monthly cumulative COVID-19 death totals by country">Template:2020 monthly cumulative COVID-19 death totals by country</a></li> <li><a href="/wiki/Template:2021_2nd_half._Monthly_cumulative_COVID-19_death_totals_by_country" title="Template:2021 2nd half. Monthly cumulative COVID-19 death totals by country">Template:2021 2nd half. Monthly cumulative COVID-19 death totals by country</a></li> <li><a href="/wiki/Template:2022_first_half._Monthly_cumulative_COVID-19_death_totals_by_country" title="Template:2022 first half. Monthly cumulative COVID-19 death totals by country">Template:2022 first half. Monthly cumulative COVID-19 death totals by country</a></li></ul> <p>A totally blind <a href="/wiki/Screen_reader" title="Screen reader">screen reader</a> user noted in a discussion <b><a href="/wiki/Talk:COVID-19_pandemic_deaths/Archive_1#Scrolling_versus_expanded_tables" title="Talk:COVID-19 pandemic deaths/Archive 1">here</a></b> that the scrolling tables in the related article (<a href="/wiki/COVID-19_pandemic_deaths" title="COVID-19 pandemic deaths">COVID-19 pandemic deaths</a>) were not a problem. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Automatically_updated_scrolling_tables_with_sticky_headers" data-mw-thread-id="h-Automatically_updated_scrolling_tables_with_sticky_headers"><span data-mw-comment-start="" id="h-Automatically_updated_scrolling_tables_with_sticky_headers"></span>Automatically updated scrolling tables with sticky headers<span data-mw-comment-end="h-Automatically_updated_scrolling_tables_with_sticky_headers"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=14" title="Edit section: Automatically updated scrolling tables with sticky headers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Automatically_updated_scrolling_tables_with_sticky_headers","replies":[]}}--></div> <p>These two scrolling tables with row/column sticky headers are also automatically updated: </p> <ul><li><a href="/wiki/Template:COVID-19_pandemic_death_rates" title="Template:COVID-19 pandemic death rates">Template:COVID-19 pandemic death rates</a></li> <li><a href="/wiki/Template:COVID-19_vaccination_data" title="Template:COVID-19 vaccination data">Template:COVID-19 vaccination data</a></li></ul> <p>See: </p> <ul><li><a href="/wiki/Template_talk:COVID-19_pandemic_death_rates#Automation_of_updates" title="Template talk:COVID-19 pandemic death rates">Template talk:COVID-19 pandemic death rates#Automation of updates</a>.</li> <li><a href="/wiki/Template_talk:COVID-19_vaccination_data#Automation_of_updates_to_this_template" title="Template talk:COVID-19 vaccination data">Template talk:COVID-19 vaccination data#Automation of updates to this template</a>.</li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Sortable_tables" data-mw-thread-id="h-Sortable_tables"><span data-mw-comment-start="" id="h-Sortable_tables"></span>Sortable tables<span data-mw-comment-end="h-Sortable_tables"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=15" title="Edit section: Sortable tables"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Sortable_tables","replies":[]}}--></div> <p><span class="anchor" id="Sortable"></span><span class="anchor" id="Sorting"></span> </p> <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">Main pages: <a href="/wiki/Help:Sortable_tables" title="Help:Sortable tables">Help:Sortable tables</a> and <a href="https://www.mediawiki.org/wiki/Help:Sortable_tables" class="extiw" title="mw:Help:Sortable tables">mw:Help:Sortable tables</a></div> <p>See <a href="/wiki/Help:Sortable_tables" title="Help:Sortable tables">Help:Sortable tables</a> for details of how to make sortable tables. Tables can be made sortable by adding <code>class="wikitable sortable"</code> to the top line of the table wikitext. Individual columns can then be excluded from sorting with <code>class=unsortable</code> in the lowest header cell. <b>Note</b>: that <code>data-sort-type=<i>VALUE</i></code> must go in the header cell with the sorting icon. That will be the lowest header cell. (See <a href="/wiki/Help:Sortable_tables#Forcing_a_column_to_have_a_particular_data_type" title="Help:Sortable tables">Help:Sortable tables § Forcing a column to have a particular data type</a>). </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Collapsible_tables" data-mw-thread-id="h-Collapsible_tables"><span data-mw-comment-start="" id="h-Collapsible_tables"></span>Collapsible tables<span data-mw-comment-end="h-Collapsible_tables"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=16" title="Edit section: Collapsible tables"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Collapsible_tables","replies":[]}}--></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">See also: <a href="/wiki/Help:Collapsing#Collapsible_tables" class="mw-redirect" title="Help:Collapsing">Help:Collapsing § Collapsible tables</a>, and <a href="https://www.mediawiki.org/wiki/Manual:Collapsible_elements" class="extiw" title="mw:Manual:Collapsible elements">mw:Manual:Collapsible elements</a></div> <p>Classes can also be used to collapse tables, so they are hidden by default. Use the class <span class="nowrap"><code>mw-collapsible</code></span> to enable collapsing behaviour. Collapsible tables can be sortable, too, by also including the <code>sortable</code> class (<style data-mw-deduplicate="TemplateStyles:r1033199720">.mw-parser-output div.crossreference{padding-left:0}</style><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><span role="note" class="hatnote navigation-not-searchable crossreference selfref">see <a href="#Sortable_tables">§ Sortable tables</a></span>). By default, a collapsible table begins expanded. To change this, add the additional class <span class="nowrap"><code>mw-collapsed</code></span>. Alternatively, you can add <code>autocollapse</code>, instead of <span class="nowrap"><code>mw-collapsed</code></span>, which will automatically collapse the table if two or more collapsible elements are present on the page. </p><p><b>Note</b>: Previous versions of this article recommended the <code>collapsible</code> class, but <span class="nowrap"><code>mw-collapsible</code></span> is now preferred. It is a feature of the MediaWiki software, not a local customization, and can be used to make any element collapsible, not just tables. <span class="nowrap"><code>mw-collapsible</code></span> also does not require a header row in the table, as <code>collapsible</code> did. Tables will show the <span class="nowrap">"[hide]" / "[show]"</span> controls in the first row of the table (whether or not it is a header row), unless a table caption is present.(<link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1033199720"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><span role="note" class="hatnote navigation-not-searchable crossreference selfref">see <a href="#Tables_with_captions">§ Tables with captions</a></span>) </p><p><b>Example with a header row</b> </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="hll"><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable mw-collapsible mw-collapsed"</span> </span><span class="p">|-</span> <span class="p">!</span><span class="gu"> Header</span> <span class="p">|-</span> <span class="p">|</span> Content that starts hidden <span class="p">|-</span> <span class="p">|</span> More hidden content <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table class="wikitable mw-collapsible mw-collapsed"> <tbody><tr> <th>Header </th></tr> <tr> <td>Content that starts hidden </td></tr> <tr> <td>More hidden content </td></tr></tbody></table> </div> <p><b>Examples without a header row</b> </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="hll"><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable mw-collapsible"</span> </span><span class="p">|-</span> <span class="p">|</span> First row is always visible <span class="p">|-</span> <span class="p">|</span> Content that starts visible <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table class="wikitable mw-collapsible"> <tbody><tr> <td>First row is always visible </td></tr> <tr> <td>Content that starts visible </td></tr></tbody></table> </div> <p><br/> </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="hll"><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable mw-collapsible mw-collapsed"</span> </span><span class="p">|-</span> <span class="p">|</span> First row is always visible <span class="p">|-</span> <span class="p">|</span> Other rows start hidden <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table class="wikitable mw-collapsible mw-collapsed"> <tbody><tr> <td>First row is always visible </td></tr> <tr> <td>Other rows start hidden </td></tr></tbody></table> </div> <p><b>Tables with captions</b> </p><p>Tables with captions will collapse to the table caption. The header will not be visible when collapsed. Use <span class="nowrap">{{</span><a href="/wiki/Template:Nowrap" title="Template:Nowrap">nowrap</a><span class="nowrap">}}</span> to keep the caption from being fit into a tiny vertical column when the table is collapsed. </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="hll"><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable mw-collapsible"</span> </span><span class="hll"><span class="p">|+</span><span class="gh">{{nowrap|Somewhat long table caption}}</span> </span><span class="p">|-</span> <span class="p">!</span><span class="gu"> Header</span> <span class="p">|-</span> <span class="p">|</span> Content starts visible <span class="p">|-</span> <span class="p">|</span> More visible content <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result.<br/>Click "hide" to see</b> </p> <hr/> <table class="wikitable mw-collapsible"> <caption><span class="nowrap">Somewhat long table caption</span> </caption> <tbody><tr> <th>Header </th></tr> <tr> <td>Content starts visible </td></tr> <tr> <td>More visible content </td></tr></tbody></table> </div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result<br/>(without {{nowrap}}.<br/>Click "hide" to see</b> </p> <hr/> <table class="wikitable mw-collapsible"> <caption>Somewhat long table caption </caption> <tbody><tr> <th>Header </th></tr> <tr> <td>Content starts visible </td></tr> <tr> <td>More visible content </td></tr></tbody></table> </div> <div style="clear:both;" class=""></div> <p>Starting off collapsed: </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="hll"><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable mw-collapsible mw-collapsed"</span> </span><span class="hll"><span class="p">|+</span><span class="gh">{{nowrap|Somewhat long table caption}}</span> </span><span class="p">|-</span> <span class="p">!</span><span class="gu"> Header</span> <span class="p">|-</span> <span class="p">|</span> Content starts hidden <span class="p">|-</span> <span class="p">|</span> More hidden content <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result.<br/>Click "hide" to see</b> </p> <hr/> <table class="wikitable mw-collapsible mw-collapsed"> <caption><span class="nowrap">Somewhat long table caption</span> </caption> <tbody><tr> <th>Header </th></tr> <tr> <td>Content starts hidden </td></tr> <tr> <td>More hidden content </td></tr></tbody></table> </div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result<br/>(without {{nowrap}}.<br/>Click "hide" to see</b> </p> <hr/> <table class="wikitable mw-collapsible mw-collapsed"> <caption>Somewhat long table caption </caption> <tbody><tr> <th>Header </th></tr> <tr> <td>Content starts hidden </td></tr> <tr> <td>More hidden content </td></tr></tbody></table> </div> <p><b>Sorting and collapsing</b> </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1252059228"><div class="module-shortcutanchordiv"><span id="WP:TABLECOLLAPSE"></span></div><div class="module-shortcutboxplain noprint" role="note"><div class="module-shortcutlist"><a href="/wiki/Wikipedia:Shortcut" title="Wikipedia:Shortcut">Shortcut</a></div><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1126788409"><div class="plainlist"><ul><li><span class="plainlinks"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=Wikipedia:TABLECOLLAPSE&amp;redirect=no">WP:TABLECOLLAPSE</a></span></li></ul></div></div> <p>It is possible to collapse a sortable table. To do so, you need to use this code: </p> <dl><dd><code><b>class="wikitable sortable mw-collapsible"</b></code></dd></dl> <p>For example: </p> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Wikitext</b> </p> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="hll"><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable sortable mw-collapsible"</span> </span><span class="p">|+</span><span class="gh"> Sortable and collapsible table</span> <span class="p">|-</span> <span class="p">!</span><span class="w"> </span><span class="na">scope</span><span class="o">=</span><span class="s">col</span><span class="w"> </span><span class="p">|</span><span class="gu"> Alphabetic</span> <span class="p">!</span><span class="w"> </span><span class="na">scope</span><span class="o">=</span><span class="s">col</span><span class="w"> </span><span class="p">|</span><span class="gu"> Numeric</span> <span class="p">!</span><span class="w"> </span><span class="na">scope</span><span class="o">=</span><span class="s">col</span><span class="w"> </span><span class="p">|</span><span class="gu"> Date</span> <span class="p">!</span><span class="w"> </span><span class="na">scope</span><span class="o">=</span><span class="s">col</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s">unsortable</span><span class="w"> </span><span class="p">|</span><span class="gu"> Unsortable</span> <span class="p">|-</span> <span class="p">|</span> d <span class="p">||</span> 20 <span class="p">||</span> 2008-11-24 <span class="p">||</span> This <span class="p">|-</span> <span class="p">|</span> b <span class="p">||</span> 8 <span class="p">||</span> 2004-03-01 <span class="p">||</span> column <span class="p">|-</span> <span class="p">|</span> a <span class="p">||</span> 6 <span class="p">||</span> 1979-07-23 <span class="p">||</span> cannot <span class="p">|-</span> <span class="p">|</span> c <span class="p">||</span> 4.2 <span class="p">||</span> 1492-12-08 <span class="p">||</span> be <span class="p">|-</span> <span class="p">|</span> e <span class="p">||</span> 0 <span class="p">||</span> 1601-08-13 <span class="p">||</span> sorted. <span class="p">|}</span> </pre></div></div> <div style="display:inline-table; border: 2px solid lime; padding: 0.5em;"> <p><b>Rendered result</b> </p> <table class="wikitable sortable mw-collapsible"> <caption>Sortable and collapsible table </caption> <tbody><tr> <th scope="col">Alphabetic </th> <th scope="col">Numeric </th> <th scope="col">Date </th> <th scope="col" class="unsortable">Unsortable </th></tr> <tr> <td>d</td> <td>20</td> <td>2008-11-24</td> <td>This </td></tr> <tr> <td>b</td> <td>8</td> <td>2004-03-01</td> <td>column </td></tr> <tr> <td>a</td> <td>6</td> <td>1979-07-23</td> <td>cannot </td></tr> <tr> <td>c</td> <td>4.2</td> <td>1492-12-08</td> <td>be </td></tr> <tr> <td>e</td> <td>0</td> <td>1601-08-13</td> <td>sorted. </td></tr></tbody></table> </div> <p>If you want the table to default to collapsed state, use the code </p> <dl><dd><code>{| class="wikitable sortable mw-collapsible <b>mw-collapsed</b>"</code></dd></dl> <p>in place of </p> <dl><dd><code>{| class="wikitable sortable mw-collapsible"</code></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Highlight_rows_on_hover" data-mw-thread-id="h-Highlight_rows_on_hover"><span data-mw-comment-start="" id="h-Highlight_rows_on_hover"></span>Highlight rows on hover<span data-mw-comment-end="h-Highlight_rows_on_hover"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:Table/Advanced&amp;action=edit&amp;section=17" title="Edit section: Highlight rows on hover"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Highlight_rows_on_hover","replies":[]}}--></div> <p><i><b>Note:</b> For usage examples, etc. go to <span class="nowrap">{{</span><a href="/wiki/Template:Row_hover_highlight" title="Template:Row hover highlight">row hover highlight</a><span class="nowrap">}}</span>.</i> </p><p>To highlight rows upon hover, add <span class="nowrap">{{</span><a href="/wiki/Template:Row_hover_highlight" title="Template:Row hover highlight">row hover highlight</a><span class="nowrap">}}</span> (or its alias, <span class="plainlinks">{{<a class="external text" href="https://en.wikipedia.org/w/index.php?title=Template:Mw-datatable&amp;redirect=no">mw-datatable</a>}}</span>) just above the table wikitext. </p><p>This enables use of <code>class=mw-datatable</code> and <code>class=hover-highlight</code>. Both add a <span style="background-color: #eaf3ff;color:black;">light blue</span> highlight when you hover your cursor over a table row. <code>class=mw-datatable</code> also makes the background of the non-header cells white. It does not override existing background colors set for cells or rows. (<code>class=wikitable</code> produces a light gray background for data cells.) </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:Table/Advanced&amp;action=edit&amp;section=18" 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> <ul><li><a href="/wiki/Help:Table" title="Help:Table">Help:Table</a> for general information about using tables. It also has many links in its "See also" and "External links" sections. Rather than duplicating them here.</li></ul> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><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_help_pages" 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"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Wikipedia_help_pages" title="Template:Wikipedia help pages"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Wikipedia_help_pages" title="Template talk:Wikipedia help pages"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Wikipedia_help_pages" title="Special:EditPage/Template:Wikipedia help pages"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Wikipedia_help_pages" style="font-size:114%;margin:0 4em"><a href="/wiki/Help:Directory" title="Help:Directory">Wikipedia help pages</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="2" style="text-align:center;"><div> <ul><li><b>Visit the <i><a href="/wiki/Wikipedia:Teahouse" title="Wikipedia:Teahouse">Teahouse</a></i> or the <i><a href="/wiki/Wikipedia:Help_desk" title="Wikipedia:Help desk">Help desk</a></i> for an interactive <abbr title="questions and answers">Q &amp; A</abbr> forum.</b></li></ul> <hr/> <ul><li><b><a href="/wiki/Wikipedia:FAQ" title="Wikipedia:FAQ">FAQs</a></b> <b><abbr title="This is a list of frequently asked questions about using and contributing to Wikipedia.">(?)</abbr></b></li> <li><b><a href="/wiki/Wikipedia:Reference_desk" title="Wikipedia:Reference desk">Reference desks</a></b> <b><abbr title="Works like a library reference desk. Ask a question here and Wikipedia volunteers will try to answer it.">(?)</abbr></b></li> <li><b><a href="/wiki/Wikipedia:Noticeboards" title="Wikipedia:Noticeboards">Noticeboards</a></b> <b><abbr title="Pages where editors can ask questions and request assistance from people who are familiar with the policies and guidelines covered by each individual board.">(?)</abbr></b></li> <li><b><a href="/wiki/Help:Cheatsheet" title="Help:Cheatsheet">Cheatsheet</a></b> <b><abbr title="For a list of the most commonly used Wiki markup and templates.">(?)</abbr></b></li> <li><b> <a href="/wiki/Wikipedia:Directories_and_indexes" title="Wikipedia:Directories and indexes">Directories</a></b> <b><abbr title="For a list of Wikipedia's directories and indexes.">(?)</abbr></b></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Wikipedia:About" title="Wikipedia:About">About Wikipedia</a> <abbr title="Wikipedia's governess and customs">(?)</abbr></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:Administration" title="Wikipedia:Administration">Administration</a> <ul><li><a href="/wiki/Wikipedia:Purpose" title="Wikipedia:Purpose">Purpose</a></li> <li><a href="/wiki/Wikipedia:Five_pillars" title="Wikipedia:Five pillars">Principles</a></li></ul></li> <li><a href="/wiki/Wikipedia:Policies_and_guidelines" title="Wikipedia:Policies and guidelines">Policies and guidelines</a></li> <li><a href="/wiki/Wikipedia:What_Wikipedia_is_not" title="Wikipedia:What Wikipedia is not">What Wikipedia is not</a></li> <li><a href="/wiki/Wikipedia:General_disclaimer" title="Wikipedia:General disclaimer">Disclaimer</a> (<a href="/wiki/Wikipedia:Advice_for_parents" title="Wikipedia:Advice for parents">parental advice</a>)</li> <li><a href="/wiki/Wikipedia:Request_directory" title="Wikipedia:Request directory">Making requests</a></li> <li><a href="/wiki/Wikipedia:Who_writes_Wikipedia%3F" title="Wikipedia:Who writes Wikipedia?">Who writes Wikipedia?</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Wikipedia:Reader%27s_index_to_Wikipedia" title="Wikipedia:Reader's index to Wikipedia">Help for readers</a> <abbr title="Concerns and questions readers may have about Wikipedia">(?)</abbr></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:FAQ/Readers" title="Wikipedia:FAQ/Readers">FAQ</a></li> <li><a href="/wiki/Wikipedia:Wikipedia_book_creator_status" class="mw-redirect" title="Wikipedia:Wikipedia book creator status">Books</a></li> <li><a href="/wiki/Help:Copyright" title="Help:Copyright">Copyright</a></li> <li><a href="/wiki/Help:Glossary" class="mw-redirect" title="Help:Glossary">Glossary</a></li> <li><a href="/wiki/Help:Mobile_access" title="Help:Mobile access">Mobile access</a></li> <li><a href="/wiki/Help:Navigation" title="Help:Navigation">Navigation</a></li> <li><a href="/wiki/Help:Other_languages" title="Help:Other languages">Other languages</a></li> <li><a href="/wiki/Help:Searching" title="Help:Searching">Searching</a></li> <li><a href="/wiki/Help:Student_help" title="Help:Student help">Students</a></li> <li><a href="/wiki/Help:Viewing_media" title="Help:Viewing media">Viewing media</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Wikipedia:Contributing_to_Wikipedia" title="Wikipedia:Contributing to Wikipedia">Contributing<br/>to Wikipedia</a> <abbr title="Overviews and resources needed to comprehend, comment on, and edit">(?)</abbr></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:Guidance_for_younger_editors" title="Wikipedia:Guidance for younger editors">Advice for young editors</a></li> <li><a href="/wiki/Wikipedia:Avoiding_common_mistakes" title="Wikipedia:Avoiding common mistakes">Avoiding common mistakes</a></li> <li><a href="/wiki/Wikipedia:Etiquette" title="Wikipedia:Etiquette">Etiquette</a></li> <li><a href="/wiki/Wikipedia:Simplified_Manual_of_Style" title="Wikipedia:Simplified Manual of Style">Simplified Manual of Style</a></li> <li><a href="/wiki/Wikipedia:Simplified_ruleset" title="Wikipedia:Simplified ruleset">Simplified rule-set</a> <ul><li><a href="/wiki/Wikipedia:Ignore_all_rules" title="Wikipedia:Ignore all rules">"Ignore all rules"</a></li> <li><a href="/wiki/Wikipedia:The_rules_are_principles" title="Wikipedia:The rules are principles">"The rules are principles"</a></li></ul></li> <li><a href="/wiki/Wikipedia:Styletips" title="Wikipedia:Styletips">Style-tips</a></li> <li><a href="/wiki/Wikipedia:Tip_of_the_day" title="Wikipedia:Tip of the day">Tip of the day</a></li> <li><a href="/wiki/Help:Your_first_article" title="Help:Your first article">Your first article</a> (<a href="/wiki/Wikipedia:Article_wizard" title="Wikipedia:Article wizard">article wizard</a>)</li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Help:Getting_started" title="Help:Getting started">Getting started</a> <abbr title="Introductions and tutorials">(?)</abbr></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:Why_create_an_account%3F" title="Wikipedia:Why create an account?">Why create an account?</a></li> <li><a href="/wiki/Help:Introduction" title="Help:Introduction">Introductions by topic</a></li> <li><a href="/wiki/Wikipedia:Graphics_tutorials" title="Wikipedia:Graphics tutorials">Graphics tutorials</a> <ul><li><a href="/wiki/Help:Pictures" title="Help:Pictures">Picture tutorial</a></li> <li><a href="/wiki/Wikipedia:IRC/Tutorial" title="Wikipedia:IRC/Tutorial">IRC <span style="font-size:85%;">(live chat)</span> tutorial</a></li></ul></li> <li><a href="/wiki/Wikipedia:VisualEditor/User_guide" class="mw-redirect" title="Wikipedia:VisualEditor/User guide">VisualEditor user guide</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Wikipedia:Dos_and_don%27ts" title="Wikipedia:Dos and don'ts">Dos and don'ts</a> <abbr title="Wikipedia policies, guidelines, and formatting standards in bullet points">(?)</abbr></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:Accessibility_dos_and_don%27ts" title="Wikipedia:Accessibility dos and don'ts">Accessibility</a></li> <li><a href="/wiki/Wikipedia:Biography_dos_and_don%27ts" title="Wikipedia:Biography dos and don'ts">Biographies</a></li> <li><a href="/wiki/Wikipedia:Biographies_of_living_persons_dos_and_don%27ts" title="Wikipedia:Biographies of living persons dos and don'ts">Biographies (living)</a></li> <li><a href="/wiki/Wikipedia:Categorization_dos_and_don%27ts" title="Wikipedia:Categorization dos and don'ts">Categorization</a></li> <li><a href="/wiki/Wikipedia:Consensus_dos_and_don%27ts" title="Wikipedia:Consensus dos and don'ts">Consensus</a></li> <li><a href="/wiki/Wikipedia:Talk_dos_and_don%27ts" title="Wikipedia:Talk dos and don'ts">Discussions</a></li> <li><a href="/wiki/Wikipedia:Disambiguation_dos_and_don%27ts" title="Wikipedia:Disambiguation dos and don'ts">Disambiguation</a></li> <li><a href="/wiki/Wikipedia:Image_dos_and_don%27ts" title="Wikipedia:Image dos and don'ts">Images</a></li> <li><a href="/wiki/Wikipedia:Lead_dos_and_don%27ts" title="Wikipedia:Lead dos and don'ts">Leads</a></li> <li><a href="/wiki/Wikipedia:Linking_dos_and_don%27ts" title="Wikipedia:Linking dos and don'ts">Links</a></li> <li><a href="/wiki/Wikipedia:List_dos_and_don%27ts" title="Wikipedia:List dos and don'ts">Lists</a></li> <li><a href="/wiki/Wikipedia:References_dos_and_don%27ts" title="Wikipedia:References dos and don'ts">References</a></li> <li><a href="/wiki/Wikipedia:Table_dos_and_don%27ts" title="Wikipedia:Table dos and don'ts">Tables</a></li> <li><a href="/wiki/Wikipedia:Article_title_dos_and_don%27ts" title="Wikipedia:Article title dos and don'ts">Titles (of articles)</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Category:Wikipedia_how-to" title="Category:Wikipedia how-to">How-to pages</a> and<br/><a href="/wiki/Category:Wikipedia_information_pages" title="Category:Wikipedia information pages">information pages</a> <abbr title="Topic specific informative and instructional pages">(?)</abbr></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:Guide_to_appealing_blocks" title="Wikipedia:Guide to appealing blocks">Appealing blocks</a></li> <li><a href="/wiki/Wikipedia:Guide_to_deletion" title="Wikipedia:Guide to deletion">Article deletion</a></li> <li><a href="/wiki/Help:Category" title="Help:Category">Categories</a></li> <li><a href="/wiki/Help:Citations_quick_reference" title="Help:Citations quick reference">Citations/references</a> <ul><li><a href="/wiki/Help:Referencing_for_beginners" title="Help:Referencing for beginners">Referencing for beginners</a></li> <li><a href="/wiki/Help:Citation_Style_1" title="Help:Citation Style 1">Citation Style 1</a></li> <li><a href="/wiki/Help:Cite_errors" title="Help:Cite errors">Cite errors</a></li> <li><a href="/wiki/Help:References_and_page_numbers" title="Help:References and page numbers">References and page numbers</a></li></ul></li> <li><a href="/wiki/Help:Convert" title="Help:Convert">Convert</a></li> <li><a href="/wiki/Help:Diff" title="Help:Diff">Diff</a></li> <li><a href="/wiki/Help:Editing" title="Help:Editing">Editing</a> <ul><li><a href="/wiki/Help:Minor_edit" title="Help:Minor edit">Minor edit</a></li> <li><a href="/wiki/Help:Edit_toolbar" title="Help:Edit toolbar">toolbar</a></li> <li><a href="/wiki/Help:Edit_conflict" title="Help:Edit conflict">edit conflict</a></li></ul></li> <li><a href="/wiki/Help:Find_sources" title="Help:Find sources">Find sources</a></li> <li><a href="/wiki/Help:Files" title="Help:Files">Files</a></li> <li><a href="/wiki/Help:Footnotes" title="Help:Footnotes">Footnotes</a></li> <li><a href="/wiki/Wikipedia:Guide_to_image_deletion" title="Wikipedia:Guide to image deletion">Image deletion</a></li> <li><a href="/wiki/Help:Infobox" title="Help:Infobox">Infoboxes</a></li> <li><a href="/wiki/Help:Link" title="Help:Link">Linking</a> (<a href="/wiki/Help:Link_color" title="Help:Link color">link color</a>)</li> <li><a href="/wiki/Help:Logging_in" title="Help:Logging in">Logging in</a></li> <li><a href="/wiki/Wikipedia:Merging" title="Wikipedia:Merging">Merging</a></li> <li><a href="/wiki/Help:Page_name" title="Help:Page name">Page name</a> <ul><li><a href="/wiki/Help:How_to_move_a_page" title="Help:How to move a page">Renaming pages</a></li></ul></li> <li><a href="/wiki/Help:Redirect" title="Help:Redirect">Redirect</a></li> <li><a href="/wiki/Help:Reset_password" title="Help:Reset password">Passwords</a> <ul><li><a href="/wiki/Help:Email_confirmation" title="Help:Email confirmation">Email confirmation</a></li></ul></li> <li><a href="/wiki/Help:Reverting" title="Help:Reverting">Reverting</a> <ul><li><a href="/wiki/Help:Simple_guide_to_vandalism_cleanup" title="Help:Simple guide to vandalism cleanup">Simple vandalism cleanup</a></li></ul></li> <li><a href="/wiki/Help:Talk_pages" title="Help:Talk pages">Talk pages</a> (<a href="/wiki/Help:Archiving_a_talk_page" title="Help:Archiving a talk page">archiving</a></li> <li><a href="/wiki/Help:Archiving_(plain_and_simple)" title="Help:Archiving (plain and simple)">simple archiving</a>)</li> <li><a href="/wiki/Help:User_contributions" title="Help:User contributions">User contributions</a></li> <li><a href="/wiki/Help:WP_search_protocol" title="Help:WP search protocol">WP search protocol</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Wiki_markup" class="mw-redirect" title="Wiki markup">Coding</a> <abbr title="Wikitext information consists of the syntax used to format a page">(?)</abbr></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">Wiki markup</a></li> <li><a href="/wiki/Help:Barchart" title="Help:Barchart">Barcharts</a></li> <li><a href="/wiki/Help:Calculation" title="Help:Calculation">Calculations</a></li> <li><a href="/wiki/Help:Special_characters" title="Help:Special characters">Characters</a></li> <li><a href="/wiki/Help:Columns" title="Help:Columns">Columns</a></li> <li><a href="/wiki/Help:Elevation" title="Help:Elevation">Elevation</a></li> <li><a href="/wiki/Wikipedia:Manual_of_Style/Hidden_text" title="Wikipedia:Manual of Style/Hidden text">Hidden text</a></li> <li><a href="/wiki/Help:HTML_in_wikitext" title="Help:HTML in wikitext">HTML</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></li> <li><a href="/wiki/Help:Musical_symbols" title="Help:Musical symbols">Music symbols</a></li> <li><a href="/wiki/Help:Section" title="Help:Section">Sections</a></li> <li><a href="/wiki/Help:Sound_file_markup" title="Help:Sound file markup">Sounds</a></li> <li><a href="/wiki/Help:Table" title="Help:Table">Tables</a></li> <li><a href="/wiki/Help:Template" title="Help:Template">Templates</a></li> <li><a href="/wiki/Wikipedia:Transclusion" class="mw-redirect" title="Wikipedia:Transclusion">Transclusion</a></li> <li><a href="/wiki/Help:URL" title="Help:URL">URL</a></li> <li><a href="/wiki/Help:Visual_file_markup" title="Help:Visual file markup">Visual files</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="text-align:center;;width:1%"><a href="/wiki/Wikipedia:Directories_and_indexes" title="Wikipedia:Directories and indexes">Directories</a> <abbr title="Wikipedia's directories and indexes">(?)</abbr></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:Wikipedia_abbreviations" title="Wikipedia:Wikipedia abbreviations">Abbreviations</a></li> <li><a href="/wiki/Wikipedia:Contents" title="Wikipedia:Contents">Contents</a> <small>(Encyclopedia proper)</small></li> <li><a href="/wiki/Wikipedia:Department_directory" title="Wikipedia:Department directory">Departments</a></li> <li><a href="/wiki/Wikipedia:Editor%27s_index_to_Wikipedia" title="Wikipedia:Editor's index to Wikipedia">Editor's index</a></li> <li><a href="/wiki/Wikipedia:Essay_directory" title="Wikipedia:Essay directory">Essays</a></li> <li><a href="/wiki/Wikipedia:FAQ/Index" class="mw-redirect" title="Wikipedia:FAQ/Index">FAQs</a></li> <li><a href="/wiki/Wikipedia:Glossary" title="Wikipedia:Glossary">Glossary</a></li> <li><a href="/wiki/Wikipedia:List_of_guidelines" title="Wikipedia:List of guidelines">Guidelines</a></li> <li><a href="/wiki/Wikipedia:Manual_of_Style/Contents" title="Wikipedia:Manual of Style/Contents">Manual of Style </a></li> <li><a href="/wiki/Wikipedia:List_of_policies" title="Wikipedia:List of policies">Policies</a></li> <li><a href="/wiki/Wikipedia:Maintenance" title="Wikipedia:Maintenance">Tasks</a></li> <li><a href="/wiki/Wikipedia:Tips" title="Wikipedia:Tips">Tips</a></li> <li><a href="/wiki/Wikipedia:Tools" title="Wikipedia:Tools">Tools</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2" style="text-align:center;"><div><b> <a href="/wiki/Help:Wikipedia:_The_Missing_Manual" title="Help:Wikipedia: The Missing Manual">Missing Manual</a></b> <hr/> <span class="noprint plainlinks" title="Edit Special:MyTalk"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=Special:MyTalk&amp;action=edit&amp;section=new&amp;preload=Help:Contents/helpmepreload&amp;preloadtitle=Help+me%21"><b>Ask for help on your talk page</b></a></span> <b><abbr title="If you need help, you can use this link to ask a question on your talk page; a volunteer will visit you there shortly!">(?)</abbr></b></div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"></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"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><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 href="/wiki/Help:Gallery_tag" title="Help:Gallery tag">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‐web.eqiad.canary‐6cf7574d44‐jkmvf Cached time: 20241119023001 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] DiscussionTools time usage: 0.070 seconds CPU time usage: 0.568 seconds Real time usage: 1.755 seconds Preprocessor visited node count: 2147/1000000 Post‐expand include size: 72243/2097152 bytes Template argument size: 5599/2097152 bytes Highest expansion depth: 12/100 Expensive parser function count: 28/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 72921/5000000 bytes Lua time usage: 0.148/10.000 seconds Lua memory usage: 3307305/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 1493.322 1 -total 9.69% 144.656 1 Template:Wiki_markup 4.45% 66.406 1 Template:Helpbox 4.27% 63.769 1 Template:Sidebar 4.24% 63.386 1 Template:Wikipedia_how_to 3.74% 55.895 2 Template:Sticky_header 3.45% 51.545 1 Template:Help_navigation 2.90% 43.377 2 Template:Static_row_numbers 2.88% 42.953 1 Template:Short_description 2.36% 35.189 1 Template:Table_help --> <!-- Saved in parser cache with key enwiki:pcache:idhash:75525651-0!canonical and timestamp 20241119023001 and revision id 1255219750. Rendering was triggered because: page-view --> </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:Table/Advanced&amp;oldid=1255219750">https://en.wikipedia.org/w/index.php?title=Help:Table/Advanced&amp;oldid=1255219750</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_tables" title="Category:Wikipedia tables">Wikipedia tables</a></li><li><a href="/wiki/Category:Wikipedia_text_help" title="Category:Wikipedia text help">Wikipedia text 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 3 November 2024, at 19:58<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:Table/Advanced&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-f69cdc8f6-mf4ts","wgBackendResponseTime":150,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Horizontal_alignment_in_cells","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Aligning_text_in_header_cells_versus_other_cells-Horizontal_alignment_in_cells","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Aligning_the_data_in_data_columns_to_the_right-Horizontal_alignment_in_cells","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Decimal_point_alignment-Horizontal_alignment_in_cells","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Column_alignment-Horizontal_alignment_in_cells","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Aligning_the_text_in_the_first_column_to_the_left-Horizontal_alignment_in_cells","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Side_by_side_tables","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Side_by_side_tables/images","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Scrolling_tables","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Vertical_scrolling_table-Scrolling_tables","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Horizontal_scrolling_table-Scrolling_tables","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Tables_with_sticky_headers","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Scrolling_tables_with_sticky_column_and_row_headers","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Automatically_updated_scrolling_tables_with_sticky_headers","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Sortable_tables","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Collapsible_tables","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Highlight_rows_on_hover","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-See_also","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.070"},"limitreport":{"cputime":"0.568","walltime":"1.755","ppvisitednodes":{"value":2147,"limit":1000000},"postexpandincludesize":{"value":72243,"limit":2097152},"templateargumentsize":{"value":5599,"limit":2097152},"expansiondepth":{"value":12,"limit":100},"expensivefunctioncount":{"value":28,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":72921,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 1493.322 1 -total"," 9.69% 144.656 1 Template:Wiki_markup"," 4.45% 66.406 1 Template:Helpbox"," 4.27% 63.769 1 Template:Sidebar"," 4.24% 63.386 1 Template:Wikipedia_how_to"," 3.74% 55.895 2 Template:Sticky_header"," 3.45% 51.545 1 Template:Help_navigation"," 2.90% 43.377 2 Template:Static_row_numbers"," 2.88% 42.953 1 Template:Short_description"," 2.36% 35.189 1 Template:Table_help"]},"scribunto":{"limitreport-timeusage":{"value":"0.148","limit":"10.000"},"limitreport-memusage":{"value":3307305,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.canary-6cf7574d44-jkmvf","timestamp":"20241119023001","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

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