CINXE.COM

Help:Magic words - MediaWiki

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-disabled 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-disabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Help:Magic words - MediaWiki</title> <script>(function(){var className="client-js vector-feature-language-in-header-disabled 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-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )mediawikiwikimwclientpreferences=([^;]+)/);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":"75c452bb-ec60-4983-a02e-cf7d00f1f85e","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:Magic_words","wgTitle":"Magic words","wgCurRevisionId":6813779,"wgRevisionId":6813779,"wgArticleId":1748,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Help","Time","Magic words"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:Magic_words","wgRelevantArticleId":1748,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["autoconfirmed"],"wgRestrictionMove":["autoconfirmed"],"wgNoticeProject":"mediawiki","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true, "wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":100000,"wgTranslatePageTranslation":"source","wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"visual","wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q4483522","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={ "ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","ext.pygments":"ready","ext.cite.styles":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.translate.edit.documentation.styles":"ready","ext.translate":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","ext.cite.ux-enhancements","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP", "ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","wikibase.client.vector-2022","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.cite.styles%7Cext.discussionTools.init.styles%7Cext.pygments%2Ctranslate%2CwikimediaBadges%7Cext.translate.edit.documentation.styles%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.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:site_name" content="MediaWiki"> <meta property="og:title" content="Help:Magic words - MediaWiki"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.mediawiki.org/wiki/Help:Magic_words"> <link rel="apple-touch-icon" href="/static/apple-touch/mediawiki.png"> <link rel="icon" href="/static/favicon/mediawiki.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="MediaWiki (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.mediawiki.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.mediawiki.org/wiki/Help:Magic_words"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="MediaWiki 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 page-Help_Magic_words rootpage-Help_Magic_words 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/MediaWiki" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-mw-download" class="mw-list-item"><a href="/wiki/Download"><span>Get MediaWiki</span></a></li><li id="n-mw-extensions" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Category:Extensions"><span>Get extensions</span></a></li><li id="n-blog-text" class="mw-list-item"><a href="https://techblog.wikimedia.org/"><span>Tech blog</span></a></li><li id="n-mw-contribute" class="mw-list-item"><a href="/wiki/Special:MyLanguage/How_to_contribute"><span>Contribute</span></a></li> </ul> </div> </div> <div id="p-support" class="vector-menu mw-portlet mw-portlet-support" > <div class="vector-menu-heading"> Support </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>User help</span></a></li><li id="n-mw-faq" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:FAQ"><span>FAQ</span></a></li><li id="n-mw-manual" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:Contents"><span>Technical manual</span></a></li><li id="n-mw-supportdesk" class="mw-list-item"><a href="/wiki/Project:Support_desk"><span>Support desk</span></a></li><li id="n-mw-communication" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Communication"><span>Communication</span></a></li> </ul> </div> </div> <div id="p-development" class="vector-menu mw-portlet mw-portlet-development" > <div class="vector-menu-heading"> Development </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mw-developerportal" class="mw-list-item"><a href="https://developer.wikimedia.org/"><span>Developer portal</span></a></li><li id="n-svn-statistics" class="mw-list-item"><a href="/wiki/Development_statistics"><span>Code statistics</span></a></li> </ul> </div> </div> <div id="p-mediawiki.org" class="vector-menu mw-portlet mw-portlet-mediawiki_org" > <div class="vector-menu-heading"> mediawiki.org </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Project:Help" title="About the project, what you can do, where to find things"><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 in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-mw-translate" class="mw-list-item"><a href="/wiki/Special:LanguageStats"><span>Translate content</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Load a random page [x]" accesskey="x"><span>Random page</span></a></li><li id="n-mw-discussion" class="mw-list-item"><a href="/wiki/Project:Village_Pump"><span>Village pump</span></a></li><li id="n-Sandboxlink-portlet-label" class="mw-list-item"><a href="/wiki/Project:Sandbox"><span>Sandbox</span></a></li> </ul> </div> </div> <div id="p-lang" class="vector-menu mw-portlet mw-portlet-lang" > <div class="vector-menu-heading"> In other languages </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-als mw-list-item"><a href="https://als.wikipedia.org/wiki/Hilfe:Variable" title="Hilfe:Variable – Alemannic" lang="gsw" hreflang="gsw" data-title="Hilfe:Variable" data-language-autonym="Alemannisch" data-language-local-name="Alemannic" class="interlanguage-link-target"><span>Alemannisch</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D9%83%D9%84%D9%85%D8%A7%D8%AA_%D8%B3%D8%AD%D8%B1%D9%8A%D8%A9" title="مساعدة:كلمات سحرية – Arabic" lang="ar" hreflang="ar" data-title="مساعدة:كلمات سحرية" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-as mw-list-item"><a href="https://as.wikipedia.org/wiki/%E0%A6%B8%E0%A6%B9%E0%A6%BE%E0%A6%AF%E0%A6%BC:%E0%A6%AF%E0%A6%BE%E0%A6%A6%E0%A7%81%E0%A6%95%E0%A7%B0%E0%A7%80_%E0%A6%B6%E0%A6%AC%E0%A7%8D%E0%A6%A6%E0%A6%AC%E0%A7%8B%E0%A7%B0" title="সহায়:যাদুকৰী শব্দবোৰ – Assamese" lang="as" hreflang="as" data-title="সহায়:যাদুকৰী শব্দবোৰ" data-language-autonym="অসমীয়া" data-language-local-name="Assamese" class="interlanguage-link-target"><span>অসমীয়া</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/%D0%A3%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%92%D1%8A%D0%BB%D1%88%D0%B5%D0%B1%D0%BD%D0%B8_%D0%B4%D1%83%D0%BC%D0%B8%D1%87%D0%BA%D0%B8" title="Уикипедия:Вълшебни думички – Bulgarian" lang="bg" hreflang="bg" data-title="Уикипедия:Вълшебни думички" data-language-autonym="Български" data-language-local-name="Bulgarian" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%B8%E0%A6%BE%E0%A6%B9%E0%A6%BE%E0%A6%AF%E0%A7%8D%E0%A6%AF:%E0%A6%9C%E0%A6%BE%E0%A6%A6%E0%A7%81_%E0%A6%B6%E0%A6%AC%E0%A7%8D%E0%A6%A6" title="সাহায্য:জাদু শব্দ – Bangla" lang="bn" hreflang="bn" data-title="সাহায্য:জাদু শব্দ" data-language-autonym="বাংলা" data-language-local-name="Bangla" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Ajuda:Paraules_m%C3%A0giques" title="Ajuda:Paraules màgiques – Catalan" lang="ca" hreflang="ca" data-title="Ajuda:Paraules màgiques" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/N%C3%A1pov%C4%9Bda:Kouzeln%C3%A1_sl%C5%AFvka" title="Nápověda:Kouzelná slůvka – Czech" lang="cs" hreflang="cs" data-title="Nápověda:Kouzelná slůvka" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-cy mw-list-item"><a href="https://cy.wikipedia.org/wiki/Wicipedia:Geiriau_hud" title="Wicipedia:Geiriau hud – Welsh" lang="cy" hreflang="cy" data-title="Wicipedia:Geiriau hud" data-language-autonym="Cymraeg" data-language-local-name="Welsh" class="interlanguage-link-target"><span>Cymraeg</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Hilfe:Magische_W%C3%B6rter" title="Hilfe:Magische Wörter – German" lang="de" hreflang="de" data-title="Hilfe:Magische Wörter" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Help:Magic_words" title="Help:Magic words – English" lang="en" hreflang="en" data-title="Help:Magic words" data-language-autonym="English" data-language-local-name="English" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Ayuda:Palabras_m%C3%A1gicas" title="Ayuda:Palabras mágicas – Spanish" lang="es" hreflang="es" data-title="Ayuda:Palabras mágicas" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Laguntza:Hitz_magikoak" title="Laguntza:Hitz magikoak – Basque" lang="eu" hreflang="eu" data-title="Laguntza:Hitz magikoak" data-language-autonym="Euskara" data-language-local-name="Basque" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%B1%D8%A7%D9%87%D9%86%D9%85%D8%A7:%D9%88%D8%A7%DA%98%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AC%D8%A7%D8%AF%D9%88%DB%8C%DB%8C" title="راهنما:واژه‌های جادویی – Persian" lang="fa" hreflang="fa" data-title="راهنما:واژه‌های جادویی" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Aide:Mot_magique" title="Aide:Mot magique – French" lang="fr" hreflang="fr" data-title="Aide:Mot magique" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Axuda:Palabras_m%C3%A1xicas" title="Axuda:Palabras máxicas – Galician" lang="gl" hreflang="gl" data-title="Axuda:Palabras máxicas" data-language-autonym="Galego" data-language-local-name="Galician" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/%E0%AA%AE%E0%AA%A6%E0%AA%A6:Magic_words" title="મદદ:Magic words – Gujarati" lang="gu" hreflang="gu" data-title="મદદ:Magic words" data-language-autonym="ગુજરાતી" data-language-local-name="Gujarati" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A2%D7%96%D7%A8%D7%94:%D7%9E%D7%99%D7%9C%D7%95%D7%AA_%D7%9E%D7%A4%D7%AA%D7%97" title="עזרה:מילות מפתח – Hebrew" lang="he" hreflang="he" data-title="עזרה:מילות מפתח" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%B8%E0%A4%B9%E0%A4%BE%E0%A4%AF%E0%A4%A4%E0%A4%BE:%E0%A4%9C%E0%A4%BE%E0%A4%A6%E0%A5%82%E0%A4%88_%E0%A4%B6%E0%A4%AC%E0%A5%8D%E0%A4%A6" title="सहायता:जादूई शब्द – Hindi" lang="hi" hreflang="hi" data-title="सहायता:जादूई शब्द" data-language-autonym="हिन्दी" data-language-local-name="Hindi" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/Pomo%C4%87:Magi%C4%8Dne_rije%C4%8Di" title="Pomoć:Magične riječi – Croatian" lang="hr" hreflang="hr" data-title="Pomoć:Magične riječi" data-language-autonym="Hrvatski" data-language-local-name="Croatian" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Wikip%C3%A9dia:Var%C3%A1zsszavak" title="Wikipédia:Varázsszavak – Hungarian" lang="hu" hreflang="hu" data-title="Wikipédia:Varázsszavak" data-language-autonym="Magyar" data-language-local-name="Hungarian" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Bantuan:Kata_ajaib" title="Bantuan:Kata ajaib – Indonesian" lang="id" hreflang="id" data-title="Bantuan:Kata ajaib" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Aiuto:Parole_magiche" title="Aiuto:Parole magiche – Italian" lang="it" hreflang="it" data-title="Aiuto:Parole magiche" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Help:%E3%83%9E%E3%82%B8%E3%83%83%E3%82%AF%E3%83%AF%E3%83%BC%E3%83%89" title="Help:マジックワード – Japanese" lang="ja" hreflang="ja" data-title="Help:マジックワード" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/%E1%83%93%E1%83%90%E1%83%AE%E1%83%9B%E1%83%90%E1%83%A0%E1%83%94%E1%83%91%E1%83%90:%E1%83%AF%E1%83%90%E1%83%93%E1%83%9D%E1%83%A1%E1%83%9C%E1%83%A3%E1%83%A0%E1%83%98_%E1%83%A1%E1%83%98%E1%83%A2%E1%83%A7%E1%83%95%E1%83%94%E1%83%91%E1%83%98" title="დახმარება:ჯადოსნური სიტყვები – Georgian" lang="ka" hreflang="ka" data-title="დახმარება:ჯადოსნური სიტყვები" data-language-autonym="ქართული" data-language-local-name="Georgian" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/%E1%9E%87%E1%9F%86%E1%9E%93%E1%9E%BD%E1%9E%99:%E1%9E%96%E1%9E%B6%E1%9E%80%E1%9F%92%E1%9E%99%E1%9E%91%E1%9E%B7%E1%9E%96%E1%9F%92%E1%9E%9C" title="ជំនួយ:ពាក្យទិព្វ – Khmer" lang="km" hreflang="km" data-title="ជំនួយ:ពាក្យទិព្វ" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="Khmer" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-kn mw-list-item"><a href="https://kn.wikipedia.org/wiki/%E0%B2%B8%E0%B2%B9%E0%B2%BE%E0%B2%AF:Magic_words" title="ಸಹಾಯ:Magic words – Kannada" lang="kn" hreflang="kn" data-title="ಸಹಾಯ:Magic words" data-language-autonym="ಕನ್ನಡ" data-language-local-name="Kannada" class="interlanguage-link-target"><span>ಕನ್ನಡ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EB%8F%84%EC%9B%80%EB%A7%90:%ED%8A%B9%EC%88%98_%EB%AA%85%EB%A0%B9%EB%AC%B8" title="도움말:특수 명령문 – Korean" lang="ko" hreflang="ko" data-title="도움말:특수 명령문" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BC%D0%BE%D1%88:%D0%9F%D1%80%D0%BE%D0%BC%D0%B5%D0%BD%D0%BB%D0%B8%D0%B2%D0%B8" title="Помош:Променливи – Macedonian" lang="mk" hreflang="mk" data-title="Помош:Променливи" data-language-autonym="Македонски" data-language-local-name="Macedonian" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-mni mw-list-item"><a href="https://mni.wikipedia.org/wiki/%EA%AF%83%EA%AF%86%EA%AF%A5%EA%AF%88%EA%AF%A5%EA%AF%8F%EA%AF%95:Magic_word_templates" title="ꯃꯆꯥꯈꯥꯏꯕ:Magic word templates – Manipuri" lang="mni" hreflang="mni" data-title="ꯃꯆꯥꯈꯥꯏꯕ:Magic word templates" data-language-autonym="ꯃꯤꯇꯩ ꯂꯣꯟ" data-language-local-name="Manipuri" class="interlanguage-link-target"><span>ꯃꯤꯇꯩ ꯂꯣꯟ</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9C%E0%A4%BE%E0%A4%A6%E0%A5%81%E0%A4%88_%E0%A4%B6%E0%A4%AC%E0%A5%8D%E0%A4%A6" title="विकिपीडिया:जादुई शब्द – Marathi" lang="mr" hreflang="mr" data-title="विकिपीडिया:जादुई शब्द" data-language-autonym="मराठी" data-language-local-name="Marathi" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Bantuan:Kata_sakti" title="Bantuan:Kata sakti – Malay" lang="ms" hreflang="ms" data-title="Bantuan:Kata sakti" data-language-autonym="Bahasa Melayu" data-language-local-name="Malay" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/Hjelp:Trylleord" title="Hjelp:Trylleord – Norwegian Nynorsk" lang="nn" hreflang="nn" data-title="Hjelp:Trylleord" data-language-autonym="Norsk nynorsk" data-language-local-name="Norwegian Nynorsk" class="interlanguage-link-target"><span>Norsk nynorsk</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Hjelp:Magiske_ord" title="Hjelp:Magiske ord – Norwegian Bokmål" lang="nb" hreflang="nb" data-title="Hjelp:Magiske ord" data-language-autonym="Norsk bokmål" data-language-local-name="Norwegian Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-or mw-list-item"><a href="https://or.wikipedia.org/wiki/%E0%AC%B8%E0%AC%B9%E0%AC%AF%E0%AD%8B%E0%AC%97:Magic_words" title="ସହଯୋଗ:Magic words – Odia" lang="or" hreflang="or" data-title="ସହଯୋଗ:Magic words" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="Odia" class="interlanguage-link-target"><span>ଓଡ଼ିଆ</span></a></li><li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://pa.wikipedia.org/wiki/%E0%A8%AE%E0%A8%A6%E0%A8%A6:Magic_words" title="ਮਦਦ:Magic words – Punjabi" lang="pa" hreflang="pa" data-title="ਮਦਦ:Magic words" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="Punjabi" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Pomoc:Magiczne_s%C5%82owa" title="Pomoc:Magiczne słowa – Polish" lang="pl" hreflang="pl" data-title="Pomoc:Magiczne słowa" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Ajuda:Palavras_m%C3%A1gicas" title="Ajuda:Palavras mágicas – Portuguese" lang="pt" hreflang="pt" data-title="Ajuda:Palavras mágicas" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/Ajutor:Texte_speciale" title="Ajutor:Texte speciale – Romanian" lang="ro" hreflang="ro" data-title="Ajutor:Texte speciale" data-language-autonym="Română" data-language-local-name="Romanian" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-sd mw-list-item"><a href="https://sd.wikipedia.org/wiki/%D9%85%D8%AF%D8%AF:%D8%AC%D8%A7%D8%AF%D9%88%D8%A6%D9%8A_%D9%84%D9%81%D8%B8" title="مدد:جادوئي لفظ – Sindhi" lang="sd" hreflang="sd" data-title="مدد:جادوئي لفظ" data-language-autonym="سنڌي" data-language-local-name="Sindhi" class="interlanguage-link-target"><span>سنڌي</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B6%8B%E0%B6%AF%E0%B7%80%E0%B7%94:Magic_words" title="උදවු:Magic words – Sinhala" lang="si" hreflang="si" data-title="උදවු:Magic words" data-language-autonym="සිංහල" data-language-local-name="Sinhala" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Help:Magic_words" title="Help:Magic words – Simple English" lang="en-simple" hreflang="en-simple" data-title="Help:Magic words" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BC%D0%BE%D1%9B:%D0%9F%D1%80%D0%BE%D0%BC%D0%B5%D0%BD%D1%99%D0%B8%D0%B2%D0%B5" title="Помоћ:Променљиве – Serbian" lang="sr" hreflang="sr" data-title="Помоћ:Променљиве" data-language-autonym="Српски / srpski" data-language-local-name="Serbian" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Wikipedia:Magiska_ord" title="Wikipedia:Magiska ord – Swedish" lang="sv" hreflang="sv" data-title="Wikipedia:Magiska ord" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%89%E0%AE%A4%E0%AE%B5%E0%AE%BF:Magic_words" title="உதவி:Magic words – Tamil" lang="ta" hreflang="ta" data-title="உதவி:Magic words" data-language-autonym="தமிழ்" data-language-local-name="Tamil" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%B8%E0%B0%B9%E0%B0%BE%E0%B0%AF%E0%B0%82:%E0%B0%9A%E0%B0%AE%E0%B0%A4%E0%B1%8D%E0%B0%95%E0%B0%BE%E0%B0%B0_%E0%B0%AA%E0%B0%A6%E0%B0%BE%E0%B0%B2%E0%B1%81" title="సహాయం:చమత్కార పదాలు – Telugu" lang="te" hreflang="te" data-title="సహాయం:చమత్కార పదాలు" data-language-autonym="తెలుగు" data-language-local-name="Telugu" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5%E0%B9%83%E0%B8%8A%E0%B9%89:%E0%B9%80%E0%B8%A1%E0%B8%88%E0%B8%B4%E0%B8%81%E0%B9%80%E0%B8%A7%E0%B8%B4%E0%B8%A3%E0%B9%8C%E0%B8%94" title="วิธีใช้:เมจิกเวิร์ด – Thai" lang="th" hreflang="th" data-title="วิธีใช้:เมจิกเวิร์ด" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Yard%C4%B1m:Sihirli_kelimeler" title="Yardım:Sihirli kelimeler – Turkish" lang="tr" hreflang="tr" data-title="Yardım:Sihirli kelimeler" data-language-autonym="Türkçe" data-language-local-name="Turkish" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%94%D0%BE%D0%B2%D1%96%D0%B4%D0%BA%D0%B0:%D0%9C%D0%B0%D0%B3%D1%96%D1%87%D0%BD%D1%96_%D1%81%D0%BB%D0%BE%D0%B2%D0%B0" title="Довідка:Магічні слова – Ukrainian" lang="uk" hreflang="uk" data-title="Довідка:Магічні слова" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-yi mw-list-item"><a href="https://yi.wikipedia.org/wiki/%D7%94%D7%99%D7%9C%D7%A3:Wg_magic_words" title="הילף:Wg magic words – Yiddish" lang="yi" hreflang="yi" data-title="הילף:Wg magic words" data-language-autonym="ייִדיש" data-language-local-name="Yiddish" class="interlanguage-link-target"><span>ייִדיש</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" title="Help:魔术字 – Chinese" lang="zh" hreflang="zh" data-title="Help:魔术字" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q4483522#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/MediaWiki" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/mediawikiwiki.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="MediaWiki" src="/static/images/mobile/copyright/mediawikiwiki-wordmark.svg" style="width: 7.5em; height: 1.125em;"> </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 MediaWiki [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 MediaWiki" aria-label="Search MediaWiki" autocapitalize="sentences" title="Search MediaWiki [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" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-uls" class="mw-list-item active user-links-collapsible-item"><a data-mw="interface" href="#" class="uls-trigger cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>English</span></a> </li> </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/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&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%3AMagic+words" 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%3AMagic+words" title="You are encouraged to log in; however, it is 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="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/?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&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%3AMagic+words" 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%3AMagic+words" title="You are encouraged to log in; however, it is 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">Beginning</div> </a> </li> <li id="toc-Behavior_switches" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Behavior_switches"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Behavior switches</span> </div> </a> <ul id="toc-Behavior_switches-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Variables" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Variables"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Variables</span> </div> </a> <button aria-controls="toc-Variables-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 Variables subsection</span> </button> <ul id="toc-Variables-sublist" class="vector-toc-list"> <li id="toc-Date_and_time" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Date_and_time"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Date and time</span> </div> </a> <ul id="toc-Date_and_time-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Technical_metadata" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Technical_metadata"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>Technical metadata</span> </div> </a> <ul id="toc-Technical_metadata-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Localization" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Localization"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>Localization</span> </div> </a> <ul id="toc-Localization-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Statistics" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Statistics"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>Statistics</span> </div> </a> <ul id="toc-Statistics-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Page_names" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Page_names"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.5</span> <span>Page names</span> </div> </a> <ul id="toc-Page_names-sublist" class="vector-toc-list"> <li id="toc-URL_encoded_page_names" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#URL_encoded_page_names"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.5.1</span> <span>URL encoded page names</span> </div> </a> <ul id="toc-URL_encoded_page_names-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Namespaces" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Namespaces"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.6</span> <span>Namespaces</span> </div> </a> <ul id="toc-Namespaces-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Escaped_characters" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Escaped_characters"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Escaped characters</span> </div> </a> <ul id="toc-Escaped_characters-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Parser_functions" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Parser_functions"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Parser functions</span> </div> </a> <button aria-controls="toc-Parser_functions-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 Parser functions subsection</span> </button> <ul id="toc-Parser_functions-sublist" class="vector-toc-list"> <li id="toc-Technical_metadata_of_another_page" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Technical_metadata_of_another_page"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>Technical metadata of another page</span> </div> </a> <ul id="toc-Technical_metadata_of_another_page-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-URL_data" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#URL_data"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>URL data</span> </div> </a> <ul id="toc-URL_data-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Namespaces_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Namespaces_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.3</span> <span>Namespaces</span> </div> </a> <ul id="toc-Namespaces_2-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Formatting" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Formatting"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.4</span> <span>Formatting</span> </div> </a> <ul id="toc-Formatting-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Localization_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Localization_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.5</span> <span>Localization</span> </div> </a> <ul id="toc-Localization_2-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Transclusion_modifiers" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Transclusion_modifiers"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.6</span> <span>Transclusion modifiers</span> </div> </a> <ul id="toc-Transclusion_modifiers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Miscellaneous" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Miscellaneous"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.7</span> <span>Miscellaneous</span> </div> </a> <ul id="toc-Miscellaneous-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Help</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Magic words</span></h1> <div class="mw-indicators"> </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:Magic_words" title="View the help page [c]" accesskey="c"><span>Help</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Help_talk:Magic_words" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</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:Magic_words"><span>Read</span></a></li><li id="ca-viewsource" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:Magic_words&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:Magic_words&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:Magic_words"><span>Read</span></a></li><li id="ca-more-viewsource" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:Magic_words&amp;action=edit"><span>View source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:Magic_words&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:Magic_words" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Help:Magic_words" 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="//commons.wikimedia.org/wiki/Special:UploadWizard" 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:Magic_words&amp;oldid=6813779" 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:Magic_words&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%2Fwww.mediawiki.org%2Fwiki%2FHelp%3AMagic_words"><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%2Fwww.mediawiki.org%2Fwiki%2FHelp%3AMagic_words"><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-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&amp;bookcmd=book_creator&amp;referer=Help%3AMagic+words"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Help%3AMagic_words&amp;action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Help:Magic_words&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Help:Magic_words" hreflang="en"><span>Wikimedia Commons</span></a></li><li class="wb-otherproject-link wb-otherproject-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Help:Magic_words" hreflang="en"><span>Meta-Wiki</span></a></li><li class="wb-otherproject-link wb-otherproject-wikipedia mw-list-item"><a href="https://en.wikipedia.org/wiki/Help:Magic_words" hreflang="en"><span>Wikipedia</span></a></li><li class="wb-otherproject-link wb-otherproject-wikiquote mw-list-item"><a href="https://en.wikiquote.org/wiki/Help:Magic_words" hreflang="en"><span>Wikiquote</span></a></li><li class="wb-otherproject-link wb-otherproject-wikiversity mw-list-item"><a href="https://en.wikiversity.org/wiki/Help:Magic_words" hreflang="en"><span>Wikiversity</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q4483522" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div id="siteSub" class="noprint">From mediawiki.org</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint nomobile" dir="ltr" lang="en"><a href="/w/index.php?title=Special:Translate&amp;group=page-Help%3AMagic+words&amp;action=page&amp;filter=&amp;action_source=translate_page" title="Special:Translate">Translate this page</a></div><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Help:Magic_words/gn" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/gn (1% translated)" lang="gn" dir="ltr">Avañe'ẽ</a></li> <li><a href="/wiki/Help:Magic_words/id" class="mw-pt-progress mw-pt-progress--high" title="Bantuan:Kata ajaib (86% translated)" lang="id" dir="ltr">Bahasa Indonesia</a></li> <li><a href="/wiki/Help:Magic_words/en-gb" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/en-gb (0% translated)" lang="en-GB" dir="ltr">British English</a></li> <li><a href="/wiki/Help:Magic_words/de" class="mw-pt-progress mw-pt-progress--complete" title="Hilfe:Magische Wörter (100% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><span class="mw-pt-languages-ui mw-pt-languages-selected mw-pt-progress mw-pt-progress--complete" lang="en" dir="ltr">English</span></li> <li><a href="/wiki/Help:Magic_words/eo" class="mw-pt-progress mw-pt-progress--med" title="Helpo:Magiaj vortoj (34% translated)" lang="eo" dir="ltr">Esperanto</a></li> <li><a href="/wiki/Help:Magic_words/fy" class="mw-pt-progress mw-pt-progress--med" title="Help:Magyske wurden (15% translated)" lang="fy" dir="ltr">Frysk</a></li> <li><a href="/wiki/Help:Magic_words/io" class="mw-pt-progress mw-pt-progress--low" title="Helpo:Magiala vorti (1% translated)" lang="io" dir="ltr">Ido</a></li> <li><a href="/wiki/Help:Magic_words/lb" class="mw-pt-progress mw-pt-progress--med" title="Help:Magesch Wierder re (16% translated)" lang="lb" dir="ltr">Lëtzebuergesch</a></li> <li><a href="/wiki/Help:Magic_words/nl" class="mw-pt-progress mw-pt-progress--complete" title="Help:Magische woorden (100% translated)" lang="nl" dir="ltr">Nederlands</a></li> <li><a href="/wiki/Help:Magic_words/vi" class="mw-pt-progress mw-pt-progress--med" title="Trợ giúp:Từ ma thuật (46% translated)" lang="vi" dir="ltr">Tiếng Việt</a></li> <li><a href="/wiki/Help:Magic_words/tr" class="mw-pt-progress mw-pt-progress--high" title="Help:Sihirli kelimeler (81% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Help:Magic_words/yo" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/yo (1% translated)" lang="yo" dir="ltr">Yorùbá</a></li> <li><a href="/wiki/Help:Magic_words/diq" class="mw-pt-progress mw-pt-progress--med" title="Help:Magic words/diq (30% translated)" lang="diq" dir="ltr">Zazaki</a></li> <li><a href="/wiki/Help:Magic_words/bs" class="mw-pt-progress mw-pt-progress--low" title="Help:Čarobne riječi (1% translated)" lang="bs" dir="ltr">bosanski</a></li> <li><a href="/wiki/Help:Magic_words/ca" class="mw-pt-progress mw-pt-progress--med" title="Help:Paraules màgiques (69% translated)" lang="ca" dir="ltr">català</a></li> <li><a href="/wiki/Help:Magic_words/da" class="mw-pt-progress mw-pt-progress--med" title="Help:Magic words/da (25% translated)" lang="da" dir="ltr">dansk</a></li> <li><a href="/wiki/Help:Magic_words/es" class="mw-pt-progress mw-pt-progress--high" title="Ayuda:Palabras mágicas (82% translated)" lang="es" dir="ltr">español</a></li> <li><a href="/wiki/Help:Magic_words/eu" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/eu (7% translated)" lang="eu" dir="ltr">euskara</a></li> <li><a href="/wiki/Help:Magic_words/fr" class="mw-pt-progress mw-pt-progress--complete" title="Aide:Mots magiques (100% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Help:Magic_words/gl" class="mw-pt-progress mw-pt-progress--med" title="Axuda:Palabras máxicas (29% translated)" lang="gl" dir="ltr">galego</a></li> <li><a href="/wiki/Help:Magic_words/ia" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/ia (8% translated)" lang="ia" dir="ltr">interlingua</a></li> <li><a href="/wiki/Help:Magic_words/it" class="mw-pt-progress mw-pt-progress--high" title="Aiuto:Parole magiche (91% translated)" lang="it" dir="ltr">italiano</a></li> <li><a href="/wiki/Help:Magic_words/hu" class="mw-pt-progress mw-pt-progress--med" title="Segítség:Varázsszavak (30% translated)" lang="hu" dir="ltr">magyar</a></li> <li><a href="/wiki/Help:Magic_words/nb" class="mw-pt-progress mw-pt-progress--low" title="Help:Magiske ord (0% translated)" lang="nb" dir="ltr">norsk bokmål</a></li> <li><a href="/wiki/Help:Magic_words/pl" class="mw-pt-progress mw-pt-progress--med" title="Pomoc:Magiczne słowa (39% translated)" lang="pl" dir="ltr">polski</a></li> <li><a href="/wiki/Help:Magic_words/pt" class="mw-pt-progress mw-pt-progress--high" title="Ajuda:Palavras Mágicas (71% translated)" lang="pt" dir="ltr">português</a></li> <li><a href="/wiki/Help:Magic_words/pt-br" class="mw-pt-progress mw-pt-progress--high" title="Ajuda:Palavras mágicas (80% translated)" lang="pt-BR" dir="ltr">português do Brasil</a></li> <li><a href="/wiki/Help:Magic_words/ro" class="mw-pt-progress mw-pt-progress--med" title="Ajutor:Cuvinte magice (21% translated)" lang="ro" dir="ltr">română</a></li> <li><a href="/wiki/Help:Magic_words/sk" class="mw-pt-progress mw-pt-progress--med" title="Pomoc:Kúzelné slová (33% translated)" lang="sk" dir="ltr">slovenčina</a></li> <li><a href="/wiki/Help:Magic_words/fi" class="mw-pt-progress mw-pt-progress--low" title="Ohje:Taikasanat (14% translated)" lang="fi" dir="ltr">suomi</a></li> <li><a href="/wiki/Help:Magic_words/sv" class="mw-pt-progress mw-pt-progress--high" title="Help:Magiska ord (94% translated)" lang="sv" dir="ltr">svenska</a></li> <li><a href="/wiki/Help:Magic_words/cs" class="mw-pt-progress mw-pt-progress--high" title="Nápověda:Kouzelná slova (94% translated)" lang="cs" dir="ltr">čeština</a></li> <li><a href="/wiki/Help:Magic_words/av" class="mw-pt-progress mw-pt-progress--low" title="Кумек:СихӀруял рагӀаби (1% translated)" lang="av" dir="ltr">авар</a></li> <li><a href="/wiki/Help:Magic_words/be-tarask" class="mw-pt-progress mw-pt-progress--low" title="Дапамога:Магічныя словы (3% translated)" lang="be-tarask" dir="ltr">беларуская (тарашкевіца)</a></li> <li><a href="/wiki/Help:Magic_words/bg" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/bg (7% translated)" lang="bg" dir="ltr">български</a></li> <li><a href="/wiki/Help:Magic_words/mk" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/mk (3% translated)" lang="mk" dir="ltr">македонски</a></li> <li><a href="/wiki/Help:Magic_words/mhr" class="mw-pt-progress mw-pt-progress--med" title="Help:Magic words/mhr (23% translated)" lang="mhr" dir="ltr">олык марий</a></li> <li><a href="/wiki/Help:Magic_words/ru" class="mw-pt-progress mw-pt-progress--high" title="Справка:Волшебные слова (95% translated)" lang="ru" dir="ltr">русский</a></li> <li><a href="/wiki/Help:Magic_words/sr" class="mw-pt-progress mw-pt-progress--low" title="Help:Магичне речи (1% translated)" lang="sr" dir="ltr">српски / srpski</a></li> <li><a href="/wiki/Help:Magic_words/uk" class="mw-pt-progress mw-pt-progress--high" title="Довідка:Магічні слова (70% translated)" lang="uk" dir="ltr">українська</a></li> <li><a href="/wiki/Help:Magic_words/he" class="mw-pt-progress mw-pt-progress--low" title="עזרה:מילים קסומות (1% translated)" lang="he" dir="rtl">עברית</a></li> <li><a href="/wiki/Help:Magic_words/ar" class="mw-pt-progress mw-pt-progress--low" title="مساعدة:كلمات سحرية (10% translated)" lang="ar" dir="rtl">العربية</a></li> <li><a href="/wiki/Help:Magic_words/azb" class="mw-pt-progress mw-pt-progress--low" title="کؤمک:سیحیرلی سؤزجوک‌لر (14% translated)" lang="azb" dir="rtl">تۆرکجه</a></li> <li><a href="/wiki/Help:Magic_words/sd" class="mw-pt-progress mw-pt-progress--med" title="مدد:جادوئي لفظ (30% translated)" lang="sd" dir="rtl">سنڌي</a></li> <li><a href="/wiki/Help:Magic_words/fa" class="mw-pt-progress mw-pt-progress--med" title="راهنما:واژه‌های جادویی (40% translated)" lang="fa" dir="rtl">فارسی</a></li> <li><a href="/wiki/Help:Magic_words/ps" class="mw-pt-progress mw-pt-progress--med" title="لارښود:کوډگريز وييونه (18% translated)" lang="ps" dir="rtl">پښتو</a></li> <li><a href="/wiki/Help:Magic_words/mr" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/mr (12% translated)" lang="mr" dir="ltr">मराठी</a></li> <li><a href="/wiki/Help:Magic_words/as" class="mw-pt-progress mw-pt-progress--low" title="সহায়:যাদুকৰী শব্দ (13% translated)" lang="as" dir="ltr">অসমীয়া</a></li> <li><a href="/wiki/Help:Magic_words/bn" class="mw-pt-progress mw-pt-progress--low" title="সাহায্য: জাদু শব্দ (11% translated)" lang="bn" dir="ltr">বাংলা</a></li> <li><a href="/wiki/Help:Magic_words/ta" class="mw-pt-progress mw-pt-progress--low" title="Help:Magic words/ta (7% translated)" lang="ta" dir="ltr">தமிழ்</a></li> <li><a href="/wiki/Help:Magic_words/th" class="mw-pt-progress mw-pt-progress--med" title="คู่มือ:คำพิเศษ (17% translated)" lang="th" dir="ltr">ไทย</a></li> <li><a href="/wiki/Help:Magic_words/xmf" class="mw-pt-progress mw-pt-progress--low" title="მოხვარა:ჯადური ზიტყვეფი (1% translated)" lang="xmf" dir="ltr">მარგალური</a></li> <li><a href="/wiki/Help:Magic_words/ka" class="mw-pt-progress mw-pt-progress--low" title="დახმარება:ჯადოსნური სიტყვები (1% translated)" lang="ka" dir="ltr">ქართული</a></li> <li><a href="/wiki/Help:Magic_words/zh" class="mw-pt-progress mw-pt-progress--high" title="Help:魔术字 (98% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Help:Magic_words/ja" class="mw-pt-progress mw-pt-progress--high" title="Help:マジックワード (97% translated)" lang="ja" dir="ltr">日本語</a></li> <li><a href="/wiki/Help:Magic_words/yue" class="mw-pt-progress mw-pt-progress--low" title="幫手:Magic words (2% translated)" lang="yue" dir="ltr">粵語</a></li> <li><a href="/wiki/Help:Magic_words/nan" class="mw-pt-progress mw-pt-progress--low" title="Pang-chān:Mô͘-su̍t bûn-jī (4% translated)" lang="nan" dir="ltr">閩南語 / Bân-lâm-gú</a></li> <li><a href="/wiki/Help:Magic_words/ko" class="mw-pt-progress mw-pt-progress--med" title="도움말:Magic words (46% translated)" lang="ko" dir="ltr">한국어</a></li></ul></div> <style data-mw-deduplicate="TemplateStyles:r6776268">.mw-parser-output .template-pd-help-page{color:var(--color-emphasized,#101418);border:solid 1px var(--border-color-base,#a2a9b1);padding:0.5em;margin:0.5em 0;background-color:var(--background-color-base,#ffffff);font-size:95%;vertical-align:middle;width:100%;box-sizing:border-box}.mw-parser-output .template-pd-help-page .icon-cell{padding:0 1em;width:30px}</style><table class="template-pd-help-page"><tbody><tr> <td class="icon-cell"><span typeof="mw:File"><span><img alt="PD" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/30px-PD-icon.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/45px-PD-icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/60px-PD-icon.svg.png 2x" data-file-width="196" data-file-height="196"/></span></span></td> <td><b>Note:</b> When you edit this page, you agree to release your contribution under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">CC0</a>. See <a href="/wiki/Special:MyLanguage/Project:PD_help" title="Special:MyLanguage/Project:PD help">Public Domain Help Pages</a> for more info. </td> <td class="icon-cell"><span typeof="mw:File"><span><img alt="PD" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/30px-PD-icon.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/45px-PD-icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/60px-PD-icon.svg.png 2x" data-file-width="196" data-file-height="196"/></span></span></td> </tr></tbody></table> <div style="clear: right; margin-bottom: .5em; float: right; margin-left:2em; width: auto;"><meta property="mw:PageProp/toc"/></div> <p><b>Magic words</b> are strings of text that MediaWiki associates with a return value or function, such as time, site details, or page names. This page explains only the standard magic words; for a technical reference, see <a href="/wiki/Special:MyLanguage/Manual:Magic_words" title="Special:MyLanguage/Manual:Magic words">Manual:Magic words</a><span style="display:none"><a href="/wiki/Manual:Magic_words" title="Manual:Magic words"> </a></span>. </p><p>There are three general types of magic words: </p> <ul><li><b><a href="#Behavior_switches">Behavior switches</a></b>: these are usually written as uppercase words surrounded by double underscores, <i>e.g.</i> <b><code>__FOO__</code></b>.</li> <li><b><a href="#Variables">Variables</a></b>: these are uppercase words surrounded by double braces, <i>e.g.</i> <b><code>{{FOO}}</code></b>. As such, they look a lot like <a href="/wiki/Special:MyLanguage/Help:Templates" title="Special:MyLanguage/Help:Templates">templates</a>.</li> <li><b><a href="#Parser_functions">Parser functions</a></b>: these take parameters and are either of the form <b><code>{{foo:...}}</code></b> or <b><code>{{#foo:...}}</code></b>, <i>e.g.</i> <b><code>{{<a href="/wiki/Special:MyLanguage/Extension:Scribunto#.23invoke" title="Special:MyLanguage/Extension:Scribunto">#invoke</a>:...}}</code></b>. See also <a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions" title="Special:MyLanguage/Help:Extension:ParserFunctions">Help:Extension:ParserFunctions</a><span style="display:none"><a href="/wiki/Help:Extension:ParserFunctions" title="Help:Extension:ParserFunctions"> </a></span> and <a href="/wiki/Special:MyLanguage/Extension:Scribunto" title="Special:MyLanguage/Extension:Scribunto">Extension:Scribunto</a><span style="display:none"><a href="/wiki/Extension:Scribunto" title="Extension:Scribunto"> </a></span>.</li></ul> <p>Variables and parser functions can use <a href="/wiki/Special:MyLanguage/Manual:subst" title="Special:MyLanguage/Manual:subst">subst:</a>, just like templates. Page-dependent magic words will affect or return data about the <i>current</i> page (by default), even if the word is added through a transcluded template or included system message. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Behavior_switches" data-mw-thread-id="h-Behavior_switches"><span data-mw-comment-start="" id="h-Behavior_switches"></span>Behavior switches<span data-mw-comment-end="h-Behavior_switches"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Behavior_switches","replies":[]}}--></div> <p>A behavior switch controls the layout or behavior of the page (if supported by the skin) and can often be used to specify desired omissions and inclusions in the content. Notably some of these are not supported by the <a href="/wiki/Skin:MinervaNeue" class="mw-redirect" title="Skin:MinervaNeue">Minerva skin</a>. </p> <table class="wikitable"> <tbody><tr> <th width="20%" colspan="2">Word </th> <th>Description </th> <th width="10%">Versions </th></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;"><a href="/wiki/Special:MyLanguage/Manual:Table_of_contents" title="Special:MyLanguage/Manual:Table of contents">Table of contents</a> </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NOTOC"></span> </td></tr> <tr> <td colspan="2"><code>__NOTOC__</code> </td> <td>Hides the <a href="/wiki/Special:MyLanguage/table_of_contents" title="Special:MyLanguage/table of contents">table of contents</a> (TOC). </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="FORCETOC"></span> </td></tr> <tr> <td colspan="2"><code>__FORCETOC__</code> </td> <td>Forces the table of contents to appear at its normal position (before the first header, overriding <code>__NOTOC__</code>). This will not work in skins that present table of contents outside the article content e.g. <a href="/wiki/Skin:Vector/2022" title="Skin:Vector/2022">Vector 2022 skin</a>. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="TOC"></span> </td></tr> <tr> <td colspan="2"><code>__TOC__</code> </td> <td>Places a table of contents at the word's current position (overriding <code>__NOTOC__</code>). If this is used multiple times, the table of contents will appear at the first word's position. This will not work in skins that present table of contents outside the article content e.g. <a href="/wiki/Skin:Vector/2022" title="Skin:Vector/2022">Vector 2022 skin</a>. </td> <td> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Editing </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NOEDITSECTION"></span> </td></tr> <tr> <td colspan="2"><code>__NOEDITSECTION__</code> </td> <td>Hides the section edit links beside headings. This is especially useful where a heading is created from within a template: the normal wiki section-edit would in this case edit the template code, which is usually not what the user intends. Use of this in a template will extend the effect to that template, the pages it's included on, <i>and</i> any other templates included on the same page. <a href="/wiki/Special:MyLanguage/Help:Section/Editing_sections_of_included_templates" title="Special:MyLanguage/Help:Section/Editing sections of included templates">A workaround is possible</a>. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NEWSECTIONLINK"></span> </td></tr> <tr> <td colspan="2"><code>__NEWSECTIONLINK__</code> </td> <td>Adds a link beside the "Edit" tab for adding a new section on a non-talk page (see <a href="/wiki/Special:MyLanguage/Help:Section#Adding_a_section_at_the_end" title="Special:MyLanguage/Help:Section">Adding a section to the end</a>). </td> <td><style data-mw-deduplicate="TemplateStyles:r4199130">.mw-parser-output .mw-version{border:1px solid #72777d;font-size:80%;line-height:1.2;border-collapse:collapse}.mw-parser-output .mw-version-ltr{float:right;margin:0 0 .5em .5em;text-align:right}.mw-parser-output .mw-version-rtl{float:left;margin:0 .5em .5em 0;text-align:left}.mw-parser-output .mw-version td{padding:.1em .3em}.mw-parser-output .mw-version-versionbox{border:5px solid #00af89;text-align:center}.mw-parser-output .mw-version-versionnumber{font-weight:bold;font-size:180%}.mw-parser-output .mw-version-version .mw-version-versionbox{border-color:#c8ccd1}.mw-parser-output .mw-version.mw-version-version2 .mw-version-versionbox{border-top-color:#c8ccd1;border-right-color:#c8ccd1;border-left-color:#c8ccd1}.mw-parser-output .mw-version-version-unsupported .mw-version-versionbox{border-color:#d33}.mw-parser-output .mw-version.mw-version-version2-unsupported .mw-version-versionbox{border-top-color:#d33;border-right-color:#d33;border-left-color:#d33}.mw-parser-output .mw-version-version-legacy .mw-version-versionbox{border-color:#f93}.mw-parser-output .mw-version.mw-version-version2-legacy .mw-version-versionbox{border-top-color:#f93;border-right-color:#f93;border-left-color:#f93}.mw-parser-output .mw-version-version-stable .mw-version-versionbox,.mw-parser-output .mw-version.mw-version.mw-version-and-later .mw-version-versionbox{border-color:#00af89}.mw-parser-output .mw-version.mw-version-version2-stable .mw-version-versionbox{border-top-color:#00af89;border-right-color:#00af89;border-left-color:#00af89}.mw-parser-output .mw-version-version-future .mw-version-versionbox{border-color:#8080c0}.mw-parser-output .mw-version.mw-version-version2-future .mw-version-versionbox{border-top-color:#8080c0;border-right-color:#8080c0;border-left-color:#8080c0}.mw-parser-output .mw-version-version-alpha .mw-version-versionbox{border-style:dotted}</style> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NONEWSECTIONLINK"></span> </td></tr> <tr> <td colspan="2"><code>__NONEWSECTIONLINK__</code> </td> <td>Removes the link beside the "Edit" tab on pages in talk namespaces. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/47522.html">r47522</a></span></small></td> </tr></tbody></table> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Categories </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NOGALLERY"></span> </td></tr> <tr> <td colspan="2"><code>__NOGALLERY__</code> </td> <td>Used on a category page, replaces thumbnails in the category view with normal links. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="HIDDENCAT"></span> </td></tr> <tr> <td colspan="2"><code>__HIDDENCAT__</code> </td> <td>Used on a category page, hides the category from the lists of categories in its members and subcategories (there is an option in the <a href="/wiki/Special:MyLanguage/Help:Preferences" title="Special:MyLanguage/Help:Preferences">user preferences</a> to show them). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.13</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="EXPECTUNUSEDCATEGORY"></span> </td></tr> <tr> <td colspan="2"><code>__EXPECTUNUSEDCATEGORY__</code> </td> <td>Used on a category page, removes the category from <a href="/wiki/Special:UnusedCategories" title="Special:UnusedCategories">Special:UnusedCategories</a>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.33</div></td> </tr></tbody></table> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Language conversion </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NOCONTENTCONVERT"></span><span class="anchor" id="NOCC"></span> </td></tr> <tr> <td colspan="2"><code>__NOCONTENTCONVERT__</code> <br/> <code>__NOCC__</code> </td> <td>On wikis with language variants, don't perform any content language conversion in article display; for example, only show Chinese (zh) instead of variants like zh_cn, zh_tw, zh_sg, or zh_hk. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NOTITLECONVERT"></span><span class="anchor" id="NOTC"></span> </td></tr> <tr> <td colspan="2"><code>__NOTITLECONVERT__</code> <br/> <code>__NOTC__</code> </td> <td>On wikis with language variants, don't perform language conversion on the title (all other content is converted). </td> <td> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Other </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="START"></span> </td></tr> <tr> <td colspan="2"><code>__START__</code> </td> <td>No effect. Was used to point where database message starts after comment that should not be transcluded. <small>Removed in <span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/1695.html">r1695</a></span> and completely removed in <span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/24784.html">r24784</a></span>.</small> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported"><tbody><tr> <td class="mw-version-versionbox" title="MediaWiki 1.10 is an unsupported version"><div class="mw-version-versionnumber"><small>≤</small> 1.10</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/1610.html">r1610</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="END"></span> </td></tr> <tr> <td colspan="2"><code>__END__</code> </td> <td>Explicitly marks the end of the article, to prevent MediaWiki from removing trailing whitespace. <small>Removed in <a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/19213" class="extiw" title="rev:19213">19213</a>.</small> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-version2 mw-version-version2-unsupported"><tbody><tr> <td class="mw-version-versionbox" title="MediaWiki 1.8 is an unsupported version"><div class="mw-version-versionnumber"> 1.1 – 1.8</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="INDEX"></span> </td></tr> <tr> <td colspan="2"><code>__INDEX__</code> </td> <td>Tell search engines to index the page (overrides <a href="/wiki/Special:MyLanguage/Manual:$wgArticleRobotPolicies" title="Special:MyLanguage/Manual:$wgArticleRobotPolicies">$wgArticleRobotPolicies</a><span style="display:none"><a href="/wiki/Manual:$wgArticleRobotPolicies" title="Manual:$wgArticleRobotPolicies"> </a></span> but not robots.txt). It obeys <a href="/wiki/Special:MyLanguage/Manual:$wgExemptFromUserRobotsControl" title="Special:MyLanguage/Manual:$wgExemptFromUserRobotsControl">$wgExemptFromUserRobotsControl</a><span style="display:none"><a href="/wiki/Manual:$wgExemptFromUserRobotsControl" title="Manual:$wgExemptFromUserRobotsControl"> </a></span> variable. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.14</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NOINDEX"></span> </td></tr> <tr> <td colspan="2"><code>__NOINDEX__</code> </td> <td>Tell search engines not to index the page (i.e. do not list in search engines' results). It obeys <a href="/wiki/Special:MyLanguage/Manual:$wgExemptFromUserRobotsControl" title="Special:MyLanguage/Manual:$wgExemptFromUserRobotsControl">$wgExemptFromUserRobotsControl</a><span style="display:none"><a href="/wiki/Manual:$wgExemptFromUserRobotsControl" title="Manual:$wgExemptFromUserRobotsControl"> </a></span> variable. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.14</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/37973.html">r37973</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="STATICREDIRECT"></span> </td></tr> <tr> <td colspan="2"><code>__STATICREDIRECT__</code> </td> <td>On redirect pages, don't allow MediaWiki to automatically update the link when someone moves a page and checks "Update any redirects that point to the original title" (which requires <a href="/wiki/Special:MyLanguage/Manual:$wgFixDoubleRedirects" title="Special:MyLanguage/Manual:$wgFixDoubleRedirects">$wgFixDoubleRedirects</a><span style="display:none"><a href="/wiki/Manual:$wgFixDoubleRedirects" title="Manual:$wgFixDoubleRedirects"> </a></span>). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.13</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/37928.html">r37928</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="EXPECTUNUSEDTEMPLATE"></span> </td></tr> <tr> <td colspan="2"><code>__EXPECTUNUSEDTEMPLATE__</code> </td> <td>Used on a template page, removes the page from <a href="/wiki/Special:UnusedTemplates" title="Special:UnusedTemplates">Special:UnusedTemplates</a>. <p>If this switch is not intended to be transcluded with the template's contents, it should be used inside <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎&lt;</span><span class="nt">noinclude</span><span class="p">></span>...<span class="p">‎&lt;/</span><span class="nt">noinclude</span><span class="p">></span></code> (or on a template documentation page inside <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎&lt;</span><span class="nt">includeonly</span><span class="p">></span>...<span class="p">‎&lt;/</span><span class="nt">includeonly</span><span class="p">></span></code>), similarly to template categories. See <a href="/wiki/Special:MyLanguage/Help:Templates#Controlling_template_inclusion" title="Special:MyLanguage/Help:Templates">Help:Templates</a><span style="display:none"><a href="/wiki/Help:Templates#Controlling_template_inclusion" title="Help:Templates"> </a></span>. </p><p>If the switch is intended to remove from the report all pages that transclude a given template (for example, a notice that is transcluded on testcases or sandbox subpages), put the switch inside <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎&lt;</span><span class="nt">includeonly</span><span class="p">></span>...<span class="p">‎&lt;/</span><span class="nt">includeonly</span><span class="p">></span></code> tags within the template page. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-future"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.43</div><small><a href="https://gerrit.wikimedia.org/r/1064007" class="extiw" title="gerrit:1064007">Gerrit change 1064007</a></small></td> </tr></tbody></table> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">From Extensions </th></tr> <tr> <th width="10%">Extension </th> <th width="10%">Word </th> <th>Description </th> <th width="10%">Versions </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NOGLOBAL"></span> </td></tr> <tr> <td><a href="/wiki/Special:MyLanguage/Extension:GlobalUserPage" title="Special:MyLanguage/Extension:GlobalUserPage">GlobalUserPage</a><span style="display:none"><a href="/wiki/Extension:GlobalUserPage" title="Extension:GlobalUserPage"> </a></span> </td> <td><code>__NOGLOBAL__</code> </td> <td>Disables the global user page. If present on the central user page, will prevent it from being displayed on remote wikis, and it also determines whether a link to a user page on remote wiki should be red or blue. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.28</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="DISAMBIG"></span> </td></tr> <tr> <td><a href="/wiki/Special:MyLanguage/Extension:Disambiguator" title="Special:MyLanguage/Extension:Disambiguator">Disambiguator</a><span style="display:none"><a href="/wiki/Extension:Disambiguator" title="Extension:Disambiguator"> </a></span> </td> <td><code>__DISAMBIG__</code> </td> <td>Identifies a disambiguation page. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.21</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="EXPECTEDUNCONNECTEDPAGE"></span><span class="anchor" id="EXPECTED_UNCONNECTED_PAGE"></span> </td></tr> <tr> <td><a href="/wiki/Special:MyLanguage/Extension:Wikibase" title="Special:MyLanguage/Extension:Wikibase">Wikibase</a><span style="display:none"><a href="/wiki/Extension:Wikibase" class="mw-redirect" title="Extension:Wikibase"> </a></span> (client) </td> <td><code>__EXPECTED_UNCONNECTED_PAGE__</code> </td> <td>Some wiki pages do not fit the scope of Wikidata items, such as discussion archives, template subpages, etc. To prevent a wiki page from being listed in Special:UnconnectedPages, use this magic word anywhere on the page. Pages that don't meet <a class="external text" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Notability">Wikidata's notability criteria</a> should not receive a Wikidata item. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unknown mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.37.0</div></td> </tr></tbody></table> </td></tr> <tr> <td rowspan="2"><a href="/wiki/Special:MyLanguage/Extension:DiscussionTools" title="Special:MyLanguage/Extension:DiscussionTools">DiscussionTools</a><span style="display:none"><a href="/wiki/Extension:DiscussionTools" title="Extension:DiscussionTools"> </a></span> </td> <td><code>__ARCHIVEDTALK__</code> </td> <td>Hides "reply" links from discussions on archived pages. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-legacy mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.39</div><small><a href="https://gerrit.wikimedia.org/r/738221" class="extiw" title="gerrit:738221">Gerrit change 738221</a></small></td> </tr></tbody></table> </td></tr> <tr> <td><code>__NOTALK__</code> </td> <td>Makes a page in a talk namespace not be treated like a talk page. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-legacy mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.39</div><small><a href="https://gerrit.wikimedia.org/r/903247" class="extiw" title="gerrit:903247">Gerrit change 903247</a></small></td> </tr></tbody></table> </td></tr> <tr> <td><a href="/wiki/Special:MyLanguage/Extension:ProofreadPage" title="Special:MyLanguage/Extension:ProofreadPage">ProofreadPage</a><span style="display:none"><a href="/wiki/Extension:ProofreadPage" class="mw-redirect" title="Extension:ProofreadPage"> </a></span> </td> <td><code>__EXPECTWITHOUTSCANS__</code> </td> <td>Some wikisource content pages consist of lists (such as a list of editions or translations of the same work) and therefore did not have scans. To prevent these pages from being listed in Special:PagesWithoutScans, insert this magic word into the page. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unknown mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.43.0-wmf.4</div><small><a href="https://gerrit.wikimedia.org/r/1026897" class="extiw" title="gerrit:1026897">Gerrit change 1026897</a></small></td> </tr></tbody></table> </td></tr> <tr> <td><a href="/wiki/Special:MyLanguage/mw:Extension:Wikibase" title="Special:MyLanguage/mw:Extension:Wikibase">Wikibase</a><span style="display:none"><a href="/wiki/Extension:Wikibase" class="mw-redirect" title="Extension:Wikibase"> </a></span> (client) </td> <td><code>{{NOEXTERNALLANGLINKS}}</code> </td> <td>A magic word and a parser function which when invoked, will disable the Wikibase extension for a specific page, or used with parameters <a href="/wiki/Special:MyLanguage/Wikibase/Installation/Advanced_configuration#noexternallanglinks" title="Special:MyLanguage/Wikibase/Installation/Advanced configuration">can suppress specific interlanguage links</a><span style="display:none"><a href="/wiki/Wikibase/Installation/Advanced_configuration#noexternallanglinks" title="Wikibase/Installation/Advanced configuration"> </a></span> produced by the extension. When active, only interlanguage links present in the wikitext are used. </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Variables" data-mw-thread-id="h-Variables"><span data-mw-comment-start="" id="h-Variables"></span>Variables<span data-mw-comment-end="h-Variables"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Variables","replies":["h-Date_and_time-Variables","h-Technical_metadata-Variables","h-Localization-Variables","h-Statistics-Variables","h-Page_names-Variables","h-Namespaces-Variables"]}}--></div> <p><a href="/wiki/Special:MyLanguage/Variables" title="Special:MyLanguage/Variables">Variables</a><span style="display:none"><a href="/wiki/Variables" class="mw-disambig" title="Variables"> </a></span> return information about the current page, wiki, or date. Their syntax is similar to <a href="/wiki/Special:MyLanguage/Help:Templates" title="Special:MyLanguage/Help:Templates">templates</a>. Variables marked as "<span style="background: #FED;"><b>[expensive]</b></span>" are tracked by the software, and the number that can be included on a page is limited. </p><p>If a template name conflicts with a variable, the variable will be used (so to transclude the template <a href="/wiki/Template:PAGENAME" title="Template:PAGENAME">Template:PAGENAME</a> you would need to write <code>{{Template:PAGENAME}}</code>). In some cases, adding parameters will force the parser to invoke a template; for example, <code>{{CURRENTDAYNAME|x}}</code> transcludes <a href="/w/index.php?title=Template:CURRENTDAYNAME&amp;action=edit&amp;redlink=1" class="new" title="Template:CURRENTDAYNAME (page does not exist)">Template:CURRENTDAYNAME</a>, <i>not</i> the variable. </p> <div class="mw-heading mw-heading3"><h3 id="Date_and_time" data-mw-thread-id="h-Date_and_time-Variables"><span data-mw-comment-start="" id="h-Date_and_time-Variables"></span>Date and time<span data-mw-comment-end="h-Date_and_time-Variables"></span></h3></div> <p>The following variables return the current date and time in <a href="https://en.wikipedia.org/wiki/UTC" class="extiw" title="w:UTC">UTC</a>. </p><p>Due to MediaWiki and browser caching, these variables frequently show when the page was <i>cached</i> rather than the current time. </p><p>The use of those variables cause pages to be cached for a more limited number of seconds. This is configured in <a rel="nofollow" class="external text" href="https://github.com/wikimedia/mediawiki/blob/master/includes/parser/MagicWordFactory.php#L132">MagicWordFactory</a>. </p><p>The date and time magic words are formatted in the wiki content language. Since <span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/94680.html">1.19</a></span>, they depend on the <a href="/wiki/Special:MyLanguage/Manual:Language#page-content-lang" title="Special:MyLanguage/Manual:Language">page content language</a>. </p> <table class="wikitable"> <tbody><tr> <th>Variable </th> <th>Output </th> <th>Description </th> <th>Versions </th></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Year </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CURRENTYEAR"></span> </td></tr> <tr> <td><code>{{CURRENTYEAR}}</code> </td> <td>2024 </td> <td>Year </td> <td> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Month </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CURRENTMONTH"></span><span class="anchor" id="CURRENTMONTH1"></span><span class="anchor" id="CURRENTMONTH2"></span><span class="anchor" id="CURRENTMONTHNAME"></span><span class="anchor" id="CURRENTMONTHNAMEGEN"></span><span class="anchor" id="CURRENTMONTHABBREV"></span> </td></tr> <tr> <td><code>{{CURRENTMONTH}}</code> <br/> <p><code>{{CURRENTMONTH2}}</code> </p> </td> <td>11 </td> <td>Month (zero-padded number) </td> <td> </td></tr> <tr> <td><code>{{CURRENTMONTH1}}</code> </td> <td>11 </td> <td>Month (unpadded number) </td> <td> </td></tr> <tr> <td><code>{{CURRENTMONTHNAME}}</code> </td> <td>November </td> <td>Month (name) </td> <td> </td></tr> <tr> <td><code>{{CURRENTMONTHNAMEGEN}}</code> </td> <td>November </td> <td>Month (<a href="https://en.wikipedia.org/wiki/Genitive_case" class="extiw" title="wikipedia:Genitive case">genitive form</a>) </td> <td> </td></tr> <tr> <td><code>{{CURRENTMONTHABBREV}}</code> </td> <td>Nov </td> <td>Month (abbreviation) </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Day </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CURRENTDAY"></span><span class="anchor" id="CURRENTDAY2"></span><span class="anchor" id="CURRENTDOW"></span><span class="anchor" id="CURRENTDAYNAME"></span> </td></tr> <tr> <td><code>{{CURRENTDAY}}</code> </td> <td>23 </td> <td>Day of the month (unpadded number) </td> <td> </td></tr> <tr> <td><code>{{CURRENTDAY2}}</code> </td> <td>23 </td> <td>Day of the month (zero-padded number) </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.6</div></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{CURRENTDOW}}</code> </td> <td>6 </td> <td>Day of the week (unpadded number), 0 (for Sunday) through 6 (for Saturday) </td> <td> </td></tr> <tr> <td><code>{{CURRENTDAYNAME}}</code> </td> <td>Saturday </td> <td>Day of the week (name) </td> <td> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Time </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CURRENTTIME"></span><span class="anchor" id="CURRENTHOUR"></span> </td></tr> <tr> <td><code>{{CURRENTTIME}}</code> </td> <td>10:00 </td> <td>Time (24-hour HH:mm format) </td> <td> </td></tr> <tr> <td><code>{{CURRENTHOUR}}</code> </td> <td>10 </td> <td>Hour (24-hour zero-padded number) </td> <td> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Other </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CURRENTWEEK"></span><span class="anchor" id="CURRENTTIMESTAMP"></span> </td></tr> <tr> <td><code>{{CURRENTWEEK}}</code> </td> <td>47 </td> <td>Week (number) </td> <td> </td></tr> <tr> <td><code>{{CURRENTTIMESTAMP}}</code> </td> <td>20241123100058 </td> <td>YYYYMMDDHHmmss timestamp </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr></tbody></table> <style data-mw-deduplicate="TemplateStyles:r6651107">.mw-parser-output .note{background-position:left 7px top 50%;padding:0.5em 0.5em 0.5em 40px;margin:0.5em 0;overflow:hidden;background-color:#f8f9fa;color:#333;background-repeat:no-repeat;border:1px solid #ddd}.mw-parser-output .note-inline{display:inline-block;vertical-align:middle}.mw-parser-output .note-info{background-color:#eaf3ff;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg");background-size:25px;border-color:#a3caff;padding-left:40px;min-height:25px}.mw-parser-output .note-reminder{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-warn{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-error{background-color:#fee7e6;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg");background-size:25px;border-color:#c33;min-height:25px}@media screen{html.skin-theme-clientpref-night .mw-parser-output .note{background-color:transparent;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .note{background-color:transparent;color:inherit}}</style><div role="note" class="note note-info"><style data-mw-deduplicate="TemplateStyles:r4719022">.mw-parser-output .monospaced{font-family:monospace,monospace}</style><span class="monospaced">{{<a href="/wiki/Template:CURRENTDATE" title="Template:CURRENTDATE">CURRENTDATE</a>}}</span> is not a magic word but it might be a <a href="/wiki/Special:MyLanguage/Help:Templates" title="Special:MyLanguage/Help:Templates">template</a>.</div> <p>The following variables do the same as the preceding ones but using the site's server config or <a href="/wiki/Special:MyLanguage/Manual:$wgLocaltimezone" title="Special:MyLanguage/Manual:$wgLocaltimezone">$wgLocaltimezone</a><span style="display:none"><a href="/wiki/Manual:$wgLocaltimezone" title="Manual:$wgLocaltimezone"> </a></span>. </p> <ul><li><code>{{LOCALYEAR}}</code></li> <li><code>{{LOCALMONTH}}</code></li> <li><code>{{LOCALMONTH1}}</code></li> <li><code>{{LOCALMONTH2}}</code></li> <li><code>{{LOCALMONTHNAME}}</code></li> <li><code>{{LOCALMONTHNAMEGEN}}</code></li> <li><code>{{LOCALMONTHABBREV}}</code></li> <li><code>{{LOCALDAY}}</code></li> <li><code>{{LOCALDAY2}}</code></li> <li><code>{{LOCALDOW}}</code></li> <li><code>{{LOCALDAYNAME}}</code></li> <li><code>{{LOCALTIME}}</code></li> <li><code>{{LOCALHOUR}}</code></li> <li><code>{{LOCALWEEK}}</code></li> <li><code>{{LOCALTIMESTAMP}}</code></li></ul> <p><i>For more thorough time formatting, or to output the current year and week with better compliance with <a href="https://en.wikipedia.org/wiki/ISO-8601" class="extiw" title="wikipedia:ISO-8601">ISO-8601</a>, you may want to install <a href="/wiki/Special:MyLanguage/Extension:ParserFunctions" title="Special:MyLanguage/Extension:ParserFunctions">Extension:ParserFunctions</a><span style="display:none"><a href="/wiki/Extension:ParserFunctions" title="Extension:ParserFunctions"> </a></span> to use the <a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions#.23time" title="Special:MyLanguage/Help:Extension:ParserFunctions">#time</a><span style="display:none"><a href="/wiki/Help:Extension:ParserFunctions#.23time" title="Help:Extension:ParserFunctions"> </a></span> parser function</i>. </p> <div class="mw-heading mw-heading3"><h3 id="Technical_metadata" data-mw-thread-id="h-Technical_metadata-Variables"><span data-mw-comment-start="" id="h-Technical_metadata-Variables"></span>Technical metadata<span data-mw-comment-end="h-Technical_metadata-Variables"></span></h3></div> <table class="wikitable"> <tbody><tr> <th width="10%">Variable </th> <th width="15%">Output </th> <th>Description </th> <th width="10%">Versions </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="Site"></span> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Site </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="SITENAME"></span> </td></tr> <tr> <td><code>{{SITENAME}}</code> </td> <td>MediaWiki </td> <td>The wiki's site name (<a href="/wiki/Special:MyLanguage/Manual:$wgSitename" title="Special:MyLanguage/Manual:$wgSitename">$wgSitename</a><span style="display:none"><a href="/wiki/Manual:$wgSitename" title="Manual:$wgSitename"> </a></span>). </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="SERVER"></span> </td></tr> <tr> <td><code>{{SERVER}}</code> </td> <td>//www.mediawiki.org </td> <td>Domain <a href="https://en.wikipedia.org/wiki/URL" class="extiw" title="w:URL">URL</a> (<a href="/wiki/Special:MyLanguage/Manual:$wgServer" title="Special:MyLanguage/Manual:$wgServer">$wgServer</a><span style="display:none"><a href="/wiki/Manual:$wgServer" title="Manual:$wgServer"> </a></span>). </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="SERVERNAME"></span> </td></tr> <tr> <td><code>{{SERVERNAME}}</code> </td> <td>www.mediawiki.org </td> <td>Subdomain and domain name (no longer dependent on <a href="/wiki/Special:MyLanguage/Manual:$wgServerName" title="Special:MyLanguage/Manual:$wgServerName">$wgServerName</a><span style="display:none"><a href="/wiki/Manual:$wgServerName" title="Manual:$wgServerName"> </a></span> as of version 1.17). </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="DIRMARK"></span><span class="anchor" id="DIRECTIONMARK"></span> </td></tr> <tr> <td><code>{{DIRMARK}}</code> <br/> <p><code>{{DIRECTIONMARK}}</code> </p> </td> <td>‎ <br/> <p>‎ </p> </td> <td>Outputs a <a href="https://en.wikipedia.org/wiki/Unicode" class="extiw" title="w:Unicode">Unicode</a> directional mark that matches the wiki's default language's direction (<code>&amp;lrm;</code> on left-to-right wikis, <code>&amp;rlm;</code> on right-to-left wikis), useful in text with multi-directional text. Since <span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/94680.html">1.19</a></span>, it depends on the <a href="/wiki/Special:MyLanguage/Manual:Language#page-content-lang" title="Special:MyLanguage/Manual:Language">page content language</a>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/14442.html">r14442</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="ARTICLEPATH"></span> </td></tr> <tr> <td><code>{{ARTICLEPATH}}</code> </td> <td>/wiki/$1 </td> <td>Relative article path (<a href="/wiki/Special:MyLanguage/Manual:$wgArticlePath" title="Special:MyLanguage/Manual:$wgArticlePath">$wgArticlePath</a><span style="display:none"><a href="/wiki/Manual:$wgArticlePath" title="Manual:$wgArticlePath"> </a></span>). </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="SCRIPTPATH"></span> </td></tr> <tr> <td><code>{{SCRIPTPATH}}</code> </td> <td>/w </td> <td>Relative script path (<a href="/wiki/Special:MyLanguage/Manual:$wgScriptPath" title="Special:MyLanguage/Manual:$wgScriptPath">$wgScriptPath</a><span style="display:none"><a href="/wiki/Manual:$wgScriptPath" title="Manual:$wgScriptPath"> </a></span>). </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="STYLEPATH"></span> </td></tr> <tr> <td><code>{{STYLEPATH}}</code> </td> <td>/w/skins </td> <td>Relative style path (<a href="/wiki/Special:MyLanguage/Manual:$wgStylePath" title="Special:MyLanguage/Manual:$wgStylePath">$wgStylePath</a><span style="display:none"><a href="/wiki/Manual:$wgStylePath" title="Manual:$wgStylePath"> </a></span>). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.16</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CURRENTVERSION"></span> </td></tr> <tr> <td><code>{{CURRENTVERSION}}</code> </td> <td>1.44.0-wmf.4 (a8dd895) </td> <td>The wiki's MediaWiki version. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/14199.html">r14199</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CONTENTLANGUAGE"></span><span class="anchor" id="CONTENTLANG"></span> </td></tr> <tr> <td><code>{{CONTENTLANGUAGE}}</code> <br/> <p><code>{{CONTENTLANG}}</code> </p> </td> <td>en <br/> <p>en </p> </td> <td>The wiki's default interface language (<a href="/wiki/Special:MyLanguage/Manual:$wgLanguageCode" title="Special:MyLanguage/Manual:$wgLanguageCode">$wgLanguageCode</a><span style="display:none"><a href="/wiki/Manual:$wgLanguageCode" title="Manual:$wgLanguageCode"> </a></span>). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/14661.html">r14661</a></span></small></td> </tr></tbody></table> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Page </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="Page"></span><span class="anchor" id="PAGEID"></span><span class="anchor" id="PROTECTIONLEVEL"></span><span class="anchor" id="PROTECTIONEXPIRY"></span><span class="anchor" id="CASCADINGSOURCES"></span> </td></tr> <tr> <td><code>{{PAGEID}}</code> </td> <td>1748 </td> <td>Returns the <a href="/wiki/Special:MyLanguage/Help:Page_ID" title="Special:MyLanguage/Help:Page ID">page identifier (page ID)</a>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.20</div><small><a href="https://gerrit.wikimedia.org/r/9858" class="extiw" title="gerrit:9858">Gerrit change 9858</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PAGELANGUAGE"></span> </td></tr> <tr> <td><code>{{PAGELANGUAGE}}</code><br/><code>{{#language:{{PAGELANGUAGE}}}}</code> </td> <td>en<br/>English </td> <td>Returns the language of the current page. The language code that this variable returns can be converted to a language name using <code>{{<a href="##language">#language</a>:...}}</code>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.29</div><small><a href="https://gerrit.wikimedia.org/r/330982" class="extiw" title="gerrit:330982">Gerrit change 330982</a></small></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{TRANSLATABLEPAGE}}</code> </td> <td>Help:Magic words </td> <td>Returns the title of the translation page (the page other languages are translated from) if a page is translatable (including translated pages), and nothing if the page is not translatable. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unknown mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.41.0-wmf.8</div><small><a href="https://gerrit.wikimedia.org/r/913677" class="extiw" title="gerrit:913677">Gerrit change 913677</a></small></td> </tr></tbody></table> </td></tr> <tr> <td> <p><code style=" backgrond-color:transparent; border:0; padding:0 " class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><span class="p">&lt;</span><span class="nt">translate</span><span class="p">></span><span class="cm">&lt;!--T:1--></span> Translated unit. Language: <span class="p">&lt;</span><span class="nt">tvar</span> <span class="na">name</span><span class="o">=</span><span class="s">lang</span><span class="p">></span>{{TRANSLATIONLANGUAGE}}<span class="p">&lt;/</span><span class="nt">tvar</span><span class="p">></span>.<span class="p">&lt;/</span><span class="nt">translate</span><span class="p">></span></code> </p><p><code style=" backgrond-color:transparent; border:0; padding:0 " class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><span class="p">&lt;</span><span class="nt">translate</span><span class="p">></span><span class="cm">&lt;!--T:2--></span> Untranslated unit. Language: <span class="p">&lt;</span><span class="nt">tvar</span> <span class="na">name</span><span class="o">=</span><span class="s">lang</span><span class="p">></span>{{TRANSLATIONLANGUAGE}}<span class="p">&lt;/</span><span class="nt">tvar</span><span class="p">></span>.<span class="p">&lt;/</span><span class="nt">translate</span><span class="p">></span></code> </p> </td> <td> <p>Translated unit. Language: en. </p><p><span lang="en" dir="ltr" class="mw-content-ltr">Not translated unit. Language: en.</span> </p> </td> <td>Must be used in a translated page, inside <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎&lt;</span><span class="nt">translate</span><span class="p">></span></code> tags. Returns the language code of the current translation unit. In a translation page, if the unit has been translated, then it returns translation language. Else, it returns source language. The language code that this variable returns can be converted to a language name using <code>{{<a href="##language">#language</a>:...}}</code>. Should only be used by <a href="/wiki/Special:MyLanguage/Help:Extension:Translate/Page_translation_administration" title="Special:MyLanguage/Help:Extension:Translate/Page translation administration">translation admins</a>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unknown mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.36.0-wmf.8</div><small><a href="https://gerrit.wikimedia.org/r/603472" class="extiw" title="gerrit:603472">Gerrit change 603472</a></small></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{PROTECTIONLEVEL:<i>action</i>}}</code> </td> <td> </td> <td>Outputs the protection level (e.g. "autoconfirmed", "sysop") for a given action (e.g. "edit", "move") on the current page. Returns an empty string if not protected. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/45587.html">r45587</a></span></small></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{PROTECTIONEXPIRY:<i>action</i>}}</code> </td> <td> </td> <td>Outputs the protection expiry (e.g. "20160418155030", "infinity") for a given action (e.g. "edit", "move") on the current page. Returns "infinity" if not protected. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.27</div><small><a href="https://gerrit.wikimedia.org/r/255717" class="extiw" title="gerrit:255717">Gerrit change 255717</a></small></td> </tr></tbody></table> </td></tr> <tr style="background:#FED;"> <td><code>{{CASCADINGSOURCES}}</code> </td> <td> </td> <td><b>[Expensive]</b> Returns the sources of any cascading protection acting on the current page. Pages will not return their own title unless they transclude themselves. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/104999" class="extiw" title="gerrit:104999">Gerrit change 104999</a></small></td> </tr></tbody></table> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Viewed revision of current page (latest revision or selected older revision) </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="revision"></span><span class="anchor" id="REVISIONID"></span><span class="anchor" id="REVISIONDAY"></span><span class="anchor" id="REVISIONDAY2"></span><span class="anchor" id="REVISIONMONTH"></span><span class="anchor" id="REVISIONMONTH1"></span><span class="anchor" id="REVISIONYEAR"></span><span class="anchor" id="REVISIONTIMESTAMP"></span><span class="anchor" id="REVISIONUSER"></span> </td></tr> <tr> <td><code>{{REVISIONID}}</code> </td> <td>- </td> <td>Unique revision ID. It is always empty in preview, thus one can show an error message only in preview. May be disabled in <a href="/wiki/Special:MyLanguage/Manual:$wgMiserMode" title="Special:MyLanguage/Manual:$wgMiserMode">miser mode (all WMF wikis)</a> returning <code>-</code> instead when not in preview. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONDAY}}</code> </td> <td>27 </td> <td>Day edit was made (unpadded number). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.8</div></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONDAY2}}</code> </td> <td>27 </td> <td>Day edit was made (zero-padded number). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.8</div></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONMONTH}}</code> </td> <td>10 </td> <td>Month edit was made (zero-padded number as of <a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/66200" class="extiw" title="rev:66200">1.17+</a>, unpadded number in prior versions). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.8</div></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONMONTH1}}</code> </td> <td>10 </td> <td>Month edit was made (unpadded number). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.17</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/66200.html">r66200</a></span></small></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONYEAR}}</code> </td> <td>2024 </td> <td>Year edit was made. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.8</div></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONTIMESTAMP}}</code> </td> <td>20241027034131 </td> <td>Timestamp as of time of edit. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.8</div></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONUSER}}</code> </td> <td>Shirayuki </td> <td>The username of the user who made the edit in question, or the user previewing an edit. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/48149.html">r48149</a></span></small></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{REVISIONSIZE}}</code> </td> <td>107602 </td> <td>The size (bytes of wikitext) of the viewed revision of the page or preview </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.22</div><small><a href="https://gerrit.wikimedia.org/r/82650" class="extiw" title="gerrit:82650">Gerrit change 82650</a></small></td> </tr></tbody></table> </td></tr> <tr> <th colspan="4" style="background-color: #DDDDDD;">Affects page content </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="DISPLAYTITLE"></span><span class="anchor" id="DisplayTitle"></span> </td></tr> <tr> <td><code>{{DISPLAYTITLE:<i>title</i>}}</code> <br/><code>{{DISPLAYTITLE:<i>title</i>|noerror}}</code> <br/><code>{{DISPLAYTITLE:<i>title</i>|noreplace}}</code> </td> <td> </td> <td>Format the <a href="/wiki/Special:MyLanguage/Display_title" title="Special:MyLanguage/Display title">display title</a><span style="display:none"><a href="/wiki/Display_title" title="Display title"> </a></span> of the current page, which is what is typically shown in a page's title header. Unless <a href="/wiki/Special:MyLanguage/Manual:$wgRestrictDisplayTitle" title="Special:MyLanguage/Manual:$wgRestrictDisplayTitle">$wgRestrictDisplayTitle</a><span style="display:none"><a href="/wiki/Manual:$wgRestrictDisplayTitle" title="Manual:$wgRestrictDisplayTitle"> </a></span> is set to <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" style="" dir="ltr"><span class="k">false</span></code>, the value must be equivalent to the default title: only capitalization changes to certain parts of the title (not all) and replacing spaces with underscores are allowed. It can be disabled or enabled by <a href="/wiki/Special:MyLanguage/Manual:$wgAllowDisplayTitle" title="Special:MyLanguage/Manual:$wgAllowDisplayTitle">$wgAllowDisplayTitle</a><span style="display:none"><a href="/wiki/Manual:$wgAllowDisplayTitle" title="Manual:$wgAllowDisplayTitle"> </a></span>. <p>It can take a second argument of <i>noerror</i> or <i>noreplace</i> to suppress error messages when multiple displaytitles are used on one page or to make this <code>displaytitle</code> do nothing if a <code>displaytitle</code> was already specified earlier in the page. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.24</div><small><a href="https://gerrit.wikimedia.org/r/144870" class="extiw" title="gerrit:144870">Gerrit change 144870</a></small></td> </tr></tbody></table> <p>(for noerror and noreplace) </p> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="DEFAULTSORT"></span><span class="anchor" id="DEFAULTCATEGORYSORT"></span><span class="anchor" id="DEFAULTSORTKEY"></span><span class="anchor" id="Defaultsort"></span> </td></tr> <tr> <td><code>{{DEFAULTSORT:<i>sortkey</i>}}</code> <br/><code>{{DEFAULTSORTKEY:<i>sortkey</i>}}</code> <br/><code>{{DEFAULTCATEGORYSORT:<i>sortkey</i>}}</code> <br/><code>{{DEFAULTSORT:<i>sortkey</i>|noerror}}</code> <br/><code>{{DEFAULTSORT:<i>sortkey</i>|noreplace}}</code> </td> <td> </td> <td>Used for categorizing pages, sets a default <a href="/wiki/Special:MyLanguage/Help:Categories" title="Special:MyLanguage/Help:Categories">category sort key</a>. For example if you put <code>{{DEFAULTSORT:Smith, John}}</code> at the end of <a href="https://en.wikipedia.org/wiki/John_Smith" class="extiw" title="w:John Smith">John Smith</a>, the page would be sorted under "S" by default in categories. It can take a second argument of <i>noerror</i> or <i>noreplace</i> to suppress error messages when multiple defaultsortkeys are used on one page or to make this <code>defaultsort</code> do nothing if a <code>defaultsort</code> was already specified earlier in the page. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.10</div></td> </tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.19</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/96767.html">r96767</a></span></small></td> </tr></tbody></table> <p>(for noerror and noreplace) </p> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="Localization" data-mw-thread-id="h-Localization-Variables"><span data-mw-comment-start="" id="h-Localization-Variables"></span>Localization<span data-mw-comment-end="h-Localization-Variables"></span></h3></div> <table class="wikitable"> <tbody><tr> <th width="10%">Variable </th> <th width="15%">Output </th> <th>Description </th> <th width="10%">Versions </th></tr> <tr> <td><code>{{USERLANGUAGE}}</code> </td> <td>en </td> <td>User's language. (If <a href="/wiki/Special:MyLanguage/Manual:$wgParserEnableUserLanguage" title="Special:MyLanguage/Manual:$wgParserEnableUserLanguage">$wgParserEnableUserLanguage</a><span style="display:none"><a href="/wiki/Manual:$wgParserEnableUserLanguage" title="Manual:$wgParserEnableUserLanguage"> </a></span> is enabled, it is disabled by default.)<br/>Note: Currently not supported by Parsoid Page View. If using Parsoid Page View or if $wgParserEnableUserLanguage is disabled, the magic word will return the same result as <code>{{PAGELANGUAGE}}</code>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-future"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.43</div><small><a href="https://gerrit.wikimedia.org/r/508295" class="extiw" title="gerrit:508295">Gerrit change 508295</a></small></td> </tr></tbody></table> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="Statistics" data-mw-thread-id="h-Statistics-Variables"><span data-mw-comment-start="" id="h-Statistics-Variables"></span>Statistics<span data-mw-comment-end="h-Statistics-Variables"></span></h3></div> <p>Numbers returned by these variables normally contain separators (commas, dots or spaces, depending on the local language) but can return raw numbers with the ":R" flag (for example, <code>{{NUMBEROFPAGES}}</code> → 1,757,901 and <code>{{NUMBEROFPAGES:R}}</code> → 1757901). </p><p>Use "|R" for magic words that require a parameter like PAGESINCATEGORY (for example <code>{{PAGESINCATEGORY:Help}}</code> and <code>{{PAGESINCATEGORY:Help|R}}</code>, or <code>{{PAGESINCATEGORY:Help|subcats}}</code> and <code>{{PAGESINCATEGORY:Help|subcats|R}}</code>). Also applicable to <code>{{PAGESIZE:<i>page name</i>}}</code> hereinbefore. </p><p>The number magic words are formatted in the wiki content language. Since <span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/94680.html">1.19</a></span>, it depends on the <a href="/wiki/Special:MyLanguage/Manual:Language#page-content-lang" title="Special:MyLanguage/Manual:Language">page content language</a>. </p> <table class="wikitable"> <tbody><tr> <th width="10%">Variable </th> <th width="10%">Output </th> <th>Description </th> <th width="10%">Versions </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFPAGES"></span> </td></tr> <tr> <td><code>{{NUMBEROFPAGES}}</code> </td> <td>1,757,901 </td> <td>Number of wiki pages. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFARTICLES"></span> </td></tr> <tr> <td><code>{{NUMBEROFARTICLES}}</code> </td> <td>63,648 </td> <td>Number of pages in <a href="/wiki/Special:MyLanguage/Manual:Using_custom_namespaces#content-ns" title="Special:MyLanguage/Manual:Using custom namespaces">content namespaces</a><span style="display:none"><a href="/wiki/Manual:Using_custom_namespaces#content-ns" title="Manual:Using custom namespaces"> </a></span> that qualify as articles. See <a href="/wiki/Special:MyLanguage/Manual:$wgArticleCountMethod" title="Special:MyLanguage/Manual:$wgArticleCountMethod">Manual:$wgArticleCountMethod</a><span style="display:none"><a href="/wiki/Manual:$wgArticleCountMethod" title="Manual:$wgArticleCountMethod"> </a></span> for details. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFFILES"></span> </td></tr> <tr> <td><code>{{NUMBEROFFILES}}</code> </td> <td>2,761 </td> <td>Number of uploaded files. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFEDITS"></span> </td></tr> <tr> <td><code>{{NUMBEROFEDITS}}</code> </td> <td>6,756,655 </td> <td>Number of wiki edits. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.10</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/21319.html">r21319</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFVIEWS"></span> </td></tr> <tr> <td><code>{{NUMBEROFVIEWS}}</code> </td> <td> </td> <td>Number of page views. Usually useless on a wiki using <a href="/wiki/Special:MyLanguage/Manual:Cache" title="Special:MyLanguage/Manual:Cache">caching</a>. Removed in <a href="https://gerrit.wikimedia.org/r/150699" class="extiw" title="gerrit:150699">Gerrit change 150699</a>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-version2 mw-version-version2-unsupported"><tbody><tr> <td class="mw-version-versionbox" title="MediaWiki 1.24 is an unsupported version"><div class="mw-version-versionnumber"> 1.14 – 1.24</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/42721.html">r42721</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFUSERS"></span> </td></tr> <tr> <td><code>{{NUMBEROFUSERS}}</code> </td> <td>18,022,382 </td> <td>Number of registered users. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFADMINS"></span> </td></tr> <tr> <td><code>{{NUMBEROFADMINS}}</code> </td> <td>137 </td> <td>Number of users in the <i>sysop</i> <a href="/wiki/Special:MyLanguage/Manual:User_rights" title="Special:MyLanguage/Manual:User rights">group</a><span style="display:none"><a href="/wiki/Manual:User_rights" title="Manual:User rights"> </a></span>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBEROFACTIVEUSERS"></span> </td></tr> <tr> <td><code>{{NUMBEROFACTIVEUSERS}}</code> </td> <td>865 </td> <td>Number of active users, based on the criteria used in <a href="/wiki/Special:Statistics" title="Special:Statistics">Special:Statistics</a>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/47392.html">r47392</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PAGESINCATEGORY"></span><span class="anchor" id="PAGESINCAT"></span> </td></tr> <tr style="background:#FED;"> <td><code>{{PAGESINCATEGORY:<i>categoryname</i>}}</code> <br/><code>{{PAGESINCAT:<i>categoryname</i>}}</code> </td> <td>159 <br/>159 </td> <td><b>[Expensive]</b> Number of pages (including subcategories and files) in the given <a href="/wiki/Special:MyLanguage/Help:Categories" title="Special:MyLanguage/Help:Categories">category</a>. <small>(<a href="/wiki/Special:MyLanguage/Category:Help" title="Special:MyLanguage/Category:Help">Category:Help</a><span style="display:none"><a href="/wiki/Category:Help" title="Category:Help"> </a></span> used for demonstration)</small> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.13</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/32932.html">r32932</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="background:#FED;"> <td><code>{{PAGESINCATEGORY:<i>categoryname</i>|all}}</code> <br/><code>{{PAGESINCATEGORY:<i>categoryname</i>|pages}}</code> <br/><code>{{PAGESINCATEGORY:<i>categoryname</i>|subcats}}</code> <br/><code>{{PAGESINCATEGORY:<i>categoryname</i>|files}}</code> </td> <td>159 <br/>156 <br/>3 <br/>0 </td> <td><b>[Expensive]</b> Respectively, the number of <ul><li>all pages</li> <li>ordinary pages (excluding subcategories and files)</li> <li>subcategories or</li> <li>files</li></ul> <p>in the given <a href="/wiki/Special:MyLanguage/Help:Categories" title="Special:MyLanguage/Help:Categories">category</a>. <small>(<a href="/wiki/Special:MyLanguage/Category:Help" title="Special:MyLanguage/Category:Help">Category:Help</a><span style="display:none"><a href="/wiki/Category:Help" title="Category:Help"> </a></span> used for demonstration)</small> </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.20</div><small><a href="https://gerrit.wikimedia.org/r/12790" class="extiw" title="gerrit:12790">Gerrit change 12790</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="NUMBERINGROUP"></span><span class="anchor" id="NUMINGROUP"></span> </td></tr> <tr> <td><code>{{NUMBERINGROUP:<i>groupname</i>}}</code> <br/><code>{{NUMINGROUP:<i>groupname</i>}}</code> </td> <td>23 <br/>23 </td> <td>Number of users in a specific <a href="/wiki/Special:MyLanguage/Manual:User_rights" title="Special:MyLanguage/Manual:User rights">group</a><span style="display:none"><a href="/wiki/Manual:User_rights" title="Manual:User rights"> </a></span>. <small>(bureaucrat used for demonstration)</small> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.14</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/40116.html">r40116</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PAGESINNS"></span><span class="anchor" id="PAGESINNAMESPACE"></span> </td></tr> <tr style="background:#FED;"> <td><code>{{PAGESINNS:<i>index</i>}}</code> <br/><code>{{PAGESINNAMESPACE:<i>index</i>}}</code> </td> <td><i>Not enabled</i> </td> <td><b>[Expensive]</b> Number of pages in the given <a href="/wiki/Special:MyLanguage/Help:Namespaces" title="Special:MyLanguage/Help:Namespaces">namespace</a> (replace <i>index</i> with the relevant <a href="/wiki/Special:MyLanguage/Manual:Namespace" title="Special:MyLanguage/Manual:Namespace">namespace index</a>). For instance, <code>{{PAGESINNAMESPACE:<i>14</i>}}</code> will output the number of category pages. <code>{{PAGESINNS:0}}</code> differs from <code>{{NUMBEROFARTICLES}}</code> in that the former includes redirects and disambiguation pages. Disabled by default, enable with <a href="/wiki/Special:MyLanguage/Manual:$wgAllowSlowParserFunctions" title="Special:MyLanguage/Manual:$wgAllowSlowParserFunctions">$wgAllowSlowParserFunctions</a><span style="display:none"><a href="/wiki/Manual:$wgAllowSlowParserFunctions" title="Manual:$wgAllowSlowParserFunctions"> </a></span>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr></tbody></table> <p><span class="anchor" id="Page-names"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Page_names" data-mw-thread-id="h-Page_names-Variables"><span data-mw-comment-start="" id="h-Page_names-Variables"></span>Page names<span data-mw-comment-end="h-Page_names-Variables"></span></h3></div> <table class="wikitable"> <tbody><tr> <th width="10%">Variable </th> <th width="10%">For current page </th> <th>Description </th> <th width="10%">Versions </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="FULLPAGENAME"></span><span class="anchor" id="fullpagename"></span> </td></tr> <tr> <td><code>{{FULLPAGENAME}}</code> </td> <td>Help:Magic words </td> <td>Namespace and full page title (including all subpage levels). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.6</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PAGENAME"></span><span class="anchor" id="pagename"></span> </td></tr> <tr> <td><code>{{PAGENAME}}</code> </td> <td>Magic words </td> <td>Full page title (including all subpage levels) without the namespace. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="BASEPAGENAME"></span><span class="anchor" id="basepagename"></span> </td></tr> <tr> <td><code>{{BASEPAGENAME}}</code> </td> <td>Magic words </td> <td>Page title of the page in the immediately superior <a href="/wiki/Special:MyLanguage/Help:Subpages" title="Special:MyLanguage/Help:Subpages">subpage</a> level without the namespace. Would return <code>Title/Foo</code> on page <code>Help:Title/Foo/Bar</code>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="ROOTPAGENAME"></span><span class="anchor" id="rootpagename"></span> </td></tr> <tr> <td><code>{{ROOTPAGENAME}}</code> </td> <td>Magic words </td> <td>Name of the root of the current page. Would return <code>Title</code> on page <code>Help:Title/Foo/Bar</code>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.22</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="SUBPAGENAME"></span><span class="anchor" id="subpagename"></span> </td></tr> <tr> <td><code>{{SUBPAGENAME}}</code> </td> <td>Magic words </td> <td>The <a href="/wiki/Special:MyLanguage/Help:Subpages" title="Special:MyLanguage/Help:Subpages">subpage</a> title. Would return <code>Bar</code> on page <code>Help:Title/Foo/Bar</code>. <p>If no subpage exists the value of <code>{{PAGENAME}}</code> is returned. </p><p>For more complex splitting, use <code>{{<a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions#.23titleparts" title="Special:MyLanguage/Help:Extension:ParserFunctions">#titleparts:</a>}}</code> from the <a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions" title="Special:MyLanguage/Help:Extension:ParserFunctions">ParserFunctions extension</a>. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.6</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="SUBJECTPAGENAME"></span><span class="anchor" id="ARTICLEPAGENAME"></span><span class="anchor" id="subjectpagename"></span><span class="anchor" id="articlepagename"></span> </td></tr> <tr> <td><code>{{SUBJECTPAGENAME}}</code> <br/><code>{{ARTICLEPAGENAME}}</code> </td> <td>Help:Magic words<br/>Help:Magic words </td> <td>Full page name of the associated subject (e.g. article or file). Useful on talk pages. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="TALKPAGENAME"></span><span class="anchor" id="talkpagename"></span> </td></tr> <tr> <td><code>{{TALKPAGENAME}}</code> </td> <td>Help talk:Magic words </td> <td>Full page name of the associated talk page. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr></tbody></table> <p>None of these are affected by changes to the display title using <code>{{DISPLAYTITLE:xxxx}}</code>; the values returned are the original page title. </p><p>The <code>{{BASEPAGENAME}}</code> and <code>{{SUBPAGENAME}}</code> magic words only work in namespaces that have subpages enabled. See <a href="/wiki/Special:MyLanguage/Manual:$wgNamespacesWithSubpages" title="Special:MyLanguage/Manual:$wgNamespacesWithSubpages">$wgNamespacesWithSubpages</a><span style="display:none"><a href="/wiki/Manual:$wgNamespacesWithSubpages" title="Manual:$wgNamespacesWithSubpages"> </a></span> for information on enabling subpages. </p><p>As of <a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/46662" class="extiw" title="rev:46662">1.15+</a>, these can all take a parameter, allowing specification of the page to be operated on, instead of just the current page: </p> <ul><li><code>{{PAGENAME:Template:Main Page}}</code> → Main Page</li></ul> <table class="warning-message" style="background-color: var( --background-color-error-subtle, #ffe9e5 ); color: var( --color-base, #202122 ); border: 1px var( --border-color-error, #9f3526 ) solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tbody><tr><td style="white-space: nowrap; vertical-align: top;"><span style="position: relative; top: -2px;"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/18px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/27px-OOjs_UI_icon_notice-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/36px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></span> <b>Warning:</b> </td><td style="padding-left: 0.5em vertical-align: top;">If the page title contains any parts that are "<code>.</code>" or "<code>..</code>", the magic word returns nothing. <dl><dd><code>{{PAGENAME:one/./three}}</code> → <small>Nothing is returned.</small></dd></dl></td></tr></tbody></table> <table class="warning-message" style="background-color: var( --background-color-error-subtle, #ffe9e5 ); color: var( --color-base, #202122 ); border: 1px var( --border-color-error, #9f3526 ) solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tbody><tr><td style="white-space: nowrap; vertical-align: top;"><span style="position: relative; top: -2px;"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/18px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/27px-OOjs_UI_icon_notice-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/36px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></span> <b>Warning:</b> </td><td style="padding-left: 0.5em vertical-align: top;">Page titles containing certain characters, such as apostrophes <code>'</code> or asterisks <code>*</code>, may produce unexpected results when handled with these magic words, e.g. <code>{{PAGESINCATEGORY:{{PAGENAME}}}}</code>. See bugs <a href="https://phabricator.wikimedia.org/T16779" class="extiw" title="phabricator:T16779">T16779</a>, <a href="https://phabricator.wikimedia.org/T18474" class="extiw" title="phabricator:T18474">T18474</a>, <a href="https://phabricator.wikimedia.org/T37628" class="extiw" title="phabricator:T37628">T37628</a>, <a href="https://phabricator.wikimedia.org/T37746" class="extiw" title="phabricator:T37746">T37746</a>. One simple way to fix this is wrapping the pagename in <code>{{<a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions#.23titleparts" title="Special:MyLanguage/Help:Extension:ParserFunctions">#titleparts:</a>}}</code> from the <a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions" title="Special:MyLanguage/Help:Extension:ParserFunctions">ParserFunctions extension</a>.</td></tr></tbody></table> <div class="mw-heading mw-heading4"><h4 id="URL_encoded_page_names" data-mw-thread-id="h-URL_encoded_page_names-Page_names"><span data-mw-comment-start="" id="h-URL_encoded_page_names-Page_names"></span>URL encoded page names<span data-mw-comment-end="h-URL_encoded_page_names-Page_names"></span></h4></div> <p>The following are equivalents encoded for use in MediaWiki URLs (i.e. spaces replaced with underscores and some characters <a href="https://en.wikipedia.org/wiki/Numeric_character_reference" class="extiw" title="w:Numeric character reference">HTML escaped using numeric character encoding</a>): </p><p><span class="anchor" id="FULPAGENAMEE"></span><span class="anchor" id="PAGENAMEE"></span><span class="anchor" id="BASEPAGENAMEE"></span><span class="anchor" id="SUBPAGENAMEE"></span><span class="anchor" id="SUBJECTPAGENAMEE"></span><span class="anchor" id="ARTICLEPAGENAMEE"></span><span class="anchor" id="TALKPAGENAMEE"></span><span class="anchor" id="ROOTPAGENAMEE"></span> </p> <ul><li><code>{{FULLPAGENAMEE}}</code></li> <li><code>{{PAGENAMEE}}</code></li> <li><code>{{BASEPAGENAMEE}}</code></li> <li><code>{{SUBPAGENAMEE}}</code></li> <li><code>{{SUBJECTPAGENAMEE}}</code></li> <li><code>{{ARTICLEPAGENAMEE}}</code></li> <li><code>{{TALKPAGENAMEE}}</code></li> <li><code>{{ROOTPAGENAMEE}}</code></li></ul> <p>Note that <code>{{PAGENAME:...}}</code>, <code>{{PAGENAMEE:...}}</code> and <code>{{urlencode:...}}</code> have distinct implementations. See <a href="/wiki/Special:MyLanguage/Manual:PAGENAMEE_encoding" title="Special:MyLanguage/Manual:PAGENAMEE encoding">Manual:PAGENAMEE encoding</a><span style="display:none"><a href="/wiki/Manual:PAGENAMEE_encoding" title="Manual:PAGENAMEE encoding"> </a></span> for details. </p> <div class="mw-heading mw-heading3"><h3 id="Namespaces" data-mw-thread-id="h-Namespaces-Variables"><span data-mw-comment-start="" id="h-Namespaces-Variables"></span>Namespaces<span data-mw-comment-end="h-Namespaces-Variables"></span></h3></div> <table class="wikitable"> <tbody><tr> <th>Variable </th> <th>Output </th> <th>Description </th> <th>Versions </th></tr> <tr id="NAMESPACE"> <td><code>{{NAMESPACE}}</code> </td> <td>Help </td> <td>Name of the page's namespace (except for main space) </td> <td> </td></tr> <tr id="NAMESPACENUMBER"> <td><code>{{NAMESPACENUMBER}}</code> </td> <td>12 </td> <td><a href="/wiki/Special:MyLanguage/Manual:Namespace#Built-in_namespaces" title="Special:MyLanguage/Manual:Namespace">ID</a> of the page's namespace </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.20</div><small><a href="https://gerrit.wikimedia.org/r/4056" class="extiw" title="gerrit:4056">Gerrit change 4056</a></small></td> </tr></tbody></table> </td></tr> <tr id="SUBJECTSPACE"> <td><code>{{SUBJECTSPACE}}</code> <br/><code>{{ARTICLESPACE}}</code> </td> <td>Help <br/>Help </td> <td>Name of the associated content namespace </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr id="TALKSPACE"> <td><code>{{TALKSPACE}}</code> </td> <td>Help talk </td> <td>Name of the associated talk namespace </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr></tbody></table> <p>The following are equivalents encoded for use in MediaWiki URLs (spaces replaced with underscores and some characters percent-encoded): </p> <ul><li><code>{{NAMESPACEE}}</code></li> <li><code>{{SUBJECTSPACEE}}</code></li> <li><code>{{ARTICLESPACEE}}</code></li> <li><code>{{TALKSPACEE}}</code></li></ul> <p>As of <a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/46630" class="extiw" title="rev:46630">1.15+</a>, these can take a full-page-name parameter and will return the requested namespace associated with that page, instead of with the current page: </p> <ul><li><code>{{NAMESPACENUMBER:MediaWiki}}</code> → <b>0</b></li> <li><code>{{NAMESPACE:MediaWiki}}</code> → <b> <i>(Pages in main space will return empty)</i></b></li> <li><code>{{NAMESPACE:Template:Main Page}}</code> → <b>Template</b></li> <li><code>{{SUBJECTSPACE:Template talk:Main Page}}</code> → <b>Template</b></li> <li><code>{{ARTICLESPACE:Template talk:Main Page}}</code> → <b>Template</b></li> <li><code>{{TALKSPACE:Template:Main Page}}</code> → <b>Template talk</b></li></ul> <p>Parameter must not be a namespace name: </p> <ul><li><code>{{SUBJECTSPACE:Help talk}}</code> → '<b><i> (</i>Empty<i>)</i></b></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Escaped_characters" data-mw-thread-id="h-Escaped_characters"><span data-mw-comment-start="" id="h-Escaped_characters"></span>Escaped characters<span data-mw-comment-end="h-Escaped_characters"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Escaped_characters","replies":[]}}--></div> <p>MediaWiki interprets certain characters as markup separators in certain contexts, notably: </p> <ul><li>template invocations</li> <li>tables</li> <li>function calls.</li></ul> <p>To prevent an immediate interpretation (so that the character can be displayed literally or later interpreted as a separator), <code><a href="/w/index.php?title=Template:Character&amp;action=edit&amp;redlink=1" class="new" title="Template:Character (page does not exist)">Template:Character</a></code> can be used as an escape sequence, but only the following characters (replacements) are supported. This form can be clearer or at least shorter than using the equivalent <code><a href="/wiki/Special:MyLanguage/Help:Advanced_editing#Reformatting_and/or_disabling_wikitext_interpretation" title="Special:MyLanguage/Help:Advanced editing">&lt;nowiki>character&lt;/nowiki></a><span style="display:none"><a href="/wiki/Help:Advanced_editing#Reformatting_and/or_disabling_wikitext_interpretation" title="Help:Advanced editing"> </a></span></code>. </p> <table class="wikitable"> <tbody><tr> <th>Syntax </th> <th>Output </th> <th>Description </th> <th>Versions </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PIPE"></span><span class="anchor" id="Pipe"></span><span class="anchor" id="pipe"></span><span class="anchor" id="|"></span><span class="anchor" id=".7C"></span><span class="anchor" id="!"></span><span class="anchor" id=".21"></span><span class="anchor" id="{{!}}"></span><span class="anchor" id=".7B.7B.21.7D.7D"></span> </td></tr> <tr> <td><code>{{!}}</code> </td> <td style="text-align:center;">| </td> <td> <p>Used to include a <a href="https://en.wikipedia.org/wiki/vertical_bar" class="extiw" title="w:vertical bar">vertical bar</a> (pipe). </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651107"><div role="note" class="note note-warn">For historical/technical reasons, this is not an escape sequence properly speaking. The syntax uses a resembling character, the exclamation mark, instead of the vertical bar.</div> <p>See <a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions#Escaping_pipe_characters_in_tables" title="Special:MyLanguage/Help:Extension:ParserFunctions">Help:Extension:ParserFunctions#Escaping pipe characters in tables</a> for further explanation. </p><p>Before this was added as a magic word, many wikis implemented this by creating <a href="/wiki/Template:!" title="Template:!">Template:!</a> with <code>|</code> as the content. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.24</div><small><a href="https://gerrit.wikimedia.org/r/136234" class="extiw" title="gerrit:136234">Gerrit change 136234</a></small></td> </tr></tbody></table> </td></tr> <tr> <td><code>{{=}}</code> </td> <td style="text-align:center;">= </td> <td> <p>Used to include an equal sign. </p><p>See <a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions#Raw_equal_signs" title="Special:MyLanguage/Help:Extension:ParserFunctions">Help:Extension:ParserFunctions#Raw equal signs</a> for further explanation. </p><p>Before this was added as a magic word, many wikis implemented this by creating <a href="/wiki/Template:%3D" title="Template:=">Template:=</a> with <code>=</code> as the content. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-legacy mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.39</div><small><a href="https://gerrit.wikimedia.org/r/791685" class="extiw" title="gerrit:791685">Gerrit change 791685</a></small></td> </tr></tbody></table> </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Parser_functions" data-mw-thread-id="h-Parser_functions"><span data-mw-comment-start="" id="h-Parser_functions"></span>Parser functions<span data-mw-comment-end="h-Parser_functions"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Parser_functions","replies":["h-Technical_metadata_of_another_page-Parser_functions","h-URL_data-Parser_functions","h-Namespaces_2-Parser_functions","h-Formatting-Parser_functions","h-Localization_2-Parser_functions","h-Transclusion_modifiers-Parser_functions","h-Miscellaneous-Parser_functions"]}}--></div> <p><a href="/wiki/Special:MyLanguage/Parser_functions" title="Special:MyLanguage/Parser functions">Parser functions</a><span style="display:none"><a href="/wiki/Parser_functions" class="mw-disambig" title="Parser functions"> </a></span> are very similar to variables but take one or more parameters (technically, any magic word that takes a parameter is a parser function), and the name is sometimes prefixed with a <a href="https://en.wikipedia.org/wiki/Number_sign" class="extiw" title="w:Number sign">hash</a> to distinguish them from templates. </p><p>This page only describes parser functions that are integral to the MediaWiki software. Other parser functions may be added by MediaWiki extensions such as the <a href="/wiki/Special:MyLanguage/Extension:ParserFunctions" title="Special:MyLanguage/Extension:ParserFunctions">Extension:ParserFunctions</a><span style="display:none"><a href="/wiki/Extension:ParserFunctions" title="Extension:ParserFunctions"> </a></span>. For those see <a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions" title="Special:MyLanguage/Help:Extension:ParserFunctions">Help:Extension:ParserFunctions</a><span style="display:none"><a href="/wiki/Help:Extension:ParserFunctions" title="Help:Extension:ParserFunctions"> </a></span>. </p> <div class="mw-heading mw-heading3"><h3 id="Technical_metadata_of_another_page" data-mw-thread-id="h-Technical_metadata_of_another_page-Parser_functions"><span data-mw-comment-start="" id="h-Technical_metadata_of_another_page-Parser_functions"></span>Technical metadata of another page<span data-mw-comment-end="h-Technical_metadata_of_another_page-Parser_functions"></span></h3></div> <table class="wikitable"> <tbody><tr> <th width="15%">Parser function </th> <th width="10%">Output<br/>(for page <a href="/wiki/MediaWiki" title="MediaWiki">MediaWiki</a>) </th> <th>Description </th> <th width="10%">Versions </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PAGEID:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{PAGEID: <i>page name</i> }}</code> </td> <td>1 </td> <td><b>[Expensive]</b> Returns the page identifier of the specified page*. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PAGESIZE"></span><span class="anchor" id="PAGESIZE:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{PAGESIZE:<i>page name</i>}}</code> <br/><code>{{PAGESIZE: <i>page name</i> |R}}</code> </td> <td>107,602 <br/>107602 </td> <td><b>[Expensive]</b> Returns the byte size of the specified page. Use "<code>|R</code>" to get raw (unformatted) numbers. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.13</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/33551.html">r33551</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PROTECTIONLEVEL:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{PROTECTIONLEVEL:<i>action</i> | <i>page name</i>}}</code> </td> <td>sysop </td> <td><b>[Expensive]</b> Outputs the protection level (e.g. "autoconfirmed", "sysop") for a given action (e.g. "edit", "move") on the specified page. Returns an empty string if not protected. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.21</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/44683.html">r44683</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="PROTECTIONEXPIRY:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{PROTECTIONEXPIRY: <i>action</i> | <i>page name</i>}}</code> </td> <td>infinity </td> <td><b>[Expensive]</b> Outputs the protection expiry (e.g. "20160418155030", "infinity") for a given action (e.g. "edit", "move") on the specified page. Returns "infinity" if not protected. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.27</div><small><a href="https://gerrit.wikimedia.org/r/255717" class="extiw" title="gerrit:255717">Gerrit change 255717</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="CASCADINGSOURCES:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{CASCADINGSOURCES: <i>page name</i>}}</code> </td> <td> </td> <td><b>[Expensive]</b> Returns the sources of any cascading protection acting on the specified page. Pages will not return their own title unless they transclude themselves. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/104999" class="extiw" title="gerrit:104999">Gerrit change 104999</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONID:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONID: <i>page name</i> }}</code> </td> <td>6287429 </td> <td><b>[Expensive]</b> Unique revision ID of the last revision on the specified page*. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONDAY:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONDAY: <i>page name</i> }}</code> </td> <td>29 </td> <td><b>[Expensive]</b> Day of edit from the last revision of the specified page* (unpadded number). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONDAY2:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONDAY2: <i>page name</i> }}</code> </td> <td>29 </td> <td><b>[Expensive]</b> Day of edit from the last revision of the specified page* (zero-padded number). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONMONTH:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONMONTH: <i>page name</i> }}</code> </td> <td>12 </td> <td><b>[Expensive]</b> Month of edit from the last revision of the specified page* (zero-padded number as of <a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/66200" class="extiw" title="rev:66200">1.17+</a>, unpadded number in prior versions). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONMONTH1:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONMONTH1: <i>page name</i> }}</code> </td> <td>12 </td> <td><b>[Expensive]</b> Month of edit from the last revision of the specified page* (unpadded number). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONYEAR:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONYEAR: <i>page name</i> }}</code> </td> <td>2023 </td> <td><b>[Expensive]</b> Year of edit from the last revision of the specified page*. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONTIMESTAMP:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONTIMESTAMP: <i>page name</i> }}</code> </td> <td>20231229181425 </td> <td><b>[Expensive]</b> Timestamp as of time of edit on the specified page*. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="REVISIONUSER:"></span> </td></tr> <tr style="background: #FED;"> <td><code>{{REVISIONUSER: <i>page name</i> }}</code> </td> <td>Tropicalkitty </td> <td><b>[Expensive]</b> The username from the last revision on the specified page*. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.23</div><small><a href="https://gerrit.wikimedia.org/r/76534" class="extiw" title="gerrit:76534">Gerrit change 76534</a></small></td> </tr></tbody></table> </td></tr> <tr> <td colspan="4">*When the given param is equal to the current title of the parser, the parser function will yield the previous versions on preview and on substitution, that includes empty strings when used on page creation but using the values from the viewed version for page view, including viewing old revisions. In this case it is a non-expensive parser function. </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="URL_data" data-mw-thread-id="h-URL_data-Parser_functions"><span data-mw-comment-start="" id="h-URL_data-Parser_functions"></span>URL data<span data-mw-comment-end="h-URL_data-Parser_functions"></span></h3></div> <table class="wikitable"> <tbody><tr> <th scope="col">Parser function </th> <th scope="col">Input → Output </th> <th scope="col">Description </th> <th scope="col">Versions </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="localurl"></span><span class="anchor" id="LOCALURL"></span> </td></tr> <tr> <td><code>{{localurl:<i>page name</i>}}</code> <br/><code>{{localurl:<i>page name</i><br/>|<i>query_string</i>}}</code> </td> <td><code>{{localurl:MediaWiki}}</code><br/>→ /wiki/MediaWiki <br/><code>{{localurl:MediaWiki|printable=yes}}</code><br/>→ /w/index.php?title=MediaWiki&amp;printable=yes </td> <td>The relative path to the title. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="fullurl"></span><span class="anchor" id="FULLURL"></span> </td></tr> <tr> <td><code>{{fullurl:<i>page name</i>}}</code> <br/><code>{{fullurl:<i>page name</i><br/>|<i>query_string</i>}}</code> <br/><code>{{fullurl:<i>interwiki:remote page name</i><br/>|<i>query_string</i>}}</code> </td> <td><code>{{fullurl:Category:Top level}}</code><br/>→ //www.mediawiki.org/wiki/Category:Top_level <br/> <p><code>{{fullurl:Category:Top level|action=edit}}</code><br/>→ //www.mediawiki.org/w/index.php?title=Category:Top_level&amp;action=edit<br/> <code>{{fullurl:s:Electra|action=edit}}</code><br/>→ <a class="external free" href="https://en.wikisource.org/wiki/Electra?action=edit">https://en.wikisource.org/wiki/Electra?action=edit</a><br/> <code>{{fullurl:s:es:Electra|action=edit}}</code><br/>→ <a class="external free" href="https://en.wikisource.org/wiki/es:Electra?action=edit">https://en.wikisource.org/wiki/es:Electra?action=edit</a> </p> </td> <td>A protocol-relative path to the title, which depends on the <a href="/wiki/Special:MyLanguage/Manual:$wgServer" title="Special:MyLanguage/Manual:$wgServer">$wgServer</a><span style="display:none"><a href="/wiki/Manual:$wgServer" title="Manual:$wgServer"> </a></span> configuration setting for the local wiki (and so may or may not start with <code>http(s)://</code>). This will also resolve <a href="/wiki/Special:MyLanguage/Manual:Interwiki" title="Special:MyLanguage/Manual:Interwiki">interwiki</a> prefixes. <b>Note:</b> Unbracketed (plain) protocol-relative links are not automagically linked. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="canonicalurl"></span><span class="anchor" id="CANONICALURL"></span> </td></tr> <tr> <td><code>{{canonicalurl:<i>page name</i>}}</code> <br/><code>{{canonicalurl:<i>page name</i><br/>|<i>query_string</i>}}</code> <br/><code>{{canonicalurl:<i>interwiki:remote page name</i><br/>|<i>query_string</i>}}</code> </td> <td><code>{{canonicalurl:Category:Top level}}</code><br/>→ <a class="external free" href="https://www.mediawiki.org/wiki/Category:Top_level">https://www.mediawiki.org/wiki/Category:Top_level</a> <br/> <p><code>{{canonicalurl:Category:Top level|action=edit}}</code><br/>→ <a class="external free" href="https://www.mediawiki.org/w/index.php?title=Category:Top_level&amp;action=edit">https://www.mediawiki.org/w/index.php?title=Category:Top_level&amp;action=edit</a> <code>{{canonicalurl:w:Category:Top level|action=edit}}</code><br/>→ <a class="external free" href="https://en.wikipedia.org/wiki/Category:Top_level?action=edit">https://en.wikipedia.org/wiki/Category:Top_level?action=edit</a> </p> </td> <td>The absolute path to the title, using the canonical URL. This will also resolve <a href="/wiki/Special:MyLanguage/Manual:Interwiki" title="Special:MyLanguage/Manual:Interwiki">interwiki</a> prefixes. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.18</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="filepath"></span><span class="anchor" id="FILEPATH"></span> </td></tr> <tr> <td><code>{{filepath:<i>file name</i>}}</code> <br/><code>{{filepath:<i>file name</i>|nowiki}}</code> <br/><code>{{filepath:<i>file name</i>|<i>thumbnail_size</i>}}</code> </td> <td><code>{{filepath:Wiki.png}}</code><br/>→ //upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png <br/> <p><code>{{filepath:Wiki.png|nowiki}}</code><br/>→ //upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png <br/> <code>{{filepath:Example.svg|300}}</code><br/>→ //upload.wikimedia.org/wikipedia/commons/thumb/8/84/Example.svg/300px-Example.svg.png <br/><br/> The parameter <code>nowiki</code> usually removes the link around the filepath (which can't be seen in this example). </p> </td> <td>A protocol-relative path to the full size or thumbnail (<a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/80813" class="extiw" title="rev:80813">1.18+</a>) of a media file. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.12</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/25854.html">r25854</a></span></small></td> </tr></tbody></table> <br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.18</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/80813.html">r80813</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="urlencode"></span><span class="anchor" id="URLENCODE"></span> </td></tr> <tr> <td><code>{{urlencode:<i>string</i>}}</code> or <br/><code>{{urlencode:<i>string</i>|QUERY}}</code> <br/><code>{{urlencode:<i>string</i>|WIKI}}</code> <br/><code>{{urlencode:<i>string</i>|PATH}}</code> </td> <td><code>{{urlencode:x:y/z á é}}</code> or <br/><code>{{urlencode:x:y/z á é|QUERY}}</code><br/>→ x%3Ay%2Fz+%C3%A1+%C3%A9 <br/><code>{{urlencode:x:y/z á é|WIKI}}</code><br/>→ x:y/z_%C3%A1_%C3%A9 <br/><code>{{urlencode:x:y/z á é|PATH}}</code><br/>→ x%3Ay%2Fz%20%C3%A1%20%C3%A9 <p>Note that the default changed from <code>|WIKI</code> to <code>|QUERY</code> in 1.17; this may break templates that rely on this function. </p> </td> <td>The input encoded for use in URLs. Note that there is no urldecode function like there is in the obsolete <a href="/wiki/Special:MyLanguage/Extension:StringFunctions" title="Special:MyLanguage/Extension:StringFunctions">Extension:StringFunctions</a><span style="display:none"><a href="/wiki/Extension:StringFunctions" class="mw-redirect" title="Extension:StringFunctions"> </a></span><br/><table class="wikitable"><caption>Encoding</caption><tbody><tr><th>code</th><th>space</th></tr><tr><td> <i>none</i></td><td><samp> + </samp></td></tr><tr><td><kbd>QUERY</kbd></td><td><samp> + </samp></td></tr><tr><td><kbd> WIKI</kbd></td><td><samp> _ </samp></td></tr><tr><td><kbd> PATH</kbd></td><td><samp>%20</samp></td></tr></tbody></table> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/14273.html">r14273</a></span></small></td> </tr></tbody></table> (or <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.17</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/64726.html">r64726</a></span></small></td> </tr></tbody></table> <br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.17</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/64726.html">r64726</a></span></small></td> </tr></tbody></table> <br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.17</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/64726.html">r64726</a></span></small></td> </tr></tbody></table>) </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="anchorencode"></span><span class="anchor" id="ANCHORENCODE"></span> </td></tr> <tr> <td><code>{{anchorencode:<i>string</i>}}</code> </td> <td><code>{{anchorencode:x y z á é}}</code><br/>→ x_y_z_á_é </td> <td>The input encoded for use in URL section anchors (after the “#” symbol in a URL). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.6</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/16279.html">r16279</a></span></small></td> </tr></tbody></table> </td></tr></tbody></table> <p>The following are equivalents encoded for use in MediaWiki URLs (some characters percent-encoded): </p> <ul><li><code>{{localurle:<i>page name</i>}}</code></li> <li><code>{{localurle:<i>page name</i>|<i>query_string</i>}}</code></li></ul> <ul><li><code>{{fullurle:<i>page name</i>}}</code></li> <li><code>{{fullurle:<i>page name</i>|<i>query_string</i>}}</code></li> <li><code>{{fullurle:<i>interwiki:remote page name</i>|<i>query_string</i>}}</code></li></ul> <ul><li><code>{{canonicalurle:<i>page name</i>}}</code></li> <li><code>{{canonicalurle:<i>page name</i>|<i>query_string</i>}}</code></li> <li><code>{{canonicalurle:<i>interwiki:remote page name</i>|<i>query_string</i>}}</code></li></ul> <p><span class="anchor" id="ns"></span><span class="anchor" id="Namespaces_2"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Namespaces_2" data-mw-thread-id="h-Namespaces_2-Parser_functions"><span data-mw-comment-start="" id="h-Namespaces_2-Parser_functions"></span>Namespaces<span data-mw-comment-end="h-Namespaces_2-Parser_functions"></span></h3></div> <p><code>{{ns:}}</code> returns the current localized name for the <a href="/wiki/Special:MyLanguage/Help:Namespace" title="Special:MyLanguage/Help:Namespace">namespace</a> with that index, canonical name, or local alias. Thus <code>{{ns:6}}</code>, <code>{{ns:File}}</code>, and <code>{{ns:Image}}</code> (an old name for the File namespace) all return "File". On a wiki where the content language is French, <code>{{ns:Fichier}}</code> is also valid, but <code>{{ns:Datei}}</code> (the localisation of "File" in German) is not. </p><p>The main namespace has no name, i.e. <code>{{ns:0}}</code> returns an empty string. For explicitly referring to the main namespace, <code>{{int:<a href="https://translatewiki.net/wiki/MediaWiki:Blanknamespace/qqq" class="extiw" title="translatewiki:MediaWiki:Blanknamespace/qqq">Blanknamespace</a>}}</code> can be used, resulting in "(Main)". </p><p><code>{{nse:}}</code> is the equivalent encoded for MediaWiki URLs. It does the same, but it replaces spaces with underscores, making it usable in external links. </p> <table class="wikitable"> <tbody><tr> <th colspan="2" width="50%">Content namespaces </th> <th rowspan="11"> </th> <th colspan="2" width="%50%&quot;">Talk namespaces </th></tr> <tr> <th>Usage </th> <th>Output </th> <th>Usage </th> <th>Output </th></tr> <tr> <td><code>{{ns:-2}}</code> / <code>{{ns:Media}}</code> </td> <td>Media </td> <td><code>{{ns:-1}}</code> / <code>{{ns:Special}}</code> </td> <td>Special<br/><i>(no <b>talk</b> page)</i> </td></tr> <tr> <td><code>{{ns:0}}</code> / <code>{{ns:}}</code> </td> <td> </td> <td><code>{{ns:1}}</code> / <code>{{ns:Talk}}</code> </td> <td>Talk </td></tr> <tr> <td><code>{{ns:2}}</code> / <code>{{ns:User}}</code> </td> <td>User </td> <td><code>{{ns:3}}</code> / <code>{{ns:User talk}}</code> </td> <td>User talk </td></tr> <tr> <td><code>{{ns:4}}</code> / <code>{{ns:Project}}</code> </td> <td>Project <br/><i>Varies between wikis</i> </td> <td><code>{{ns:5}}</code> / <code>{{ns:Project talk}}</code> </td> <td>Project talk </td></tr> <tr> <td><code>{{ns:6}}</code> / <code>{{ns:File}}</code> or <code>{{ns:Image}}</code> </td> <td>File </td> <td><code>{{ns:7}}</code> / <code>{{ns:File talk}}</code> or <code>{{ns:Image talk}}</code> </td> <td>File talk </td></tr> <tr> <td><code>{{ns:8}}</code> / <code>{{ns:MediaWiki}}</code> </td> <td>MediaWiki </td> <td><code>{{ns:9}}</code> / <code>{{ns:MediaWiki talk}}</code> </td> <td>MediaWiki talk </td></tr> <tr> <td><code>{{ns:10}}</code> / <code>{{ns:Template}}</code> </td> <td>Template </td> <td><code>{{ns:11}}</code> / <code>{{ns:Template talk}}</code> </td> <td>Template talk </td></tr> <tr> <td><code>{{ns:12}}</code> / <code>{{ns:Help}}</code> </td> <td>Help </td> <td><code>{{ns:13}}</code> / <code>{{ns:Help talk}}</code> </td> <td>Help talk </td></tr> <tr> <td><code>{{ns:14}}</code> / <code>{{ns:Category}}</code> </td> <td>Category </td> <td><code>{{ns:15}}</code> / <code>{{ns:Category talk}}</code> </td> <td>Category talk </td></tr></tbody></table> <p>Don't confuse localised namespaces with <a href="/wiki/Special:MyLanguage/Manual:Using_custom_namespaces" title="Special:MyLanguage/Manual:Using custom namespaces">custom namespaces</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Formatting" data-mw-thread-id="h-Formatting-Parser_functions"><span data-mw-comment-start="" id="h-Formatting-Parser_functions"></span>Formatting<span data-mw-comment-end="h-Formatting-Parser_functions"></span></h3></div> <table class="wikitable"> <tbody><tr> <th>Usage </th> <th>Input → Output </th> <th>Description </th> <th>Version </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="formatnum"></span> </td></tr> <tr> <td> <p><code>{{formatnum:<i>unformatted number</i>}}</code> <br/> <code>{{formatnum:<i>formatnum-formatted number</i>|R}}</code> <br/> <code>{{formatnum:<i>unformatted number</i>|NOSEP}}</code> </p> </td> <td> <ul><li>Simple: <ul><li><code>{{formatnum:987654321.654321}}</code> <br/> → 987,654,321.654321</li> <li><code>{{formatnum:987,654,321.654321|R}}</code> <br/> → 987654321.654321</li></ul></li> <li>Advanced: <ul><li><code>{{formatnum:{{formatnum:987654321.654321}}|R}}</code> <br/> → 987654321.654321 (on any locale)</li> <li><code>{{formatnum:00001}}</code> <br/> → 00,001</li> <li><code>{{formatnum:987654321.654321 |NOSEP}}</code> <br/> → 987654321.654321</li> <li>Examples with <a href="https://en.wikipedia.org/wiki/Bengali_numerals" class="extiw" title="w:Bengali numerals">Bangla locale</a>: <ul><li><code>{{formatnum:987654321.654321}}</code> <br/> → ৯৮,৭৬,৫৪,৩২১.৬৫৪৩২১</li> <li><code>{{formatnum:987654321.654321 |NOSEP}}</code> <br/> → ৯৮৭৬৫৪৩২১.৬৫৪৩২১</li> <li><code>{{formatnum:৯৮,৭৬,৫৪,৩২১.৬৫৪৩২১ |R}}</code> <br/> → 987654321.654321</li></ul></li></ul></li></ul> <hr/> <p>Unsupported: <br/> <code>{{formatnum:{{formatnum:987.654.321}}}}</code> <br/> → 987 654 321 (e.g. with Italian locale) </p> <hr/> <p>Examples of wrong input (unreliable output), with or without <code>|R</code>: <br/> <code>{{formatnum:987,654.321|R}}</code> (the least broken) <br/> <code>{{formatnum:987.654,321|R}}</code> <br/> <code>{{formatnum:987 654,321|R}}</code> <br/> <code>{{formatnum:987&amp;nbsp;654,321|R}}</code> </p> </td> <td>Takes an unformatted number (<a href="https://en.wikipedia.org/wiki/Arabic_numerals" class="extiw" title="w:Arabic numerals">Arabic</a>, no group separators and <code>.</code> as decimal separator) and outputs it in the localized digit script and formatted with decimal and decimal group separators, according to the page language.<br/> <p>The <code>|R</code> parameter can be used to reverse the behavior, for use in mathematical situations: it's reliable and should be used only to deformat numbers which are known to be formatted exactly as formatnum formats them with the wiki's locale.<br/> The <code>NOSEP</code> ("no separators") parameter means that no group / decimal separators are changed; formatnum will only transform the digits themselves in languages which don't use the <a href="https://en.wikipedia.org/wiki/Hindu%E2%80%93Arabic_numeral_system" class="extiw" title="w:Hindu–Arabic numeral system">Hindu–Arabic numeral system</a>. <code>NOSEP</code> can also prevent non-standard digit groupings you wouldn't expect. </p> <table class="warning-message" style="background-color: var( --background-color-error-subtle, #ffe9e5 ); color: var( --color-base, #202122 ); border: 1px var( --border-color-error, #9f3526 ) solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tbody><tr><td style="white-space: nowrap; vertical-align: top;"><span style="position: relative; top: -2px;"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/18px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/27px-OOjs_UI_icon_notice-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/36px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></span> <b>Warning:</b> </td><td style="padding-left: 0.5em vertical-align: top;">Leading zeroes are not removed, you can use {{#expr:00001}} instead if you have <a href="/wiki/Special:MyLanguage/Extension:ParserFunctions" title="Special:MyLanguage/Extension:ParserFunctions">Extension:ParserFunctions</a><span style="display:none"><a href="/wiki/Extension:ParserFunctions" title="Extension:ParserFunctions"> </a></span> installed.</td></tr></tbody></table><br/> <table class="warning-message" style="background-color: var( --background-color-error-subtle, #ffe9e5 ); color: var( --color-base, #202122 ); border: 1px var( --border-color-error, #9f3526 ) solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tbody><tr><td style="white-space: nowrap; vertical-align: top;"><span style="position: relative; top: -2px;"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/18px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/27px-OOjs_UI_icon_notice-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/36px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></span> <b>Warning:</b> </td><td style="padding-left: 0.5em vertical-align: top;">If you don't input numbers in the exact format required, don't expect any reliable output, especially on non-English wikis.</td></tr></tbody></table><br/> <hr/> <p>If you really need to format (according the wiki's locale) a number in unknown input format, you could try and use <code>formatnum</code> two times (but not if it can have a decimal group, or its separator will be eaten or the number won't be formatted). Be aware that this is more a hack than a regular way to proceed, thus the output may be not reliable. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table><br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.13</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/32012.html">r32012</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="dateformat"></span><span class="anchor" id="formatdate"></span><span class="anchor" id="#dateformat"></span><span class="anchor" id="#formatdate"></span><span class="anchor" id=".23dateformat"></span><span class="anchor" id=".23formatdate"></span> </td></tr> <tr> <td> <p><code>{{#dateformat:<i>date</i>}}</code><br/> <code>{{#formatdate:<i>date</i>}}</code><br/> <code>{{#dateformat:<i>date</i>|<i>format</i>}}</code><br/> <code>{{#formatdate:<i>date</i>|<i>format</i>}}</code> </p> </td> <td> <p><code>{{#dateformat:25 dec 2009|ymd}}</code> <br/> → <span class="mw-formatted-date" title="2009-12-25">2009 December 25</span> (your pref), 2009 December 25 (default) <br/> <code>{{#formatdate:dec 25,2009|dmy}}</code> <br/> → <span class="mw-formatted-date" title="2009-12-25">25 December 2009</span> (your pref), 25 December 2009 (default) <br/> <code>{{#dateformat:2009-12-25|mdy}}</code> <br/> → <span class="mw-formatted-date" title="2009-12-25">December 25, 2009</span> (your pref), December 25, 2009 (default) <br/> <code>{{#formatdate:2009 dec 25|ISO 8601}}</code> <br/> → <span class="mw-formatted-date" title="2009-12-25">2009-12-25</span> (your pref), 2009-12-25 (default) <br/> <code>{{#dateformat:25 decEmber|mdy}}</code> <br/> → <span class="mw-formatted-date" title="12-25">December 25</span> (your pref), December 25 (default) <br/> <i>Note:</i> In the examples above, "your pref" refers to your date preference on the current MediaWiki wiki only. </p> </td> <td>Formats an unlinked date based on user "date format" preference, and adds metadata tagging it as a formatted date. For logged-out users and those who have not set a date format in their preferences, dates can be given a default: <code>mdy</code>, <code>dmy</code>, <code>ymd</code>, <code>ISO 8601</code> (all case sensitive). If only the month and day are given, only <code>mdy</code> and <code>dmy</code> are valid. If a format is not specified or is invalid, the input format is used as a default. If the supplied date is not recognized as a valid date (specifically, if it contains any metadata such as from a nested use of these or similar templates), it is rendered unchanged, and no (additional) metadata is generated. <table class="warning-message" style="background-color: var( --background-color-error-subtle, #ffe9e5 ); color: var( --color-base, #202122 ); border: 1px var( --border-color-error, #9f3526 ) solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tbody><tr><td style="white-space: nowrap; vertical-align: top;"><span style="position: relative; top: -2px;"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/18px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/27px-OOjs_UI_icon_notice-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/36px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></span> <b>Warning:</b> </td><td style="padding-left: 0.5em vertical-align: top;">Although the ISO 8601 standard requires that dates be in the Gregorian calendar, the ISO parameter in this function will still format dates that fall outside the usual Gregorian range (e.g. dates prior to 1583). Also, the magic word cannot properly convert between negative years (used with ISO 8601) and years BC or years BCE (used in general writing).</td></tr></tbody></table> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/48249.html">r48249</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="lc"></span><span class="anchor" id="Lc"></span><span class="anchor" id="LC"></span> </td></tr> <tr> <td> <p><code>{{lc:<i>string</i>}}</code> </p> </td> <td><code>{{lc:DATA CENTER}}</code> → data center </td> <td>The lowercase input. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="lcfirst"></span><span class="anchor" id="Lcfirst"></span><span class="anchor" id="LCFIRST"></span> </td></tr> <tr> <td> <p><code>{{lcfirst:<i>string</i>}}</code> </p> </td> <td><code>{{lcfirst:DATA center}}</code> → dATA center </td> <td>The input with the <u>very first</u> character lowercase. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="uc"></span><span class="anchor" id="Uc"></span><span class="anchor" id="UC"></span> </td></tr> <tr> <td> <p><code>{{uc:<i>string</i>}}</code> </p> </td> <td><code>{{uc:text transform}}</code> → TEXT TRANSFORM </td> <td>The uppercase input. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="ucfirst"></span><span class="anchor" id="Ucfirst"></span><span class="anchor" id="UCFIRST"></span> </td></tr> <tr> <td> <p><code>{{ucfirst:<i>string</i>}}</code> </p> </td> <td><code>{{ucfirst:text tRAnSFORM}}</code> → Text tRAnSFORM </td> <td>The input with the <u>very first</u> character uppercase. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.5</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="padleft"></span> </td></tr> <tr> <td> <p><code>{{padleft:xyz|<i>stringlength</i>}}</code> <br/> <code>{{padleft:xyz|<i>strlen</i>|<i>char</i>}}</code> <br/> <code>{{padleft:xyz|<i>strlen</i>|<i>string</i>}}</code> </p> </td> <td><code>{{padleft:xyz|5}}</code> → 00xyz <br/> <p><code>{{padleft:xyz|5|_}}</code> → __xyz <br/> <code>{{padleft:xyz|5|abc}}</code> → abxyz<br/> <code>{{padleft:xyz|2}}</code> → xyz <br/> <code>{{padleft:|1|xyz}}</code> → x (first character of the string) <br/> </p> </td> <td>Inserts a string of padding characters (character chosen in third parameter; default "0") of a specified length (second parameter) next to a chosen base character or variable (first parameter). The final digits or characters in the base replace the final characters in the padding; i.e. <code>{{padleft:44|3|0}}</code> produces 044. The padding string may be truncated if its length does not evenly divide the required number of characters. <p>Only the first character of the third parameter is used in versions up to 1.12, but by version 1.15, all the characters are used. </p><p><b><a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=16852" class="extiw" title="bugzilla:16852">Bug</a> (fixed in <a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/45734" class="extiw" title="rev:45734">r45734</a>):</b> multibyte characters are interpreted as two characters, which can skew width. These also cannot be used as padding characters. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.8</div></td> </tr></tbody></table><br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/45734.html">r45734</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="padright"></span> </td></tr> <tr> <td> <p><code>{{padright:xyz|<i>stringlength</i>}}</code> <br/><code>{{padright:xyz|<i>strlen</i>|<i>char</i>}}</code> <br/><code>{{padright:xyz|<i>strlen</i>|<i>string</i>}}</code> </p> </td> <td><code>{{padright:xyz|5}}</code> → xyz00 <br/> <p><code>{{padright:xyz|5|_}}</code> → xyz__ <br/> <code>{{padright:xyz|5|abc}}</code> → xyzab <br/> <code>{{padright:xyz|2}}</code> → xyz <br/> <code>{{padright:|1|xyz}}</code> → x <br/> </p> </td> <td>Identical to <code>padleft</code> but adds padding characters to the right side. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.8</div></td> </tr></tbody></table><br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/45734.html">r45734</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="bidi"></span> </td></tr> <tr> <td> <p><code>{{bidi:<i>string</i>}}</code> </p> </td> <td><code>{{bidi:text transform}}</code> → ‪text transform‬ <br/> <p><code>{{bidi:كتابة عربية}}</code> → ‫كتابة عربية‬ </p> </td> <td>Wraps the text in a script-appropriate directionality marker (either left-to-right (U+202A) or right-to-left (U+202B)) and a pop directionality formatting character (U+202C), to ensure directionality safety when using a mix of scripts in running text. </td> <td> </td></tr></tbody></table> <p><b>See also:</b> <a href="/wiki/Special:MyLanguage/Extension:StringFunctions" title="Special:MyLanguage/Extension:StringFunctions">Extension:StringFunctions</a><span style="display:none"><a href="/wiki/Extension:StringFunctions" class="mw-redirect" title="Extension:StringFunctions"> </a></span>. </p><p><span class="anchor" id="Localisation"></span> </p> <div class="mw-heading mw-heading3"><h3 id="Localization_2" data-mw-thread-id="h-Localization_2-Parser_functions"><span data-mw-comment-start="" id="h-Localization_2-Parser_functions"></span>Localization<span data-mw-comment-end="h-Localization_2-Parser_functions"></span></h3></div> <p>Here are the magic words which are used as main localisation tools. Other magic words will often depend on the wiki's locale and configuration or on the chosen language: see in particular <a href="#Date_and_time">#Date and time</a>, and <a href="#Formatting">#Formatting</a>. More magic words are added by the <a href="/wiki/Special:MyLanguage/Extension:Translate" title="Special:MyLanguage/Extension:Translate">Extension:Translate</a><span style="display:none"><a href="/wiki/Extension:Translate" title="Extension:Translate"> </a></span>. </p><p>The usage of these magic words can be very complex, and the documentation is currently incomplete; there's some more info on <a href="https://translatewiki.net/wiki/Special:MyLanguage/FAQ#PLURAL" class="extiw" title="translatewiki:Special:MyLanguage/FAQ">PLURAL</a>, <a href="https://translatewiki.net/wiki/Special:MyLanguage/Grammar" class="extiw" title="translatewiki:Special:MyLanguage/Grammar">GRAMMAR</a>, <a href="https://translatewiki.net/wiki/Special:MyLanguage/Gender" class="extiw" title="translatewiki:Special:MyLanguage/Gender">GENDER</a>. </p> <table class="wikitable"> <tbody><tr> <th width="10%">Usage </th> <th width="40%">Input → Output </th> <th>Description </th> <th width="10%">Version </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="language"></span><span class="anchor" id="#language"></span><span class="anchor" id=".23language"></span> </td></tr> <tr> <td><code>{{#language}}</code><br/><code>{{#language:<i>language code</i>}}</code><br/><code>{{#language:<i>language code</i>|<i>target language code</i>}}</code> </td> <td><code>{{#language:ar}}</code> → العربية <br/><code>{{#language:ar|en}}</code> → Arabic </td> <td>The full name of the language for the given <a href="/wiki/Special:MyLanguage/Manual:Language#Language_code" title="Special:MyLanguage/Manual:Language">language code</a>: native name (language autonym) by default, name translated in target language if a target language code is specified. <a href="/wiki/Special:MyLanguage/Extension:CLDR" title="Special:MyLanguage/Extension:CLDR">Extension:CLDR</a><span style="display:none"><a href="/wiki/Extension:CLDR" title="Extension:CLDR"> </a></span> must be installed for the translation to work. If no argument is given, returns the name of the <i>target language</i> (for articles, the content language; for messages, the user language). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/14490.html">r14490</a></span></small></td> </tr></tbody></table><br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.18</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/91875.html">r91875</a></span></small></td> </tr></tbody></table> (translation)<br/><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-future"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.43</div><small><a href="https://gerrit.wikimedia.org/r/1038880" class="extiw" title="gerrit:1038880">Gerrit change 1038880</a></small></td> </tr></tbody></table> (with no argument) </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="bcp47"></span> </td></tr> <tr> <td><code>{{#bcp47}}</code><br/><code>{{#bcp47:<i>language code</i>}}</code> </td> <td><code>{{#bcp47:sr-ec}}</code> → sr-Cyrl<br/><code>{{#bcp47:zh-yue}}</code> → yue </td> <td>The <a href="https://en.wikipedia.org/wiki/IETF_language_tag" class="extiw" title="w:IETF language tag">IETF BCP-47</a> language tag for the given <a href="/wiki/Special:MyLanguage/Manual:Language#Language_code" title="Special:MyLanguage/Manual:Language">language code</a><span style="display:none"><a href="/wiki/Manual:Language#Language_code" title="Manual:Language"> </a></span>. If no argument is given, returns the tag of the <i>target language</i> (for articles, the content language; for messages, the user language). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-future"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.43</div><small><a href="https://gerrit.wikimedia.org/r/1038879" class="extiw" title="gerrit:1038879">Gerrit change 1038879</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="dir"></span> </td></tr> <tr> <td><code>{{#dir}}</code><br/><code>{{#dir:<i>language code</i>}}</code><br/><code>{{#dir:<i>language code</i>|bcp47}}</code> </td> <td><code>{{#dir:en}}</code> → ltr<br/><code>{{#dir:he}}</code> → rtl<br/><code>{{#dir:sr-Cyrl|bcp47}}</code> → ltr </td> <td>The directionality for the given <a href="/wiki/Special:MyLanguage/Manual:Language#Language_code" title="Special:MyLanguage/Manual:Language">language code</a><span style="display:none"><a href="/wiki/Manual:Language#Language_code" title="Manual:Language"> </a></span>, either <code>rtl</code> or <code>ltr</code>. If the optional second argument is <code>bcp47</code>, then the first argument is interpreted as a <a href="https://en.wikipedia.org/wiki/IETF_language_tag" class="extiw" title="w:IETF language tag">BCP-47 language tag</a>. If no argument is given, returns the directionality of the <i>target language</i> (for articles, the content language; for messages, the user language). </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-future"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.43</div><small><a href="https://gerrit.wikimedia.org/r/1032542" class="extiw" title="gerrit:1032542">Gerrit change 1032542</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="plural"></span><span class="anchor" id="Plural"></span><span class="anchor" id="PLURAL"></span> </td></tr> <tr> <td><code>{{PLURAL:2|<i>is</i>|<i>are</i>}}</code> </td> <td><code>{{PLURAL:0|is|are}}</code> → are<br/><code>{{PLURAL:1*1|is|are}}</code> → is<br/><code>{{PLURAL:21 mod 10|is|are}}</code> → are<br/><code>{{PLURAL:{{#expr:21 mod 10}}|is|are}}</code> → is<br/><code>{{PLURAL:1|is|are}}</code> → is<br/><code>{{PLURAL:2|is|are}}</code> → are<br/><code>{{PLURAL:-1|is|are}}</code> → is<br/><code>{{PLURAL:-2|is|are}}</code> → are<br/><code>{{PLURAL:0.5|is|are}}</code> → are<br/><code>{{PLURAL:1.5|is|are}}</code> → are<br/><code>{{PLURAL:-0.5|is|are}}</code> → are<br/><code>{{PLURAL:-1.5|is|are}}</code> → are<br/> (For <a href="https://en.wikipedia.org/wiki/Russian_language" class="extiw" title="w:Russian language">Russian</a>)<br/><code>{{PLURAL:5|1=Категория|Категории}}</code> → Категории <p><br/><code>{{PLURAL:3|страница|страницы|страниц}}</code> → страницы<br/><code>{{PLURAL:5|страница|страницы|страниц}}</code> → страниц </p> </td> <td>Outputs a plural form appropriate for the given language. For English, the singular form (second parameter) is used if the absolute value of the first parameter is an expression equalling one; and the the plural form (third parameter) is used otherwise. See further documentation <a rel="nofollow" class="external text" href="https://translatewiki.net/wiki/Plural#Plural_in_MediaWiki">on translatewiki.net</a> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651107"><div role="note" class="note note-info">Some language codes (ab, av, ba, bxr, ce, crh_cyrl, cv, inh, koi, krc, kv, lbe, lez, mhr, mrj, myv, ru, sl, tt_cyrl, tyv, udm, xal) used 3 plural forms (<a href="https://translatewiki.net/wiki/Thread:Portal_talk:Ru/Plural_changes_in_many_languages" class="extiw" title="betawiki:Thread:Portal talk:Ru/Plural changes in many languages">updated 01.2014</a>): <ul><li>Form 1: 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …</li> <li>Form 2: 0, 5, 6, 7, 8, …, 18, 19, 100, 1000, 10000, 100000, 1000000, …</li> <li>Form 3: 2, 3, 4, 22, 23, 24, 32, 33, 34, 42, 43, 44, 52, 53, 54, 62, 102, 1002, …</li></ul></div> </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="grammar"></span><span class="anchor" id="Grammar"></span><span class="anchor" id="GRAMMAR"></span> </td></tr> <tr> <td><code>{{GRAMMAR:N|<i>noun</i>}}</code> </td> <td> </td> <td>Outputs the correct inflected form of the given word described by the inflection code after the colon. Grammar transformations are used for inflected languages like Polish. See also <a href="/wiki/Special:MyLanguage/Manual:$wgGrammarForms" title="Special:MyLanguage/Manual:$wgGrammarForms">$wgGrammarForms</a><span style="display:none"><a href="/wiki/Manual:$wgGrammarForms" title="Manual:$wgGrammarForms"> </a></span>, and <a rel="nofollow" class="external text" href="https://translatewiki.net/wiki/Grammar">grammar documentation on translatewiki.net</a>. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.7</div></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="gender"></span><span class="anchor" id="Gender"></span><span class="anchor" id="GENDER"></span> </td></tr> <tr> <td><code>{{GENDER:username|text for every gender}}</code><br/> <p><code>{{GENDER:Username|male text|female text|text for unspecified}}</code><br/> <code>{{GENDER:|male text|female text|text for unspecified}}</code><br/> <code>{{GENDER:.|male text|female text|text for unspecified}}</code><br/> </p> </td> <td><i>(Depends on the named user's gender)</i> </td> <td>A switch for the gender set in <a href="/wiki/Special:Preferences" title="Special:Preferences">Special:Preferences</a>. <br/> <p><i>Note:</i> The first example is basically a no-op<br/> <i>Note:</i> If 3rd parameter is omitted and user hasn't defined their gender, then <code><i>text if user is male</i></code> is returned.<br/>A blank username field ({{GENDER:|) means the current user, but can be used only in interface messages (MediaWiki namespace).<br/> A dot username (.) means the default user gender on this wiki. </p> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.15</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/46247.html">r46247</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="int"></span><span class="anchor" id="Int"></span><span class="anchor" id="INT"></span> </td></tr> <tr> <td><code>{{int:<i>message name</i>}}</code> </td> <td><code>{{int:edit}}</code> → <b>Edit</b> <br/><small><i>(Depends on user language; try: <a class="external text" href="https://www.mediawiki.org/w/index.php?title=Help:Magic_words&amp;uselang=fr#Localisation">fr</a> • <a class="external text" href="https://www.mediawiki.org/w/index.php?title=Help:Magic_words&amp;uselang=ja#Localisation">ja</a>)</i></small> </td> <td>Internationalizes (translates) the given <b>int</b>erface (MediaWiki namespace) message into the user language. For <code>msgnw</code> and other transclusion magic words, see the <a href="#Transclusion_modifiers">Transclusion modifiers</a> section. <p><i>Note that this can damage / confuse cache consistency in MediaWiki 1.17 and earlier, see <a href="https://phabricator.wikimedia.org/T16404" class="extiw" title="phab:T16404">T16404</a>.</i> </p> </td> <td> </td></tr> <tr> <td><code>{{int:editsectionhint|MediaWiki}}</code> </td> <td><code>{{int:editsectionhint|MediaWiki}}</code> → <b>Edit section: MediaWiki</b> </td> <td>You may also use parameters with translations. <br/>Parameters are designated in messages with: $1, $2, $3, etc. <br/>For example, here is the message for <i>editsectionhint</i>: Edit section: $1 <br/>In this example, MediaWiki replaces $1. </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="Transclusion_modifiers" data-mw-thread-id="h-Transclusion_modifiers-Parser_functions"><span data-mw-comment-start="" id="h-Transclusion_modifiers-Parser_functions"></span>Transclusion modifiers<span data-mw-comment-end="h-Transclusion_modifiers-Parser_functions"></span></h3></div> <p><code>{{<i>Page name</i>|<i>optional params</i>}}</code> usually transcludes another page, by default from the Template:namespace. These magic words modify that behavior. </p> <table class="wikitable plainlinks"> <tbody><tr> <th width="15%">Usage </th> <th>Description </th> <th width="10%">Version </th></tr> <tr> <td><code>{{:xyz}}</code> </td> <td>A bare colon is not a template modifier but the prefix for the main namespace. Since transclusion defaults to the Template namespace, you would use for example, {{:UTC}} (vs. {{UTC}}) to include the text of the main namespace article UTC rather than Template:UTC. </td> <td> </td></tr> <tr> <td><code>{{int:xyz}}</code> </td> <td>Same as {{MediaWiki:xyz}}, except standard message translation is applied depending on subpages and content/user/uselang language. Another difference is: this doesn't appear under "Templates used on this page:". Rendered as ⧼xyz⧽ if <style data-mw-deduplicate="TemplateStyles:r4730319">.mw-parser-output span.redlink>a:link{color:#BA0000}.mw-parser-output span.redlink>a:visited{color:#A55858}</style><span class="plainlinks redlink"><a class="external text" href="https://www.mediawiki.org/w/index.php?title=MediaWiki:Xyz&amp;redlink=1"><span title="MediaWiki:Xyz (page does not exist)">MediaWiki:xyz</span></a></span> doesn't exist. See also <a href="/wiki/Special:MyLanguage/Help:System_message" title="Special:MyLanguage/Help:System message">Help:System message</a><span style="display:none"><a href="/wiki/Help:System_message" title="Help:System message"> </a></span>. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="msg"></span><span class="anchor" id="Msg"></span><span class="anchor" id="MSG"></span> </td></tr> <tr> <td><code>{{msg:xyz}}</code><br/><code>{{raw:xyz}}</code> </td> <td>Even if there is a magic word named "xyz", use template:xyz unless the template doesn't exist (equivalent to {{template:xyz}}). Normally, magic words have priority when there is a conflict. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="raw"></span><span class="anchor" id="Raw"></span><span class="anchor" id="RAW"></span> </td></tr> <tr> <td><code>{{raw:xyz}}</code> </td> <td>If <a href="/wiki/Special:MyLanguage/Manual:$wgEnableScaryTranscluding" title="Special:MyLanguage/Manual:$wgEnableScaryTranscluding">$wgEnableScaryTranscluding</a><span style="display:none"><a href="/wiki/Manual:$wgEnableScaryTranscluding" title="Manual:$wgEnableScaryTranscluding"> </a></span> is enabled, and this is an interwiki transclusion, include the raw wikitext instead of the html from the foreign wiki. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.6</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/12925.html">r12925</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="msgnw"></span><span class="anchor" id="Msgnw"></span><span class="anchor" id="MSGNW"></span> </td></tr> <tr> <td><code>{{msgnw:xyz}}</code> </td> <td>The unexpanded wikitext is rendered (more or less, for details see <a href="/wiki/Special:MyLanguage/Help:Templates#Usage" title="Special:MyLanguage/Help:Templates">Help:Templates</a><span style="display:none"><a href="/wiki/Help:Templates#Usage" title="Help:Templates"> </a></span>). </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="subst"></span><span class="anchor" id="Subst"></span><span class="anchor" id="SUBST"></span> </td></tr> <tr> <td><code>{{subst:xyz}}</code> </td> <td>In the wikitext, the tag is substituted by the <i>content</i> (single-level evaluation only), see <a href="/wiki/Special:MyLanguage/Help:Templates#Usage" title="Special:MyLanguage/Help:Templates">Help:Templates</a><span style="display:none"><a href="/wiki/Help:Templates#Usage" title="Help:Templates"> </a></span>. </td> <td> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="safesubst"></span><span class="anchor" id="Safesubst"></span><span class="anchor" id="SAFESUBST"></span> </td></tr> <tr> <td><code>{{safesubst:xyz}}</code> </td> <td>See <a href="/wiki/Special:MyLanguage/Help:Templates#Usage" title="Special:MyLanguage/Help:Templates">Help:Templates</a><span style="display:none"><a href="/wiki/Help:Templates#Usage" title="Help:Templates"> </a></span>. </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="Miscellaneous" data-mw-thread-id="h-Miscellaneous-Parser_functions"><span data-mw-comment-start="" id="h-Miscellaneous-Parser_functions"></span>Miscellaneous<span data-mw-comment-end="h-Miscellaneous-Parser_functions"></span></h3></div> <table class="wikitable plainlinks"> <tbody><tr> <th width="20%">Usage </th> <th width="20%">Input → Output </th> <th width="50%">Description </th> <th width="10%">Version </th></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="special"></span><span class="anchor" id="#special"></span><span class="anchor" id=".23special"></span> </td></tr> <tr> <td><code>{{#special:<i>special page name</i>}}</code> </td> <td><code>{{#special:userlogin}}</code> → Special:UserLogin </td> <td>The localized name for the given canonical Special: page. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.9</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/17321.html">r17321</a></span></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="speciale"></span><span class="anchor" id="#speciale"></span><span class="anchor" id=".23speciale"></span> </td></tr> <tr> <td><code>{{#speciale:<i>special page name</i>}}</code> </td> <td><code>{{#speciale:userlogin}}</code> → Special:UserLogin </td> <td>The localized and URL-encoded name for the given canonical Special: page. </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.20</div><small><a href="https://gerrit.wikimedia.org/r/4340" class="extiw" title="gerrit:4340">Gerrit change 4340</a></small></td> </tr></tbody></table> </td></tr> <tr style="visibility:collapse!important"> <td colspan="4"><span class="anchor" id="tag"></span><span class="anchor" id="#tag"></span><span class="anchor" id=".23tag"></span> </td></tr> <tr> <td><code>{{#tag:<i>tagname</i> <br/>|<i>content</i> <br/>|<i>attribute1</i>=<i>value1</i> <br/>|<i>attribute2</i>=<i>value2</i><br/>}}</code> </td> <td>Example for the <a href="/wiki/Special:MyLanguage/Extension:Cite" title="Special:MyLanguage/Extension:Cite">Cite extension</a>'s <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎&lt;</span><span class="nt">ref</span><span class="p">></span></code> tags: <p><code>{{#tag:ref|Citation on Magic words. |name = "multiple"}}</code> → <sup id="cite_ref-multiple_1-0" class="reference"><a href="#cite_note-multiple-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </p> </td> <td>Alias for XML-style MediaWiki parser tags or extension tags. It allows a <a href="/wiki/Special:MyLanguage/Manual:Tag_extensions#How_do_I_render_wikitext_in_my_extension?" title="Special:MyLanguage/Manual:Tag extensions">pre-save transform of wiki code</a> and <a href="/wiki/Special:MyLanguage/Extension:ParserFunctions" title="Special:MyLanguage/Extension:ParserFunctions">Extension:ParserFunctions</a><span style="display:none"><a href="/wiki/Extension:ParserFunctions" title="Extension:ParserFunctions"> </a></span> within tags before the tag is processed. It also prevents parsing of tags in conditional paths that aren't executed (like in <code>#if</code> statements). Content between tags is passed as the first parameter, and any attributes for the tags can be passed as subsequent parameters. This example: <div style="display:none!important" class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"></div> <p><code class="mw-highlight" style=""><span class="p">‎&lt;</span><span class="nt"><i>tagname</i></span> <span class="na"><i>attribute1</i></span><span class="o">=</span><span class="s">"<i>value1</i>"</span> <span class="na"><i>attribute2</i></span><span class="o">=</span><span class="s">"<i>value2</i>"</span><span class="p">></span><i>Your content goes here</i><span class="p">‎&lt;/</span><span class="nt"><i>tagname</i></span><span class="p">></span></code> </p><p>…can be rewritten like this: </p><p><code>{{#tag:<i>tagname</i>|<i>Your content goes here</i>|<i>attribute1</i>=<i>value1</i>|<i>attribute2</i>=<i>value2</i>}}</code> </p> <table class="warning-message" style="background-color: var( --background-color-error-subtle, #ffe9e5 ); color: var( --color-base, #202122 ); border: 1px var( --border-color-error, #9f3526 ) solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tbody><tr><td style="white-space: nowrap; vertical-align: top;"><span style="position: relative; top: -2px;"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/18px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/27px-OOjs_UI_icon_notice-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/36px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></span> <b>Warning:</b> </td><td style="padding-left: 0.5em vertical-align: top;">You must write <code>{{#tag:<i>tagname</i>||<i>attribute1</i>=<i>value1</i>|<i>attribute2</i>=<i>value2</i>}}</code> to pass an empty content. No leading or trailing space of the text content are permitted between the pipe characters <code>||</code> before <i>attribute1</i>.</td></tr></tbody></table> <table class="warning-message" style="background-color: var( --background-color-error-subtle, #ffe9e5 ); color: var( --color-base, #202122 ); border: 1px var( --border-color-error, #9f3526 ) solid; box-sizing: border-box; margin: 0.5em 0; padding: 0.5em;"><tbody><tr><td style="white-space: nowrap; vertical-align: top;"><span style="position: relative; top: -2px;"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/18px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/27px-OOjs_UI_icon_notice-destructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/36px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></span> <b>Warning:</b> </td><td style="padding-left: 0.5em vertical-align: top;">For the <a href="/wiki/Special:MyLanguage/Extension:InputBox" title="Special:MyLanguage/Extension:InputBox">&lt;inputbox> tag</a>, do NOT separate the parameters with pipes -- this won't work. You need to supply everything as the first parameter, with individual lines separated by breaks and not pipes, as you do when using the inputbox tag normally with &lt;inputbox>&lt;/inputbox>.</td></tr></tbody></table> </td> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-and-later"><tbody><tr> <td class="mw-version-versionbox" title="The latest stable version is 1.42"><div class="mw-version-versionnumber"><small>≥</small> 1.12</div><small><span class="plainlinks"><a class="external text" href="https://static-codereview.wikimedia.org/MediaWiki/29482.html">r29482</a></span></small></td> </tr></tbody></table> </td></tr></tbody></table> <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><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-See_also","replies":[]}}--></div> <ul><li>For parser function <code>#invoke</code>, see <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua#Running_a_module" class="extiw" title="w:Wikipedia:Lua">w:Wikipedia:Lua#Running a module</a>.</li></ul> <div class="navbox-styles nomobile"><style data-mw-deduplicate="TemplateStyles:r6230902">.mw-parser-output .navbox{border:1px solid #aaa;box-sizing:border-box;width:100%;margin:auto;clear:both;font-size:88%;text-align:center;padding:1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox th,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}.mw-parser-output th.navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background:#fdfdfd}.mw-parser-output .navbox-list{border-color:#fdfdfd}.mw-parser-output .navbox th,.mw-parser-output .navbox-title{background:#eaeeff}.mw-parser-output .navbox-abovebelow,.mw-parser-output th.navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background:#ddddff}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background:#e6e6ff}.mw-parser-output .navbox-even{background:#f7f7f7}.mw-parser-output .navbox-odd{background:transparent}.mw-parser-output th.navbox-title1{border-left:2px solid #fdfdfd;width:100%}.mw-parser-output td.navbox-list1{text-align:left;border-left-width:2px;border-left-style:solid}.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 .hlist dd,.mw-parser-output .navbox .hlist dt,.mw-parser-output .navbox .hlist li{white-space:nowrap}.mw-parser-output .navbox .hlist dd dl,.mw-parser-output .navbox .hlist dt dl,.mw-parser-output .navbox .hlist li ol,.mw-parser-output .navbox .hlist li ul{white-space:normal}.mw-parser-output ol+.navbox-styles+.navbox,.mw-parser-output ul+.navbox-styles+.navbox{margin-top:0.5em}</style></div><div role="navigation" class="navbox" aria-labelledby="Parser_functions" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><style data-mw-deduplicate="TemplateStyles:r6387430">.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 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,.mw-parser-output .hlist .mw-empty-elt{display:none}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)"\a0 "}</style><style data-mw-deduplicate="TemplateStyles:r4692751">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar ul{display:inline;white-space:nowrap}.mw-parser-output .navbar li{word-spacing:-0.125em}.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;width:6em}</style><div class="plainlinks hlist navbar mini"><ul><li class="nv-view"><a href="/wiki/Template:Parser_functions_nav" title="Template:Parser functions nav"><abbr title="View this template" style=";;background:none transparent;border:none;box-shadow:none; padding:0;">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Parser_functions_nav" title="Template talk:Parser functions nav"><abbr title="Discuss this template" style=";;background:none transparent;border:none;box-shadow:none; padding:0;">t</abbr></a></li><li class="nv-edit"><a class="external text" href="https://www.mediawiki.org/w/index.php?title=Template:Parser_functions_nav&amp;action=edit"><abbr title="Edit this template" style=";;background:none transparent;border:none;box-shadow:none; padding:0;">e</abbr></a></li></ul></div><div id="Parser_functions" style="font-size:114%;margin:0 4em"><a href="/wiki/Special:MyLanguage/Manual:Parser_functions" title="Special:MyLanguage/Manual:Parser functions">Parser functions</a><span style="display:none"><a href="/wiki/Manual:Parser_functions" title="Manual:Parser functions"> </a></span></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">All</th><td class="navbox-list1 navbox-list navbox-odd" style="width:100%;padding:0px;text-align: left;"><div style="padding:0em 0.25em"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6387430"><div class="hlist"> <ul><li><b>A</b> {{<a href="/wiki/Special:MyLanguage/anchorencode" title="Special:MyLanguage/anchorencode">#anchorencode</a><span style="display:none"><a href="/wiki/Anchorencode" class="mw-redirect" title="Anchorencode"> </a></span>}}</li> <li><b>B</b> {{<a href="/wiki/Special:MyLanguage/babel" title="Special:MyLanguage/babel">#babel</a><span style="display:none"><a href="/wiki/Babel" class="mw-redirect" title="Babel"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/basepagename" title="Special:MyLanguage/basepagename">#basepagename</a><span style="display:none"><a href="/wiki/Basepagename" class="mw-redirect" title="Basepagename"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/basepagenamee" title="Special:MyLanguage/basepagenamee">#basepagenamee</a><span style="display:none"><a href="/wiki/Basepagenamee" class="mw-redirect" title="Basepagenamee"> </a></span>}}</li> <li><b>C</b> {{<a href="/wiki/Special:MyLanguage/canonicalurl" class="new" title="Special:MyLanguage/canonicalurl (page does not exist)">#canonicalurl</a><span style="display:none"><a href="/w/index.php?title=Canonicalurl&amp;action=edit&amp;redlink=1" class="new" title="Canonicalurl (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/canonicalurle" class="new" title="Special:MyLanguage/canonicalurle (page does not exist)">#canonicalurle</a><span style="display:none"><a href="/w/index.php?title=Canonicalurle&amp;action=edit&amp;redlink=1" class="new" title="Canonicalurle (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/Extension:CategoryTree#The_categorytree_parser_function" title="Special:MyLanguage/Extension:CategoryTree">#categorytree</a><span style="display:none"><a href="/wiki/Extension:CategoryTree#The_categorytree_parser_function" title="Extension:CategoryTree"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/Extension:GeoData#Parser_function" title="Special:MyLanguage/Extension:GeoData">#coordinates</a><span style="display:none"><a href="/wiki/Extension:GeoData#Parser_function" title="Extension:GeoData"> </a></span>}}</li> <li><b>D</b> {{<a href="/wiki/Special:MyLanguage/defaultsort" class="new" title="Special:MyLanguage/defaultsort (page does not exist)">#defaultsort</a><span style="display:none"><a href="/w/index.php?title=Defaultsort&amp;action=edit&amp;redlink=1" class="new" title="Defaultsort (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/displaytitle" title="Special:MyLanguage/displaytitle">#displaytitle</a><span style="display:none"><a href="/wiki/Displaytitle" class="mw-redirect" title="Displaytitle"> </a></span>}}</li> <li><b>E</b> {{<a href="/wiki/Special:MyLanguage/expr" title="Special:MyLanguage/expr">#expr</a><span style="display:none"><a href="/wiki/Expr" class="mw-redirect" title="Expr"> </a></span>}}</li> <li><b>F</b> {{<a href="/wiki/Special:MyLanguage/filepath" class="new" title="Special:MyLanguage/filepath (page does not exist)">#filepath</a><span style="display:none"><a href="/w/index.php?title=Filepath&amp;action=edit&amp;redlink=1" class="new" title="Filepath (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/formatdate" title="Special:MyLanguage/formatdate">#formatdate</a><span style="display:none"><a href="/wiki/Formatdate" class="mw-redirect" title="Formatdate"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/formatnum" title="Special:MyLanguage/formatnum">#formatnum</a><span style="display:none"><a href="/wiki/Formatnum" class="mw-redirect" title="Formatnum"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/fullpagename" class="new" title="Special:MyLanguage/fullpagename (page does not exist)">#fullpagename</a><span style="display:none"><a href="/w/index.php?title=Fullpagename&amp;action=edit&amp;redlink=1" class="new" title="Fullpagename (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/fullpagenamee" class="new" title="Special:MyLanguage/fullpagenamee (page does not exist)">#fullpagenamee</a><span style="display:none"><a href="/w/index.php?title=Fullpagenamee&amp;action=edit&amp;redlink=1" class="new" title="Fullpagenamee (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/fullurl" title="Special:MyLanguage/fullurl">#fullurl</a><span style="display:none"><a href="/wiki/Fullurl" class="mw-redirect" title="Fullurl"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/fullurle" class="new" title="Special:MyLanguage/fullurle (page does not exist)">#fullurle</a><span style="display:none"><a href="/w/index.php?title=Fullurle&amp;action=edit&amp;redlink=1" class="new" title="Fullurle (page does not exist)"> </a></span>}}</li> <li><b>G</b> {{<a href="/wiki/Special:MyLanguage/gender" title="Special:MyLanguage/gender">#gender</a><span style="display:none"><a href="/wiki/Gender" class="mw-redirect" title="Gender"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/grammar" class="new" title="Special:MyLanguage/grammar (page does not exist)">#grammar</a><span style="display:none"><a href="/w/index.php?title=Grammar&amp;action=edit&amp;redlink=1" class="new" title="Grammar (page does not exist)"> </a></span>}}</li> <li><b>I</b> {{<a href="/wiki/Special:MyLanguage/if" title="Special:MyLanguage/if">#if</a><span style="display:none"><a href="/wiki/If" class="mw-redirect" title="If"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/ifeq" title="Special:MyLanguage/ifeq">#ifeq</a><span style="display:none"><a href="/wiki/Ifeq" class="mw-redirect" title="Ifeq"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/iferror" title="Special:MyLanguage/iferror">#iferror</a><span style="display:none"><a href="/wiki/Iferror" class="mw-redirect" title="Iferror"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/ifexist" title="Special:MyLanguage/ifexist">#ifexist</a><span style="display:none"><a href="/wiki/Ifexist" class="mw-redirect" title="Ifexist"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/ifexpr" title="Special:MyLanguage/ifexpr">#ifexpr</a><span style="display:none"><a href="/wiki/Ifexpr" class="mw-redirect" title="Ifexpr"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/int" title="Special:MyLanguage/int">#int</a><span style="display:none"><a href="/wiki/Int" class="mw-redirect" title="Int"> </a></span>}}</li> <li>{{<a href="https://en.wikipedia.org/wiki/Wikipedia:Lua" class="extiw" title="w:Wikipedia:Lua">#invoke</a>}}</li> <li><b>L</b> {{<b><a href="/wiki/Special:MyLanguage/Help:Magic_words#Miscellaneous" title="Special:MyLanguage/Help:Magic words">#language</a></b><span style="display:none"><a class="mw-selflink-fragment" href="#Miscellaneous"> </a></span>}}</li> <li>{{<b><a href="/wiki/Special:MyLanguage/Help:Magic_words#Formatting" title="Special:MyLanguage/Help:Magic words">#lc</a></b><span style="display:none"><a class="mw-selflink-fragment" href="#Formatting"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/lcfirst" title="Special:MyLanguage/lcfirst">#lcfirst</a><span style="display:none"><a href="/wiki/Lcfirst" class="mw-redirect" title="Lcfirst"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/localurl" title="Special:MyLanguage/localurl">#localurl</a><span style="display:none"><a href="/wiki/Localurl" class="mw-redirect" title="Localurl"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/localurle" class="new" title="Special:MyLanguage/localurle (page does not exist)">#localurle</a><span style="display:none"><a href="/w/index.php?title=Localurle&amp;action=edit&amp;redlink=1" class="new" title="Localurle (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/lqtpagelimit" class="new" title="Special:MyLanguage/lqtpagelimit (page does not exist)">#lqtpagelimit</a><span style="display:none"><a href="/w/index.php?title=Lqtpagelimit&amp;action=edit&amp;redlink=1" class="new" title="Lqtpagelimit (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/lst" title="Special:MyLanguage/lst">#lst</a><span style="display:none"><a href="/wiki/Lst" class="mw-redirect" title="Lst"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/lstx" title="Special:MyLanguage/lstx">#lstx</a><span style="display:none"><a href="/wiki/Lstx" class="mw-redirect" title="Lstx"> </a></span>}}</li> <li><b>N</b> {{<a href="/wiki/Special:MyLanguage/namespace" title="Special:MyLanguage/namespace">#namespace</a><span style="display:none"><a href="/wiki/Namespace" class="mw-redirect" title="Namespace"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/namespacee" class="new" title="Special:MyLanguage/namespacee (page does not exist)">#namespacee</a><span style="display:none"><a href="/w/index.php?title=Namespacee&amp;action=edit&amp;redlink=1" class="new" title="Namespacee (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/namespacenumber" class="new" title="Special:MyLanguage/namespacenumber (page does not exist)">#namespacenumber</a><span style="display:none"><a href="/w/index.php?title=Namespacenumber&amp;action=edit&amp;redlink=1" class="new" title="Namespacenumber (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/ns" title="Special:MyLanguage/ns">#ns</a><span style="display:none"><a href="/wiki/Ns" class="mw-redirect" title="Ns"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/nse" class="new" title="Special:MyLanguage/nse (page does not exist)">#nse</a><span style="display:none"><a href="/w/index.php?title=Nse&amp;action=edit&amp;redlink=1" class="new" title="Nse (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberingroup" class="new" title="Special:MyLanguage/numberingroup (page does not exist)">#numberingroup</a><span style="display:none"><a href="/w/index.php?title=Numberingroup&amp;action=edit&amp;redlink=1" class="new" title="Numberingroup (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberofactiveusers" class="new" title="Special:MyLanguage/numberofactiveusers (page does not exist)">#numberofactiveusers</a><span style="display:none"><a href="/w/index.php?title=Numberofactiveusers&amp;action=edit&amp;redlink=1" class="new" title="Numberofactiveusers (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberofadmins" class="new" title="Special:MyLanguage/numberofadmins (page does not exist)">#numberofadmins</a><span style="display:none"><a href="/w/index.php?title=Numberofadmins&amp;action=edit&amp;redlink=1" class="new" title="Numberofadmins (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberofarticles" class="new" title="Special:MyLanguage/numberofarticles (page does not exist)">#numberofarticles</a><span style="display:none"><a href="/w/index.php?title=Numberofarticles&amp;action=edit&amp;redlink=1" class="new" title="Numberofarticles (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberofedits" class="new" title="Special:MyLanguage/numberofedits (page does not exist)">#numberofedits</a><span style="display:none"><a href="/w/index.php?title=Numberofedits&amp;action=edit&amp;redlink=1" class="new" title="Numberofedits (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberoffiles" class="new" title="Special:MyLanguage/numberoffiles (page does not exist)">#numberoffiles</a><span style="display:none"><a href="/w/index.php?title=Numberoffiles&amp;action=edit&amp;redlink=1" class="new" title="Numberoffiles (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberofpages" class="new" title="Special:MyLanguage/numberofpages (page does not exist)">#numberofpages</a><span style="display:none"><a href="/w/index.php?title=Numberofpages&amp;action=edit&amp;redlink=1" class="new" title="Numberofpages (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberofusers" class="new" title="Special:MyLanguage/numberofusers (page does not exist)">#numberofusers</a><span style="display:none"><a href="/w/index.php?title=Numberofusers&amp;action=edit&amp;redlink=1" class="new" title="Numberofusers (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/numberofviews" class="new" title="Special:MyLanguage/numberofviews (page does not exist)">#numberofviews</a><span style="display:none"><a href="/w/index.php?title=Numberofviews&amp;action=edit&amp;redlink=1" class="new" title="Numberofviews (page does not exist)"> </a></span>}}</li> <li><b>P</b> {{<a href="/wiki/Special:MyLanguage/padleft" title="Special:MyLanguage/padleft">#padleft</a><span style="display:none"><a href="/wiki/Padleft" class="mw-redirect" title="Padleft"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/padright" class="new" title="Special:MyLanguage/padright (page does not exist)">#padright</a><span style="display:none"><a href="/w/index.php?title=Padright&amp;action=edit&amp;redlink=1" class="new" title="Padright (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/pagename" class="new" title="Special:MyLanguage/pagename (page does not exist)">#pagename</a><span style="display:none"><a href="/w/index.php?title=Pagename&amp;action=edit&amp;redlink=1" class="new" title="Pagename (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/pagenamee" title="Special:MyLanguage/pagenamee">#pagenamee</a><span style="display:none"><a href="/wiki/Pagenamee" class="mw-redirect" title="Pagenamee"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/pagesincategory" title="Special:MyLanguage/pagesincategory">#pagesincategory</a><span style="display:none"><a href="/wiki/Pagesincategory" class="mw-redirect" title="Pagesincategory"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/pagesize" title="Special:MyLanguage/pagesize">#pagesize</a><span style="display:none"><a href="/wiki/Pagesize" class="mw-redirect" title="Pagesize"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/plural" class="new" title="Special:MyLanguage/plural (page does not exist)">#plural</a><span style="display:none"><a href="/w/index.php?title=Plural&amp;action=edit&amp;redlink=1" class="new" title="Plural (page does not exist)"> </a></span>}}</li> <li>{{<a href="https://www.wikidata.org/wiki/Wikidata:How_to_use_data_on_Wikimedia_projects" class="extiw" title="d:Wikidata:How to use data on Wikimedia projects">#property</a>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/protectionlevel" class="new" title="Special:MyLanguage/protectionlevel (page does not exist)">#protectionlevel</a><span style="display:none"><a href="/w/index.php?title=Protectionlevel&amp;action=edit&amp;redlink=1" class="new" title="Protectionlevel (page does not exist)"> </a></span>}}</li> <li><b>R</b> {{<a href="/wiki/Special:MyLanguage/rel2abs" class="new" title="Special:MyLanguage/rel2abs (page does not exist)">#rel2abs</a><span style="display:none"><a href="/w/index.php?title=Rel2abs&amp;action=edit&amp;redlink=1" class="new" title="Rel2abs (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/rootpagename" class="new" title="Special:MyLanguage/rootpagename (page does not exist)">#rootpagename</a><span style="display:none"><a href="/w/index.php?title=Rootpagename&amp;action=edit&amp;redlink=1" class="new" title="Rootpagename (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/rootpagenamee" class="new" title="Special:MyLanguage/rootpagenamee (page does not exist)">#rootpagenamee</a><span style="display:none"><a href="/w/index.php?title=Rootpagenamee&amp;action=edit&amp;redlink=1" class="new" title="Rootpagenamee (page does not exist)"> </a></span>}}</li> <li><b>S</b> {{<a href="/wiki/Special:MyLanguage/special" class="new" title="Special:MyLanguage/special (page does not exist)">#special</a><span style="display:none"><a href="/w/index.php?title=Special&amp;action=edit&amp;redlink=1" class="new" title="Special (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/speciale" class="new" title="Special:MyLanguage/speciale (page does not exist)">#speciale</a><span style="display:none"><a href="/w/index.php?title=Speciale&amp;action=edit&amp;redlink=1" class="new" title="Speciale (page does not exist)"> </a></span>}}</li> <li>{{<a href="https://www.wikidata.org/wiki/Wikidata:How_to_use_data_on_Wikimedia_projects" class="extiw" title="d:Wikidata:How to use data on Wikimedia projects">#statement</a>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/subjectpagename" class="new" title="Special:MyLanguage/subjectpagename (page does not exist)">#subjectpagename</a><span style="display:none"><a href="/w/index.php?title=Subjectpagename&amp;action=edit&amp;redlink=1" class="new" title="Subjectpagename (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/subjectpagenamee" class="new" title="Special:MyLanguage/subjectpagenamee (page does not exist)">#subjectpagenamee</a><span style="display:none"><a href="/w/index.php?title=Subjectpagenamee&amp;action=edit&amp;redlink=1" class="new" title="Subjectpagenamee (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/subjectspace" class="new" title="Special:MyLanguage/subjectspace (page does not exist)">#subjectspace</a><span style="display:none"><a href="/w/index.php?title=Subjectspace&amp;action=edit&amp;redlink=1" class="new" title="Subjectspace (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/subjectspacee" class="new" title="Special:MyLanguage/subjectspacee (page does not exist)">#subjectspacee</a><span style="display:none"><a href="/w/index.php?title=Subjectspacee&amp;action=edit&amp;redlink=1" class="new" title="Subjectspacee (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/subpagename" class="new" title="Special:MyLanguage/subpagename (page does not exist)">#subpagename</a><span style="display:none"><a href="/w/index.php?title=Subpagename&amp;action=edit&amp;redlink=1" class="new" title="Subpagename (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/subpagenamee" class="new" title="Special:MyLanguage/subpagenamee (page does not exist)">#subpagenamee</a><span style="display:none"><a href="/w/index.php?title=Subpagenamee&amp;action=edit&amp;redlink=1" class="new" title="Subpagenamee (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/switch" title="Special:MyLanguage/switch">#switch</a><span style="display:none"><a href="/wiki/Switch" class="mw-redirect" title="Switch"> </a></span>}}</li> <li><b>T</b> {{<a href="/wiki/Special:MyLanguage/tag_(parser_function)" title="Special:MyLanguage/tag (parser function)">#tag</a><span style="display:none"><a href="/wiki/Tag_(parser_function)" class="mw-redirect" title="Tag (parser function)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/talkpagename" class="new" title="Special:MyLanguage/talkpagename (page does not exist)">#talkpagename</a><span style="display:none"><a href="/w/index.php?title=Talkpagename&amp;action=edit&amp;redlink=1" class="new" title="Talkpagename (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/talkpagenamee" class="new" title="Special:MyLanguage/talkpagenamee (page does not exist)">#talkpagenamee</a><span style="display:none"><a href="/w/index.php?title=Talkpagenamee&amp;action=edit&amp;redlink=1" class="new" title="Talkpagenamee (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/talkspace" title="Special:MyLanguage/talkspace">#talkspace</a><span style="display:none"><a href="/wiki/Talkspace" class="mw-redirect" title="Talkspace"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/talkspacee" class="new" title="Special:MyLanguage/talkspacee (page does not exist)">#talkspacee</a><span style="display:none"><a href="/w/index.php?title=Talkspacee&amp;action=edit&amp;redlink=1" class="new" title="Talkspacee (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/time" title="Special:MyLanguage/time">#time</a><span style="display:none"><a href="/wiki/Time" class="mw-redirect" title="Time"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/timel" class="new" title="Special:MyLanguage/timel (page does not exist)">#timel</a><span style="display:none"><a href="/w/index.php?title=Timel&amp;action=edit&amp;redlink=1" class="new" title="Timel (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/timef" title="Special:MyLanguage/timef">#timef</a><span style="display:none"><a href="/wiki/Timef" class="mw-redirect" title="Timef"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/timefl" class="new" title="Special:MyLanguage/timefl (page does not exist)">#timefl</a><span style="display:none"><a href="/w/index.php?title=Timefl&amp;action=edit&amp;redlink=1" class="new" title="Timefl (page does not exist)"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/titleparts" title="Special:MyLanguage/titleparts">#titleparts</a><span style="display:none"><a href="/wiki/Titleparts" class="mw-redirect" title="Titleparts"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/translation" title="Special:MyLanguage/translation">#translation</a><span style="display:none"><a href="/wiki/Translation" class="mw-disambig" title="Translation"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/translationdialog" class="new" title="Special:MyLanguage/translationdialog (page does not exist)">#translationdialog</a><span style="display:none"><a href="/w/index.php?title=Translationdialog&amp;action=edit&amp;redlink=1" class="new" title="Translationdialog (page does not exist)"> </a></span>}}</li> <li><b>U</b> {{<a href="/wiki/Special:MyLanguage/uc" title="Special:MyLanguage/uc">#uc</a><span style="display:none"><a href="/wiki/Uc" class="mw-redirect" title="Uc"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/ucfirst" title="Special:MyLanguage/ucfirst">#ucfirst</a><span style="display:none"><a href="/wiki/Ucfirst" class="mw-redirect" title="Ucfirst"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/urlencode" title="Special:MyLanguage/urlencode">#urlencode</a><span style="display:none"><a href="/wiki/Urlencode" class="mw-redirect" title="Urlencode"> </a></span>}}</li> <li>{{<a href="/wiki/Special:MyLanguage/useliquidthreads" class="new" title="Special:MyLanguage/useliquidthreads (page does not exist)">#useliquidthreads</a><span style="display:none"><a href="/w/index.php?title=Useliquidthreads&amp;action=edit&amp;redlink=1" class="new" title="Useliquidthreads (page does not exist)"> </a></span>}}</li></ul> </div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">See also</th><td class="navbox-list1 navbox-list navbox-even" style="width:100%;padding:0px;text-align: left;"><div style="padding:0em 0.25em"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6387430"><div class="hlist"> <ul><li><a href="/wiki/Special:MyLanguage/Help:Extension:ParserFunctions" title="Special:MyLanguage/Help:Extension:ParserFunctions">Help:Extension:ParserFunctions</a><span style="display:none"><a href="/wiki/Help:Extension:ParserFunctions" title="Help:Extension:ParserFunctions"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Help:Parser_functions_in_templates" title="Special:MyLanguage/Help:Parser functions in templates">Help:Parser functions in templates</a><span style="display:none"><a href="/wiki/Help:Parser_functions_in_templates" title="Help:Parser functions in templates"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Parser_extension_tags" title="Special:MyLanguage/Parser extension tags">Parser extension tags</a><span style="display:none"><a href="/wiki/Parser_extension_tags" title="Parser extension tags"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Parser_function_hooks" title="Special:MyLanguage/Parser function hooks">Parser function hooks</a><span style="display:none"><a href="/wiki/Parser_function_hooks" title="Parser function hooks"> </a></span></li></ul> </div></div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div><b><span class="plainlinks"><a class="external text" href="https://www.mediawiki.org/w/index.php?title=Special:Translate&amp;group=page-Template%3ATranslatable+modules+nav&amp;language=&amp;action=page&amp;filter=">Translate this navigation box</a></span></b></div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐5dc468848‐mbdlb Cached time: 20241123100100 Cache expiry: 3556 Reduced expiry: true Complications: [vary‐page‐id, vary‐user, vary‐revision‐sha1, show‐toc] DiscussionTools time usage: 0.133 seconds CPU time usage: 2.076 seconds Real time usage: 2.440 seconds Preprocessor visited node count: 50634/1000000 Post‐expand include size: 362012/2097152 bytes Template argument size: 94042/2097152 bytes Highest expansion depth: 19/100 Expensive parser function count: 57/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 253701/5000000 bytes Lua time usage: 0.544/10.000 seconds Lua memory usage: 2496790/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 1551.808 1 -total 31.22% 484.443 147 Template:Ll 27.32% 424.004 111 Template:MW_version 26.08% 404.747 111 Template:MW_version/layout 18.35% 284.727 1 Template:Parser_functions_nav 17.96% 278.779 1 Template:Navbox 16.72% 259.414 294 Template:Translatable 16.25% 252.159 102 Template:Table-AnchorRow 15.30% 237.476 156 Template:Pagelang 14.78% 229.403 2 Template:Flatlist --> <!-- Saved in parser cache with key mediawikiwiki:pcache:idhash:1748-0!dateformat=default and timestamp 20241123100100 and revision id 6813779. 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://www.mediawiki.org/w/index.php?title=Help:Magic_words&amp;oldid=6813779">https://www.mediawiki.org/w/index.php?title=Help:Magic_words&amp;oldid=6813779</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Help" title="Category:Help">Help</a></li><li><a href="/wiki/Category:Time" title="Category:Time">Time</a></li><li><a href="/wiki/Category:Magic_words" title="Category:Magic words">Magic words</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 27 October 2024, at 03:41.</li> <li id="footer-info-copyright">Text is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. Text in <a class="external text" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">the Help: namespace</a> is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</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/Project:About">About mediawiki.org</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Project:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/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/#/www.mediawiki.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="//m.mediawiki.org/w/index.php?title=Help:Magic_words&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-b78pt","wgBackendResponseTime":128,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Behavior_switches","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Variables","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Date_and_time-Variables","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Technical_metadata-Variables","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Localization-Variables","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Statistics-Variables","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Page_names-Variables","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-URL_encoded_page_names-Page_names","replies":[]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Namespaces-Variables","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Escaped_characters","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Parser_functions","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Technical_metadata_of_another_page-Parser_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-URL_data-Parser_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Namespaces_2-Parser_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Formatting-Parser_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Localization_2-Parser_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Transclusion_modifiers-Parser_functions","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Miscellaneous-Parser_functions","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-See_also","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.133"},"limitreport":{"cputime":"2.076","walltime":"2.440","ppvisitednodes":{"value":50634,"limit":1000000},"postexpandincludesize":{"value":362012,"limit":2097152},"templateargumentsize":{"value":94042,"limit":2097152},"expansiondepth":{"value":19,"limit":100},"expensivefunctioncount":{"value":57,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":253701,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 1551.808 1 -total"," 31.22% 484.443 147 Template:Ll"," 27.32% 424.004 111 Template:MW_version"," 26.08% 404.747 111 Template:MW_version/layout"," 18.35% 284.727 1 Template:Parser_functions_nav"," 17.96% 278.779 1 Template:Navbox"," 16.72% 259.414 294 Template:Translatable"," 16.25% 252.159 102 Template:Table-AnchorRow"," 15.30% 237.476 156 Template:Pagelang"," 14.78% 229.403 2 Template:Flatlist"]},"scribunto":{"limitreport-timeusage":{"value":"0.544","limit":"10.000"},"limitreport-memusage":{"value":2496790,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-5dc468848-mbdlb","timestamp":"20241123100100","ttl":3556,"transientcontent":true}}});});</script> </body> </html>

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