CINXE.COM
Template:Val - Wikipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Template:Val - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"94eecee3-ec3a-4ba5-8dba-547f75452899","wgCanonicalNamespace":"Template","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":10,"wgPageName":"Template:Val","wgTitle":"Val","wgCurRevisionId":1147767985,"wgRevisionId":1147767985,"wgArticleId":16592146,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Wikipedia template-protected templates","Templates not safe for use in citation templates","Lua-based templates","Convert-like templates","Templates using TemplateData","Mathematical formatting templates","Superscript and subscript templates","Sorting templates","Abbreviation templates"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Template:Val","wgRelevantArticleId":16592146,"wgIsProbablyEditable":false, "wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["templateeditor"],"wgRestrictionMove":["templateeditor"],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":100,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q6232996","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"], "GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.pygments":"ready","ext.templateData":"ready","ext.templateData.images":"ready","jquery.tablesorter.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","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","jquery.tablesorter","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js", "ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","wikibase.client.vector-2022","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.pygments%2CtemplateData%2CwikimediaBadges%7Cext.templateData.images%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.tablesorter.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Template:Val - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Template:Val"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Template:Val"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-10 ns-subject page-Template_Val rootpage-Template_Val skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&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&returnto=Template%3AVal" 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&returnto=Template%3AVal" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&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&returnto=Template%3AVal" 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&returnto=Template%3AVal" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Introduction" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Introduction"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Introduction</span> </div> </a> <ul id="toc-Introduction-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Arguments" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Arguments"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Arguments</span> </div> </a> <ul id="toc-Arguments-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Errors" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Errors"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Errors</span> </div> </a> <ul id="toc-Errors-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Format_of_numbers" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Format_of_numbers"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Format of numbers</span> </div> </a> <ul id="toc-Format_of_numbers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Sorting" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Sorting"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Sorting</span> </div> </a> <ul id="toc-Sorting-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-More_example_expressions" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#More_example_expressions"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>More example expressions</span> </div> </a> <button aria-controls="toc-More_example_expressions-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 More example expressions subsection</span> </button> <ul id="toc-More_example_expressions-sublist" class="vector-toc-list"> <li id="toc-Number" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Number"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1</span> <span>Number</span> </div> </a> <ul id="toc-Number-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Uncertainty" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Uncertainty"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.2</span> <span>Uncertainty</span> </div> </a> <ul id="toc-Uncertainty-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Units" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Units"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.3</span> <span>Units</span> </div> </a> <ul id="toc-Units-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Exponents" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Exponents"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.4</span> <span>Exponents</span> </div> </a> <ul id="toc-Exponents-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Prefix/suffix" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Prefix/suffix"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.5</span> <span>Prefix/suffix</span> </div> </a> <ul id="toc-Prefix/suffix-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Numerator/denominator" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Numerator/denominator"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.6</span> <span>Numerator/denominator</span> </div> </a> <ul id="toc-Numerator/denominator-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Repeating_digits" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Repeating_digits"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.7</span> <span>Repeating digits</span> </div> </a> <ul id="toc-Repeating_digits-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Even_more_examples" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Even_more_examples"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.8</span> <span>Even more examples</span> </div> </a> <ul id="toc-Even_more_examples-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-FAQ_and_comments" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#FAQ_and_comments"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>FAQ and comments</span> </div> </a> <ul id="toc-FAQ_and_comments-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Redirects" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Redirects"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Redirects</span> </div> </a> <ul id="toc-Redirects-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-TemplateData" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#TemplateData"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>TemplateData</span> </div> </a> <ul id="toc-TemplateData-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">Template</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Val</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 105 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-105" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">105 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-af mw-list-item"><a href="https://af.wikipedia.org/wiki/Sjabloon:Val" title="Sjabloon:Val – Afrikaans" lang="af" hreflang="af" data-title="Sjabloon:Val" data-language-autonym="Afrikaans" data-language-local-name="Afrikaans" class="interlanguage-link-target"><span>Afrikaans</span></a></li><li class="interlanguage-link interwiki-ab mw-list-item"><a href="https://ab.wikipedia.org/wiki/%D0%90%D1%88%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Val" title="Ашаблон:Val – Abkhazian" lang="ab" hreflang="ab" data-title="Ашаблон:Val" data-language-autonym="Аԥсшәа" data-language-local-name="Abkhazian" class="interlanguage-link-target"><span>Аԥсшәа</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D9%84%D8%A8:Val" title="قالب:Val – Arabic" lang="ar" hreflang="ar" data-title="قالب:Val" 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%BE%E0%A6%81%E0%A6%9A:Val" title="সাঁচ:Val – Assamese" lang="as" hreflang="as" data-title="সাঁচ:Val" data-language-autonym="অসমীয়া" data-language-local-name="Assamese" class="interlanguage-link-target"><span>অসমীয়া</span></a></li><li class="interlanguage-link interwiki-av mw-list-item"><a href="https://av.wikipedia.org/wiki/%D0%A5%D0%B0%D0%BB%D0%B8%D0%BF:Val" title="Халип:Val – Avaric" lang="av" hreflang="av" data-title="Халип:Val" data-language-autonym="Авар" data-language-local-name="Avaric" class="interlanguage-link-target"><span>Авар</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/%C5%9Eablon:Val" title="Şablon:Val – Azerbaijani" lang="az" hreflang="az" data-title="Şablon:Val" data-language-autonym="Azərbaycanca" data-language-local-name="Azerbaijani" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-azb mw-list-item"><a href="https://azb.wikipedia.org/wiki/%D8%B4%D8%A7%D8%A8%D9%84%D9%88%D9%86:Val" title="شابلون:Val – South Azerbaijani" lang="azb" hreflang="azb" data-title="شابلون:Val" data-language-autonym="تۆرکجه" data-language-local-name="South Azerbaijani" class="interlanguage-link-target"><span>تۆرکجه</span></a></li><li class="interlanguage-link interwiki-ban mw-list-item"><a href="https://ban.wikipedia.org/wiki/Mal:Val" title="Mal:Val – Balinese" lang="ban" hreflang="ban" data-title="Mal:Val" data-language-autonym="Basa Bali" data-language-local-name="Balinese" class="interlanguage-link-target"><span>Basa Bali</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%9F%E0%A7%87%E0%A6%AE%E0%A6%AA%E0%A7%8D%E0%A6%B2%E0%A7%87%E0%A6%9F:Val" title="টেমপ্লেট:Val – Bangla" lang="bn" hreflang="bn" data-title="টেমপ্লেট:Val" data-language-autonym="বাংলা" data-language-local-name="Bangla" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/Pang-b%C3%B4%CD%98:Val" title="Pang-bô͘:Val – Minnan" lang="nan" hreflang="nan" data-title="Pang-bô͘:Val" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnan" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Val" title="Шаблон:Val – Belarusian" lang="be" hreflang="be" data-title="Шаблон:Val" data-language-autonym="Беларуская" data-language-local-name="Belarusian" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D1%91%D0%BD:Val" title="Шаблён:Val – Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="Шаблён:Val" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bh mw-list-item"><a href="https://bh.wikipedia.org/wiki/%E0%A4%9F%E0%A5%87%E0%A4%AE%E0%A5%8D%E0%A4%AA%E0%A4%B2%E0%A5%87%E0%A4%9F:Val" title="टेम्पलेट:Val – Bhojpuri" lang="bh" hreflang="bh" data-title="टेम्पलेट:Val" data-language-autonym="भोजपुरी" data-language-local-name="Bhojpuri" class="interlanguage-link-target"><span>भोजपुरी</span></a></li><li class="interlanguage-link interwiki-bs mw-list-item"><a href="https://bs.wikipedia.org/wiki/%C5%A0ablon:Val" title="Šablon:Val – Bosnian" lang="bs" hreflang="bs" data-title="Šablon:Val" data-language-autonym="Bosanski" data-language-local-name="Bosnian" class="interlanguage-link-target"><span>Bosanski</span></a></li><li class="interlanguage-link interwiki-bxr mw-list-item"><a href="https://bxr.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%B1%D0%B0%D1%80:Val" title="Загбар:Val – Russia Buriat" lang="bxr" hreflang="bxr" data-title="Загбар:Val" data-language-autonym="Буряад" data-language-local-name="Russia Buriat" class="interlanguage-link-target"><span>Буряад</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Plantilla:Val" title="Plantilla:Val – Catalan" lang="ca" hreflang="ca" data-title="Plantilla:Val" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cv mw-list-item"><a href="https://cv.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Val" title="Шаблон:Val – Chuvash" lang="cv" hreflang="cv" data-title="Шаблон:Val" data-language-autonym="Чӑвашла" data-language-local-name="Chuvash" class="interlanguage-link-target"><span>Чӑвашла</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/%C5%A0ablona:Val" title="Šablona:Val – Czech" lang="cs" hreflang="cs" data-title="Šablona:Val" 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-co mw-list-item"><a href="https://co.wikipedia.org/wiki/Template:M" title="Template:M – Corsican" lang="co" hreflang="co" data-title="Template:M" data-language-autonym="Corsu" data-language-local-name="Corsican" class="interlanguage-link-target"><span>Corsu</span></a></li><li class="interlanguage-link interwiki-cy mw-list-item"><a href="https://cy.wikipedia.org/wiki/Nodyn:Val" title="Nodyn:Val – Welsh" lang="cy" hreflang="cy" data-title="Nodyn:Val" data-language-autonym="Cymraeg" data-language-local-name="Welsh" class="interlanguage-link-target"><span>Cymraeg</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Skabelon:V%C3%A6rdi" title="Skabelon:Værdi – Danish" lang="da" hreflang="da" data-title="Skabelon:Værdi" data-language-autonym="Dansk" data-language-local-name="Danish" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-ary mw-list-item"><a href="https://ary.wikipedia.org/wiki/%D9%85%D9%88%D8%B6%D9%8A%D9%84:Val" title="موضيل:Val – Moroccan Arabic" lang="ary" hreflang="ary" data-title="موضيل:Val" data-language-autonym="الدارجة" data-language-local-name="Moroccan Arabic" class="interlanguage-link-target"><span>الدارجة</span></a></li><li class="interlanguage-link interwiki-dty mw-list-item"><a href="https://dty.wikipedia.org/wiki/%E0%A4%A2%E0%A4%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:Val" title="ढाँचा:Val – Doteli" lang="dty" hreflang="dty" data-title="ढाँचा:Val" data-language-autonym="डोटेली" data-language-local-name="Doteli" class="interlanguage-link-target"><span>डोटेली</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/Mall:Val" title="Mall:Val – Estonian" lang="et" hreflang="et" data-title="Mall:Val" data-language-autonym="Eesti" data-language-local-name="Estonian" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/%CE%A0%CF%81%CF%8C%CF%84%CF%85%CF%80%CE%BF:Val" title="Πρότυπο:Val – Greek" lang="el" hreflang="el" data-title="Πρότυπο:Val" data-language-autonym="Ελληνικά" data-language-local-name="Greek" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-myv mw-list-item"><a href="https://myv.wikipedia.org/wiki/%D0%9B%D0%BE%D0%BF%D0%B0%D0%9F%D0%B0%D1%80%D1%86%D1%83%D0%BD:Val" title="ЛопаПарцун:Val – Erzya" lang="myv" hreflang="myv" data-title="ЛопаПарцун:Val" data-language-autonym="Эрзянь" data-language-local-name="Erzya" class="interlanguage-link-target"><span>Эрзянь</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Plantilla:Val" title="Plantilla:Val – Spanish" lang="es" hreflang="es" data-title="Plantilla:Val" 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-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/%C5%9Cablono:Val" title="Ŝablono:Val – Esperanto" lang="eo" hreflang="eo" data-title="Ŝablono:Val" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Txantiloi:Val" title="Txantiloi:Val – Basque" lang="eu" hreflang="eu" data-title="Txantiloi:Val" 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%A7%D9%84%DA%AF%D9%88:Val" title="الگو:Val – Persian" lang="fa" hreflang="fa" data-title="الگو:Val" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fo mw-list-item"><a href="https://fo.wikipedia.org/wiki/Fyrimynd:Val" title="Fyrimynd:Val – Faroese" lang="fo" hreflang="fo" data-title="Fyrimynd:Val" data-language-autonym="Føroyskt" data-language-local-name="Faroese" class="interlanguage-link-target"><span>Føroyskt</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Mod%C3%A8le:Val" title="Modèle:Val – French" lang="fr" hreflang="fr" data-title="Modèle:Val" 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-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/Teimpl%C3%A9ad:Val" title="Teimpléad:Val – Irish" lang="ga" hreflang="ga" data-title="Teimpléad:Val" data-language-autonym="Gaeilge" data-language-local-name="Irish" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Modelo:Val" title="Modelo:Val – Galician" lang="gl" hreflang="gl" data-title="Modelo:Val" data-language-autonym="Galego" data-language-local-name="Galician" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-inh mw-list-item"><a href="https://inh.wikipedia.org/wiki/%D0%9B%D0%BE:Val" title="Ло:Val – Ingush" lang="inh" hreflang="inh" data-title="Ло:Val" data-language-autonym="ГӀалгӀай" data-language-local-name="Ingush" class="interlanguage-link-target"><span>ГӀалгӀай</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/%E0%AA%A2%E0%AA%BE%E0%AA%82%E0%AA%9A%E0%AB%8B:Val" title="ઢાંચો:Val – Gujarati" lang="gu" hreflang="gu" data-title="ઢાંચો:Val" data-language-autonym="ગુજરાતી" data-language-local-name="Gujarati" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%ED%8B%80:Val" title="틀:Val – Korean" lang="ko" hreflang="ko" data-title="틀:Val" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-ha mw-list-item"><a href="https://ha.wikipedia.org/wiki/Samfuri:Val" title="Samfuri:Val – Hausa" lang="ha" hreflang="ha" data-title="Samfuri:Val" data-language-autonym="Hausa" data-language-local-name="Hausa" class="interlanguage-link-target"><span>Hausa</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/%D4%BF%D5%A1%D5%B2%D5%A1%D5%BA%D5%A1%D6%80:Val" title="Կաղապար:Val – Armenian" lang="hy" hreflang="hy" data-title="Կաղապար:Val" data-language-autonym="Հայերեն" data-language-local-name="Armenian" 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%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:Val" title="साँचा:Val – Hindi" lang="hi" hreflang="hi" data-title="साँचा:Val" 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/Predlo%C5%BEak:Val" title="Predložak:Val – Croatian" lang="hr" hreflang="hr" data-title="Predložak:Val" data-language-autonym="Hrvatski" data-language-local-name="Croatian" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-ilo mw-list-item"><a href="https://ilo.wikipedia.org/wiki/Plantilia:Val" title="Plantilia:Val – Iloko" lang="ilo" hreflang="ilo" data-title="Plantilia:Val" data-language-autonym="Ilokano" data-language-local-name="Iloko" class="interlanguage-link-target"><span>Ilokano</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Templat:Val" title="Templat:Val – Indonesian" lang="id" hreflang="id" data-title="Templat:Val" 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-os mw-list-item"><a href="https://os.wikipedia.org/wiki/%D0%A5%D1%83%D1%8B%D0%B7%C3%A6%D0%B3:Val" title="Хуызæг:Val – Ossetic" lang="os" hreflang="os" data-title="Хуызæг:Val" data-language-autonym="Ирон" data-language-local-name="Ossetic" class="interlanguage-link-target"><span>Ирон</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Template:M" title="Template:M – Italian" lang="it" hreflang="it" data-title="Template:M" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%AA%D7%91%D7%A0%D7%99%D7%AA:Val" title="תבנית:Val – Hebrew" lang="he" hreflang="he" data-title="תבנית:Val" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-jv mw-list-item"><a href="https://jv.wikipedia.org/wiki/Cithakan:Val" title="Cithakan:Val – Javanese" lang="jv" hreflang="jv" data-title="Cithakan:Val" data-language-autonym="Jawa" data-language-local-name="Javanese" class="interlanguage-link-target"><span>Jawa</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/%E1%83%97%E1%83%90%E1%83%A0%E1%83%92%E1%83%98:Val" title="თარგი:Val – Georgian" lang="ka" hreflang="ka" data-title="თარგი:Val" data-language-autonym="ქართული" data-language-local-name="Georgian" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-kk mw-list-item"><a href="https://kk.wikipedia.org/wiki/%D2%AE%D0%BB%D0%B3%D1%96:Val" title="Үлгі:Val – Kazakh" lang="kk" hreflang="kk" data-title="Үлгі:Val" data-language-autonym="Қазақша" data-language-local-name="Kazakh" class="interlanguage-link-target"><span>Қазақша</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/Formula:Numerus_articulatus" title="Formula:Numerus articulatus – Latin" lang="la" hreflang="la" data-title="Formula:Numerus articulatus" data-language-autonym="Latina" data-language-local-name="Latin" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lt mw-list-item"><a href="https://lt.wikipedia.org/wiki/%C5%A0ablonas:Val" title="Šablonas:Val – Lithuanian" lang="lt" hreflang="lt" data-title="Šablonas:Val" data-language-autonym="Lietuvių" data-language-local-name="Lithuanian" class="interlanguage-link-target"><span>Lietuvių</span></a></li><li class="interlanguage-link interwiki-lij mw-list-item"><a href="https://lij.wikipedia.org/wiki/Template:M" title="Template:M – Ligurian" lang="lij" hreflang="lij" data-title="Template:M" data-language-autonym="Ligure" data-language-local-name="Ligurian" class="interlanguage-link-target"><span>Ligure</span></a></li><li class="interlanguage-link interwiki-mai mw-list-item"><a href="https://mai.wikipedia.org/wiki/%E0%A4%86%E0%A4%95%E0%A5%83%E0%A4%A4%E0%A4%BF:Val" title="आकृति:Val – Maithili" lang="mai" hreflang="mai" data-title="आकृति:Val" data-language-autonym="मैथिली" data-language-local-name="Maithili" 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%D1%80%D0%B5%D0%B4%D0%BB%D0%BE%D1%88%D0%BA%D0%B0:%D0%92%D1%80%D0%B5%D0%B4" 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-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Val" title="ഫലകം:Val – Malayalam" lang="ml" hreflang="ml" data-title="ഫലകം:Val" data-language-autonym="മലയാളം" data-language-local-name="Malayalam" 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%B8%E0%A4%BE%E0%A4%9A%E0%A4%BE:Val" title="साचा:Val – Marathi" lang="mr" hreflang="mr" data-title="साचा:Val" data-language-autonym="मराठी" data-language-local-name="Marathi" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-mnw mw-list-item"><a href="https://mnw.wikipedia.org/wiki/%E1%80%91%E1%80%AC%E1%80%99%E1%80%BA%E1%80%95%E1%80%9C%E1%80%AD%E1%80%80%E1%80%BA:Val" title="ထာမ်ပလိက်:Val – Mon" lang="mnw" hreflang="mnw" data-title="ထာမ်ပလိက်:Val" data-language-autonym="ဘာသာမန်" data-language-local-name="Mon" class="interlanguage-link-target"><span>ဘာသာမန်</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Templat:Val" title="Templat:Val – Malay" lang="ms" hreflang="ms" data-title="Templat:Val" 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-cdo mw-list-item"><a href="https://cdo.wikipedia.org/wiki/%E6%A8%A1%E6%9D%BF:Val" title="模板:Val – Mindong" lang="cdo" hreflang="cdo" data-title="模板:Val" data-language-autonym="閩東語 / Mìng-dĕ̤ng-ngṳ̄" data-language-local-name="Mindong" class="interlanguage-link-target"><span>閩東語 / Mìng-dĕ̤ng-ngṳ̄</span></a></li><li class="interlanguage-link interwiki-mdf mw-list-item"><a href="https://mdf.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Val" title="Шаблон:Val – Moksha" lang="mdf" hreflang="mdf" data-title="Шаблон:Val" data-language-autonym="Мокшень" data-language-local-name="Moksha" class="interlanguage-link-target"><span>Мокшень</span></a></li><li class="interlanguage-link interwiki-my mw-list-item"><a href="https://my.wikipedia.org/wiki/%E1%80%90%E1%80%99%E1%80%BA%E1%80%B8%E1%80%95%E1%80%9C%E1%80%AD%E1%80%90%E1%80%BA:Val" title="တမ်းပလိတ်:Val – Burmese" lang="my" hreflang="my" data-title="တမ်းပလိတ်:Val" data-language-autonym="မြန်မာဘာသာ" data-language-local-name="Burmese" class="interlanguage-link-target"><span>မြန်မာဘာသာ</span></a></li><li class="interlanguage-link interwiki-fj mw-list-item"><a href="https://fj.wikipedia.org/wiki/Template:Val" title="Template:Val – Fijian" lang="fj" hreflang="fj" data-title="Template:Val" data-language-autonym="Na Vosa Vakaviti" data-language-local-name="Fijian" class="interlanguage-link-target"><span>Na Vosa Vakaviti</span></a></li><li class="interlanguage-link interwiki-ne mw-list-item"><a href="https://ne.wikipedia.org/wiki/%E0%A4%A2%E0%A4%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:Val" title="ढाँचा:Val – Nepali" lang="ne" hreflang="ne" data-title="ढाँचा:Val" data-language-autonym="नेपाली" data-language-local-name="Nepali" class="interlanguage-link-target"><span>नेपाली</span></a></li><li class="interlanguage-link interwiki-new mw-list-item"><a href="https://new.wikipedia.org/wiki/Template:Val" title="Template:Val – Newari" lang="new" hreflang="new" data-title="Template:Val" data-language-autonym="नेपाल भाषा" data-language-local-name="Newari" class="interlanguage-link-target"><span>नेपाल भाषा</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Template:Val" title="Template:Val – Japanese" lang="ja" hreflang="ja" data-title="Template:Val" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/Mal:Val" title="Mal:Val – Norwegian Nynorsk" lang="nn" hreflang="nn" data-title="Mal:Val" 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-or mw-list-item"><a href="https://or.wikipedia.org/wiki/%E0%AC%9B%E0%AC%BE%E0%AC%9E%E0%AD%8D%E0%AC%9A:Val" title="ଛାଞ୍ଚ:Val – Odia" lang="or" hreflang="or" data-title="ଛାଞ୍ଚ:Val" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="Odia" class="interlanguage-link-target"><span>ଓଡ଼ିଆ</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/Andoza:Val" title="Andoza:Val – Uzbek" lang="uz" hreflang="uz" data-title="Andoza:Val" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="Uzbek" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/%E1%9E%91%E1%9F%86%E1%9E%96%E1%9F%90%E1%9E%9A%E1%9E%82%E1%9F%86%E1%9E%9A%E1%9E%BC:Val" title="ទំព័រគំរូ:Val – Khmer" lang="km" hreflang="km" data-title="ទំព័រគំរូ:Val" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="Khmer" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Predefini%C3%A7%C3%A3o:Val" title="Predefinição:Val – Portuguese" lang="pt" hreflang="pt" data-title="Predefinição:Val" 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/Format:Val" title="Format:Val – Romanian" lang="ro" hreflang="ro" data-title="Format:Val" 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-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Val" title="Шаблон:Val – Russian" lang="ru" hreflang="ru" data-title="Шаблон:Val" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sa mw-list-item"><a href="https://sa.wikipedia.org/wiki/%E0%A4%AB%E0%A4%B2%E0%A4%95%E0%A4%AE%E0%A5%8D:Val" title="फलकम्:Val – Sanskrit" lang="sa" hreflang="sa" data-title="फलकम्:Val" data-language-autonym="संस्कृतम्" data-language-local-name="Sanskrit" class="interlanguage-link-target"><span>संस्कृतम्</span></a></li><li class="interlanguage-link interwiki-sco mw-list-item"><a href="https://sco.wikipedia.org/wiki/Template:Val" title="Template:Val – Scots" lang="sco" hreflang="sco" data-title="Template:Val" data-language-autonym="Scots" data-language-local-name="Scots" class="interlanguage-link-target"><span>Scots</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/Stampa:Val" title="Stampa:Val – Albanian" lang="sq" hreflang="sq" data-title="Stampa:Val" data-language-autonym="Shqip" data-language-local-name="Albanian" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-scn mw-list-item"><a href="https://scn.wikipedia.org/wiki/Template:M" title="Template:M – Sicilian" lang="scn" hreflang="scn" data-title="Template:M" data-language-autonym="Sicilianu" data-language-local-name="Sicilian" class="interlanguage-link-target"><span>Sicilianu</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B7%83%E0%B7%90%E0%B6%9A%E0%B7%92%E0%B6%BD%E0%B7%8A%E0%B6%BD:Val" title="සැකිල්ල:Val – Sinhala" lang="si" hreflang="si" data-title="සැකිල්ල:Val" 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/Template:Val" title="Template:Val – Simple English" lang="en-simple" hreflang="en-simple" data-title="Template:Val" 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-sd mw-list-item"><a href="https://sd.wikipedia.org/wiki/%D8%B3%D8%A7%D9%86%DA%86%D9%88:Val" title="سانچو:Val – Sindhi" lang="sd" hreflang="sd" data-title="سانچو:Val" data-language-autonym="سنڌي" data-language-local-name="Sindhi" class="interlanguage-link-target"><span>سنڌي</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/%C5%A0abl%C3%B3na:Val" title="Šablóna:Val – Slovak" lang="sk" hreflang="sk" data-title="Šablóna:Val" data-language-autonym="Slovenčina" data-language-local-name="Slovak" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Predloga:Val" title="Predloga:Val – Slovenian" lang="sl" hreflang="sl" data-title="Predloga:Val" data-language-autonym="Slovenščina" data-language-local-name="Slovenian" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:Val" title="داڕێژە:Val – Central Kurdish" lang="ckb" hreflang="ckb" data-title="داڕێژە:Val" data-language-autonym="کوردی" data-language-local-name="Central Kurdish" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Val" title="Шаблон:Val – Serbian" lang="sr" hreflang="sr" data-title="Шаблон:Val" data-language-autonym="Српски / srpski" data-language-local-name="Serbian" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sh mw-list-item"><a href="https://sh.wikipedia.org/wiki/%C5%A0ablon:Val" title="Šablon:Val – Serbo-Croatian" lang="sh" hreflang="sh" data-title="Šablon:Val" data-language-autonym="Srpskohrvatski / српскохрватски" data-language-local-name="Serbo-Croatian" class="interlanguage-link-target"><span>Srpskohrvatski / српскохрватски</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Malline:Val" title="Malline:Val – Finnish" lang="fi" hreflang="fi" data-title="Malline:Val" data-language-autonym="Suomi" data-language-local-name="Finnish" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Mall:Val" title="Mall:Val – Swedish" lang="sv" hreflang="sv" data-title="Mall:Val" 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%B5%E0%AE%BE%E0%AE%B0%E0%AF%8D%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%81%E0%AE%B0%E0%AF%81:Val" title="வார்ப்புரு:Val – Tamil" lang="ta" hreflang="ta" data-title="வார்ப்புரு:Val" data-language-autonym="தமிழ்" data-language-local-name="Tamil" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-kab mw-list-item"><a href="https://kab.wikipedia.org/wiki/Tal%C9%A3a:Val" title="Talɣa:Val – Kabyle" lang="kab" hreflang="kab" data-title="Talɣa:Val" data-language-autonym="Taqbaylit" data-language-local-name="Kabyle" class="interlanguage-link-target"><span>Taqbaylit</span></a></li><li class="interlanguage-link interwiki-roa-tara mw-list-item"><a href="https://roa-tara.wikipedia.org/wiki/Template:M" title="Template:M – Tarantino" lang="nap-x-tara" hreflang="nap-x-tara" data-title="Template:M" data-language-autonym="Tarandíne" data-language-local-name="Tarantino" class="interlanguage-link-target"><span>Tarandíne</span></a></li><li class="interlanguage-link interwiki-tt mw-list-item"><a href="https://tt.wikipedia.org/wiki/%D0%9A%D0%B0%D0%BB%D1%8B%D0%BF:Val" title="Калып:Val – Tatar" lang="tt" hreflang="tt" data-title="Калып:Val" data-language-autonym="Татарча / tatarça" data-language-local-name="Tatar" class="interlanguage-link-target"><span>Татарча / tatarça</span></a></li><li class="interlanguage-link interwiki-shn mw-list-item"><a href="https://shn.wikipedia.org/wiki/%E1%80%91%E1%82%85%E1%80%99%E1%80%BA%E1%80%B8%E1%80%95%E1%80%9C%E1%80%B5%E1%80%90%E1%80%BA%E1%82%89:Val" title="ထႅမ်းပလဵတ်ႉ:Val – Shan" lang="shn" hreflang="shn" data-title="ထႅမ်းပလဵတ်ႉ:Val" data-language-autonym="ၽႃႇသႃႇတႆး " data-language-local-name="Shan" 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%AE%E0%B1%82%E0%B0%B8:Val" title="మూస:Val – Telugu" lang="te" hreflang="te" data-title="మూస:Val" 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%B9%81%E0%B8%A1%E0%B9%88%E0%B9%81%E0%B8%9A%E0%B8%9A:%E0%B8%84%E0%B9%88%E0%B8%B2" 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/%C5%9Eablon:De%C4%9Fer" title="Şablon:Değer – Turkish" lang="tr" hreflang="tr" data-title="Şablon:Değer" 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%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Val" title="Шаблон:Val – Ukrainian" lang="uk" hreflang="uk" data-title="Шаблон:Val" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D8%B3%D8%A7%D9%86%DA%86%DB%81:Val" title="سانچہ:Val – Urdu" lang="ur" hreflang="ur" data-title="سانچہ:Val" data-language-autonym="اردو" data-language-local-name="Urdu" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-vec mw-list-item"><a href="https://vec.wikipedia.org/wiki/Mode%C5%82o:M" title="Modeło:M – Venetian" lang="vec" hreflang="vec" data-title="Modeło:M" data-language-autonym="Vèneto" data-language-local-name="Venetian" class="interlanguage-link-target"><span>Vèneto</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/B%E1%BA%A3n_m%E1%BA%ABu:Gi%C3%A1_tr%E1%BB%8B" title="Bản mẫu:Giá trị – Vietnamese" lang="vi" hreflang="vi" data-title="Bản mẫu:Giá trị" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamese" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/Template:Val" title="Template:Val – Wu" lang="wuu" hreflang="wuu" data-title="Template:Val" data-language-autonym="吴语" data-language-local-name="Wu" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-yo mw-list-item"><a href="https://yo.wikipedia.org/wiki/%C3%80d%C3%A0k%E1%BB%8D:Val" title="Àdàkọ:Val – Yoruba" lang="yo" hreflang="yo" data-title="Àdàkọ:Val" data-language-autonym="Yorùbá" data-language-local-name="Yoruba" class="interlanguage-link-target"><span>Yorùbá</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Template:Val" title="Template:Val – Cantonese" lang="yue" hreflang="yue" data-title="Template:Val" data-language-autonym="粵語" data-language-local-name="Cantonese" class="interlanguage-link-target"><span>粵語</span></a></li><li class="interlanguage-link interwiki-diq mw-list-item"><a href="https://diq.wikipedia.org/wiki/%C5%9Eablon:Val" title="Şablon:Val – Zazaki" lang="diq" hreflang="diq" data-title="Şablon:Val" data-language-autonym="Zazaki" data-language-local-name="Zazaki" class="interlanguage-link-target"><span>Zazaki</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Template:Val" title="Template:Val – Chinese" lang="zh" hreflang="zh" data-title="Template:Val" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-bdr mw-list-item"><a href="https://bdr.wikipedia.org/wiki/Templat:Val" title="Templat:Val – West Coast Bajau" lang="bdr" hreflang="bdr" data-title="Templat:Val" data-language-autonym="Bajau Sama" data-language-local-name="West Coast Bajau" class="interlanguage-link-target"><span>Bajau Sama</span></a></li><li class="interlanguage-link interwiki-dtp mw-list-item"><a href="https://dtp.wikipedia.org/wiki/Templat:Val" title="Templat:Val – Central Dusun" lang="dtp" hreflang="dtp" data-title="Templat:Val" data-language-autonym="Kadazandusun" data-language-local-name="Central Dusun" class="interlanguage-link-target"><span>Kadazandusun</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/Q6232996#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-template" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Template:Val" title="View the template [c]" accesskey="c"><span>Template</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Template_talk:Val" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Template:Val"><span>Read</span></a></li><li id="ca-viewsource" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Template:Val&action=edit" title="This page is protected. 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=Template:Val&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/Template:Val"><span>Read</span></a></li><li id="ca-more-viewsource" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Template:Val&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=Template:Val&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/Template:Val" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Template:Val" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Template:Val&oldid=1147767985" 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=Template:Val&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&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTemplate%3AVal"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTemplate%3AVal"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Template%3AVal&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" 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-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Template:Val" hreflang="en"><span>Meta-Wiki</span></a></li><li class="wb-otherproject-link wb-otherproject-wikibooks mw-list-item"><a href="https://en.wikibooks.org/wiki/Template:Val" hreflang="en"><span>Wikibooks</span></a></li><li class="wb-otherproject-link wb-otherproject-wikidata mw-list-item"><a href="https://www.wikidata.org/wiki/Template:Val" hreflang="en"><span>Wikidata</span></a></li><li class="wb-otherproject-link wb-otherproject-wikiversity mw-list-item"><a href="https://en.wikiversity.org/wiki/Template:Val" 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/Q6232996" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> <div id="mw-indicator-pp-default" class="mw-indicator"><div class="mw-parser-output"><span typeof="mw:File"><a href="/wiki/Wikipedia:Protection_policy#template" title="This high-risk template is permanently template-protected to prevent vandalism"><img alt="Permanently protected template" src="//upload.wikimedia.org/wikipedia/en/thumb/5/53/Template-protection-shackle.svg/20px-Template-protection-shackle.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/5/53/Template-protection-shackle.svg/30px-Template-protection-shackle.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/5/53/Template-protection-shackle.svg/40px-Template-protection-shackle.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></div></div> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r1237875617">.mw-parser-output .documentation,.mw-parser-output .documentation-metadata{border:1px solid #a2a9b1;background-color:#ecfcf4;clear:both}.mw-parser-output .documentation{margin:1em 0 0 0;padding:1em}.mw-parser-output .documentation-metadata{margin:0.2em 0;font-style:italic;padding:0.4em 1em}.mw-parser-output .documentation-startbox{padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex}.mw-parser-output .documentation-heading{font-weight:bold;font-size:125%}.mw-parser-output .documentation-clear{clear:both}.mw-parser-output .documentation-toolbar{font-style:normal;font-size:85%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .documentation,html.skin-theme-clientpref-night .mw-parser-output .documentation-metadata{background-color:#0b1e1c}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .documentation,html.skin-theme-clientpref-os .mw-parser-output .documentation-metadata{background-color:#0b1e1c}}</style><div class="documentation-container" role="complementary" aria-labelledby="documentation-heading"> <div class="documentation"> <div class="documentation-startbox"> <span class="documentation-heading" id="documentation-heading"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png" decoding="async" width="50" height="22" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/75px-Test_Template_Info-Icon_-_Version_%282%29.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/100px-Test_Template_Info-Icon_-_Version_%282%29.svg.png 2x" data-file-width="1792" data-file-height="800" /></span></span> Template documentation</span><span class="mw-editsection-like plainlinks">[<a href="/wiki/Template:Val/doc" title="Template:Val/doc">view</a>] [<a href="/wiki/Special:EditPage/Template:Val/doc" title="Special:EditPage/Template:Val/doc">edit</a>] [<a href="/wiki/Special:PageHistory/Template:Val/doc" title="Special:PageHistory/Template:Val/doc">history</a>] [<a href="/wiki/Special:Purge/Template:Val" title="Special:Purge/Template:Val">purge</a>]</span></div> <style data-mw-deduplicate="TemplateStyles:r1238436933">.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box;color:var(--color-base,#202122)}.mw-parser-output .ombox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .ombox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .ombox-delete{border:2px solid #b32424}.mw-parser-output .ombox-content{border:1px solid #f28500}.mw-parser-output .ombox-style{border:1px solid #fc3}.mw-parser-output .ombox-move{border:1px solid #9932cc}.mw-parser-output .ombox-protection{border:2px solid #a2a9b1}.mw-parser-output .ombox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .ombox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .ombox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .ombox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .ombox{margin:4px 10%}.mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}body.skin--responsive .mw-parser-output table.ombox img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ombox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ombox-speedy{background-color:#310402}}</style><table class="plainlinks ombox ombox-style" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="Warning" src="//upload.wikimedia.org/wikipedia/en/thumb/7/74/Ambox_warning_yellow.svg/40px-Ambox_warning_yellow.svg.png" decoding="async" width="40" height="35" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/7/74/Ambox_warning_yellow.svg/60px-Ambox_warning_yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/7/74/Ambox_warning_yellow.svg/80px-Ambox_warning_yellow.svg.png 2x" data-file-width="386" data-file-height="334" /></span></span></td><td class="mbox-text"><b>This template is used on <a class="external text" href="https://linkcount.toolforge.org/?project=en.wikipedia.org&page=Template%3AVal#transclusions">approximately 39,000 pages</a></b> and changes may be widely noticed. Test changes in the template's <a href="/wiki/Template:Val/sandbox" title="Template:Val/sandbox">/sandbox</a> or <a href="/wiki/Template:Val/testcases" title="Template:Val/testcases">/testcases</a> subpages, or in your own <a href="/wiki/Wikipedia:User_pages#SUB" title="Wikipedia:User pages">user subpage</a>. Consider discussing changes on the <a href="/wiki/Template_talk:Val" title="Template talk:Val">talk page</a> before implementing them.</td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238436933"><table class="box-Notice plainlinks ombox ombox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><a href="/wiki/File:Stop_hand_nuvola.svg" class="mw-file-description" title="Notice"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/40px-Stop_hand_nuvola.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/60px-Stop_hand_nuvola.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/80px-Stop_hand_nuvola.svg.png 2x" data-file-width="240" data-file-height="240" /></a></span></td><td class="mbox-text" style="text-align: left;">This template should not be used in citation templates such as <a href="/wiki/Help:Citation_Style_1" title="Help:Citation Style 1">Citation Style 1</a> and <a href="/wiki/Help:Citation_Style_2" title="Help:Citation Style 2">Citation Style 2</a>, because it includes markup that will pollute the <a href="/wiki/COinS" title="COinS">COinS</a> metadata they produce; see <a href="/wiki/Wikipedia:COinS" title="Wikipedia:COinS">Wikipedia:COinS</a>. </td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238436933"><table class="plainlinks ombox mbox-small ombox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/30px-Lua-Logo.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/45px-Lua-Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/60px-Lua-Logo.svg.png 2x" data-file-width="947" data-file-height="947" /></span></span></td><td class="mbox-text">This template uses <a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">Lua</a>: <div><ul><li><a href="/wiki/Module:Val" title="Module:Val">Module:Val</a> (<a href="/wiki/Module:Val/sandbox" title="Module:Val/sandbox">sandbox</a>)</li><li><a href="/wiki/Module:Val/units" title="Module:Val/units">Module:Val/units</a> (<a href="/wiki/Module:Val/units/sandbox" title="Module:Val/units/sandbox">sandbox</a>)</li></ul></div></td></tr></tbody></table> <p>This template is used to easily present values in <a href="/wiki/Scientific_notation" title="Scientific notation">scientific notation</a>, including uncertainty and/or units, as prescribed by Wikipedia's <a href="/wiki/Wikipedia:MOSNUM" class="mw-redirect" title="Wikipedia:MOSNUM">Manual of Style</a>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Introduction">Introduction</h2></div> <p>Val specializes in numeric <i>values</i>, especially those with <a href="/wiki/Scientific_notation" title="Scientific notation">scientific notations</a>, <a href="/wiki/Uncertainty#Measurements" title="Uncertainty">uncertainty notations</a>, and those with measurement <i>values</i> with physical units. Because these expressions are covered by the Manual of Style, Val provides the stylized output for you, and keeps them from wrapping across lines. </p><p>Express a numeral: </p> <ul><li><code>{{val|123456.78901}}</code> → <i>value</i>, formatted with gaps: <span class="nowrap"><span data-sort-value="7005123456789010000♠"></span>123<span style="margin-left:.25em;">456</span>.789<span style="margin-left:.25em;">01</span></span>, or with <code class="tpl-para" style="word-break:break-word;">|fmt=commas</code> → <span class="nowrap"><span data-sort-value="7005123456789010000♠"></span>123,456.78901</span></li> <li><code>{{val|<i>number</i>|<i>number</i>}}</code> → <i>value</i> ± <i>uncertainty</i>, like <span class="nowrap"><span data-sort-value="7005123478000000000♠"></span>123,478<span style="margin-left:0.3em;margin-right:0.15em;">±</span>56</span></li> <li><code>{{val|<i>number</i>|<span style="color:black;background:yellow">(</span><i>number</i><span style="color:black;background:yellow">)</span>}}</code> → <i>value</i>(<i>uncertainty</i>), like <span class="nowrap"><span data-sort-value="7004123450000000000♠"></span>12,345(56)</span></li> <li><code>{{val|<i>number</i>|<i>number</i>|<i>number</i>}}</code> →<i>value</i> <span class="nowrap"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left"><sup style="font-size:inherit;line-height:inherit;vertical-align:baseline">+uncertainty</sup><br /><sub style="font-size:inherit;line-height:inherit;vertical-align:baseline">−uncertainty</sub></span></span> like <span class="nowrap"><span data-sort-value="7003123400000000000♠"></span>1<span style="margin-left:.25em;">234</span><span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+56<br />−78</span></span></span></li></ul> <p>Express a measurement value: <code>{{val|4|ul=m2}}</code> → <span class="nowrap"><span data-sort-value="7000400000000000000♠"></span>4 <a href="/wiki/Square_metre" title="Square metre">m<sup>2</sup></a></span>. The <kbd>m2</kbd> is a "unit code" that Val uses to look up the link to the unit's article, and the formatting of the unit symbol. Val links the units to the page it has on file for them. See <span class="nowrap">{{</span><a href="/wiki/Template:Val/list" title="Template:Val/list">Val/list</a><span class="nowrap">}}</span>. </p><p>There are a large number of unit codes that Val understands and keeps "up to code". A unit code is the just abbreviated unit name, but these can get quite involved for a compound or composite unit, with "multipliers" or "dividers". See <a href="/wiki/Module:Val/units" title="Module:Val/units">Module:Val/units</a>. </p><p>Some unit-code flexibility is provided by having four parameters to work the unit-code system: whether to link one or not, (see <i><a href="/wiki/Wikipedia:Overlinking" class="mw-redirect" title="Wikipedia:Overlinking">Overlinking</a></i>), and whether to link the numerator or denominator of a unit ratio separately. </p> <ul><li><code>{{val|<i>number</i>|<b>ul=</b><i>unit code</i>}}</code> → <i>number <span style="color:blue;">symbol</span></i>, such as <span class="nowrap"><span data-sort-value="7006980000000000000♠"></span>9.8 <a href="/wiki/Square_kilometre" title="Square kilometre">km<sup>2</sup></a></span></li> <li><code>{{val|<i>number</i>|<b>u=</b><i>unit code</i>}}</code> → <i>number symbol</i>, such as <span class="nowrap"><span data-sort-value="7006980000000000000♠"></span>9.8 km<sup>2</sup></span></li> <li><code>{{val|<i>number</i>|<b>u=</b><i>unit code</i>|<b>u<span style="color:black;background:yellow">p</span>l=</b><i>unit code</i>}}</code> → <i>number</i> symbol<span style="font-size:120%"><span style="color:black;background:yellow">/</span></span><span style="color:blue;">symbol</span>, such as <span class="nowrap"><span data-sort-value="6999163333333333333♠"></span>9.8 gal/<a href="/wiki/Minute" title="Minute">min</a></span></li> <li><code>{{val|<i>number</i>|<b>ul=</b><i>unit code</i>|<b>u<span style="color:black;background:yellow">p</span>=</b><i>unit code</i>}}</code> → <i>number</i> <span style="color:blue;">symbol</span><span style="font-size:120%"><span style="color:black;background:yellow">/</span></span><i>symbol</i>, such as <span class="nowrap"><span data-sort-value="7009958236377239665♠"></span>9.8 <a href="/wiki/Parsec" title="Parsec">pc</a>/year</span></li></ul> <p>To bypass the unit code system, if <code class="tpl-para" style="word-break:break-word;">|u=</code> does not recognize your unit code, it will accept any wikitext and render it as usual. </p> <ul><li><code>{{val|5.4|u=[[kg]]&sdot;[[meter|m]]/s<sup>2</sup>}}</code> → <span class="nowrap"><span data-sort-value="7000540000000000000♠"></span>5.4 <a href="/wiki/Kg" class="mw-redirect" title="Kg">kg</a>⋅<a href="/wiki/Meter" class="mw-redirect" title="Meter">m</a>/s<sup>2</sup></span></li> <li><code>{{val|7.6|u=[[metre per second squared|m/s<sup>2</sup>]]}}</code> → <span class="nowrap"><span data-sort-value="7000760000000000000♠"></span>7.6 <a href="/wiki/Metre_per_second_squared" title="Metre per second squared">m/s<sup>2</sup></a></span></li></ul> <p>See <a href="/wiki/Module:Val/units" title="Module:Val/units">Module:Val/units</a> for how to add units to the unit code system. </p><p>Sometimes a number and unit code is not enough. A prefix or suffix are also available, <code class="tpl-para" style="word-break:break-word;">|p=</code> and <code class="tpl-para" style="word-break:break-word;">|s=</code>. </p> <ul><li><code>{{val|7600|u=C&sdot;Ga|p=>|s=<}}</code> → <span class="nowrap"><span data-sort-value="7003760000000000000♠"></span>>7600 C⋅Ga<</span></li> <li><code>{{val|7600|u=C|p=<span style="color:green"><sup>|s=</sup></span>}}</code> → <span class="nowrap"><span data-sort-value="7003760000000000000♠"></span><span style="color:green"><sup>7600 C</sup></span></span></li></ul> <p>See <span class="nowrap">{{</span><a href="/wiki/Template:Val/testcases" title="Template:Val/testcases">val/testcases</a><span class="nowrap">}}</span> to learn the val parameters by an example. It is comprehensive, and there are over 100 examples. </p> <div class="mw-heading mw-heading2"><h2 id="Arguments">Arguments</h2></div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">Further information: <a href="/wiki/Help:Template#Parameters" title="Help:Template">Help:Template § Parameters</a></div> <p>Val takes three unnamed parameters. The first is always the numeric value. When the second and third are numbers they become the various uncertainty notations, but the second unnamed parameter can also serve to <i>grammatically join</i> the first and third numbers. </p><p>Val clears surrounding spaces in its unnamed parameters. </p> <table cellspacing="15" cellpadding="0"> <tbody><tr> <td style="vertical-align:top;text-align: center;"><b>1st</b> or <code class="tpl-para" style="word-break:break-word;">|1=</code></td> <td>A number. Can be in <a href="/wiki/Radix_point" class="mw-redirect" title="Radix point">decimal point</a> notation or in <a href="/wiki/E_notation" class="mw-redirect" title="E notation">e notation</a>. This number is the basis of the Val formatting.<br /> <p><code>{{val|1234567.1234567}}</code> → <span class="nowrap"><span data-sort-value="7006123456712345670♠"></span>1<span style="margin-left:.25em;">234</span><span style="margin-left:.25em;">567</span>.123<span style="margin-left:.25em;">4567</span></span><br /> <code>{{val|.1234}}</code> → <span class="nowrap"><span data-sort-value="6999123400000000000♠"></span>0.1234</span> <span class="nowrap">                   </span>(adds the zero)<br /> <code>{{val|+1234}}</code> → <span class="nowrap"><span data-sort-value="7003123400000000000♠"></span>+1234</span> <span class="nowrap">                    </span>(displays the plus) <br /> <code>{{val|-1234}}</code> → <span class="nowrap"><span data-sort-value="2996876600000000000♠"></span>−1234</span> <span class="nowrap">                    </span>(replaces the <a href="/wiki/Hyphen-minus" title="Hyphen-minus">hyphen-minus</a> with a <a href="/wiki/Minus_sign" class="mw-redirect" title="Minus sign">minus sign</a>)<br /> <code>{{val|12e34}}</code> → <span class="nowrap"><span data-sort-value="7035119999999999999♠"></span>12<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>34</sup></span> <span class="nowrap">               </span>(<a href="/wiki/Scientific_notation#E_notation" title="Scientific notation">E notation</a>)<br /> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|fmt=</code> </td> <td>By default, numbers are formatted with gaps separating groups of three digits in both integer and fractional part.<br /> <p>However, by default, four-digit integers are not formatted; use <code class="tpl-para" style="word-break:break-word;">|fmt=gaps</code> to force gaps.<br /> Use <code class="tpl-para" style="word-break:break-word;">|fmt=commas</code> to delimit the integer part of the number with commas.<br /> Use <code class="tpl-para" style="word-break:break-word;">|fmt=none</code> for no formatting (no gaps or commas).<br /> <code>{{val|1234567.1234567}}</code> → <span class="nowrap"><span data-sort-value="7006123456712345670♠"></span>1<span style="margin-left:.25em;">234</span><span style="margin-left:.25em;">567</span>.123<span style="margin-left:.25em;">4567</span></span><br /> <code>{{val|1234567.1234567|fmt=commas}}</code> → <span class="nowrap"><span data-sort-value="7006123456712345670♠"></span>1,234,567.1234567</span><br /> <code>{{val|1234}}</code> → <span class="nowrap"><span data-sort-value="7003123400000000000♠"></span>1234</span><br /> <code>{{val|1234|fmt=gaps}}</code> → <span class="nowrap"><span data-sort-value="7003123400000000000♠"></span>1<span style="margin-left:.25em;">234</span></span><br /> <code>{{val|1234.5}}</code> → <span class="nowrap"><span data-sort-value="7003123450000000000♠"></span>1<span style="margin-left:.25em;">234</span>.5</span><br /> <code>{{val|1234.5|fmt=none}}</code> → <span class="nowrap"><span data-sort-value="7003123450000000000♠"></span>1234.5</span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|end=</code></td> <td>Put something at the end of the main number (before anything else that might follow). <br /> <p><code>{{val|11|end=[END]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11[END]</span><br /> <code>{{val|11|22|end=[END]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11[END]<span style="margin-left:0.3em;margin-right:0.15em;">±</span>22</span><br /> <code>{{val|1111|(22)|end=[END]}}</code> → <span class="nowrap"><span data-sort-value="7003111100000000000♠"></span>1111[END](22)</span><br /> <code>{{val|11|22|33|end=[END]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11[END]<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+22<br />−33</span></span></span><br /> <code>{{val|11|ul=m/s|end=[END]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11[END] <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a></span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><b>2nd</b> or <code class="tpl-para" style="word-break:break-word;">|2=</code></td> <td><a href="/wiki/Uncertainty#Measurements" title="Uncertainty">Uncertainty</a> in either format.<br /> <p><code>{{val|11|22}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11<span style="margin-left:0.3em;margin-right:0.15em;">±</span>22</span><br /> <code>{{Val|11|(22)}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11(22)</span><br /> A conjunction to join two numbers. Useful for ranges, grammatical output, etc.<br /> <code>{{val|11|-|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11–33</span><br /> <code>{{val|11|–|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11–33</span><br /> <code>{{val|11|,|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11, 33</span><br /> <code>{{val|11|by|33|e=9}}</code> → <span class="nowrap"><span data-sort-value="7010110000000000000♠"></span>(11 by 33)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>9</sup></span><br /> <code>{{val|11|and|33|end=[[$]]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11<a href="/wiki/$" class="mw-redirect" title="$">$</a> and 33<a href="/wiki/$" class="mw-redirect" title="$">$</a></span><br /> <code>{{val|11|or|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11 or 33</span><br /> <code>{{val|11|to|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11 to 33</span><br /> <code>{{val|11|x|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11 × 33</span><br /> <code>{{val|11|×|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11 × 33</span><br /> <code>{{val|11|/|33|ul=m/s}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11/33 <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a></span><br /> Note that for dashes or x's, the various kinds all obtain one properly styled output. </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><b>3rd</b> or <code class="tpl-para" style="word-break:break-word;">|3=</code> </td> <td>Asymmetric uncertainty.<br /> <p><code>{{Val|11|22|33}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+22<br />−33</span></span></span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: left;"><code class="tpl-para" style="word-break:break-word;">|errend=</code> or <code class="tpl-para" style="word-break:break-word;">|+errend=</code> and <code class="tpl-para" style="word-break:break-word;">|-errend=</code></td> <td>Appends something after an uncertainty.<br /> <p><code>{{val|11|22|errend=[Errend]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11<span style="margin-left:0.3em;margin-right:0.15em;">±</span>22[Errend]</span><br /> <code>{{val|11|22|33|+errend=[+Errend]|-errend=<−Errend>}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+22[+Errend]<br />−33<−Errend></span></span></span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|u=</code> or <code class="tpl-para" style="word-break:break-word;">|ul=</code></td> <td><a href="/wiki/Module:Val/units" title="Module:Val/units">The unit code</a>. Val adds a space and the unit.<br /> <p><code class="tpl-para" style="word-break:break-word;">|ul=</code> Link the unit.<br /> <code class="tpl-para" style="word-break:break-word;">|u=</code> Don't link the unit. Also accepts <a href="/wiki/Help:Wiki_markup" class="mw-redirect" title="Help:Wiki markup">wiki markup</a> in lieu of a unit code.<br /> <code>{{val|11|ul=m}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11 <a href="/wiki/Metre" title="Metre">m</a></span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|up=</code> or <code class="tpl-para" style="word-break:break-word;">|upl=</code></td> <td>A unit code, but instead of a space Val adds a slash and the unit, a "per" unit (the denominator), to form a ratio.<br /> <p><code class="tpl-para" style="word-break:break-word;">|upl=</code> Link the per unit.<br /> <code class="tpl-para" style="word-break:break-word;">|up=</code> Don't link the per unit.<br /> The ratio can be of two unit codes, or a prefix and a unit code. Val will add parentheses to disambiguate, if a unit code has a dot or a slash.<br /> <code>{{Val|11|ul=J/C|upl=F/m}}</code> → <span class="nowrap"><span data-sort-value="7001198000000000000♠"></span>11 (<a href="/wiki/Volt" title="Volt">J/C</a>)/(<a href="/wiki/Vacuum_permittivity" title="Vacuum permittivity">F/m</a>)</span><br /> <code>{{Val|11|upl=acre|p=$}}</code> → <span class="nowrap"><span data-sort-value="6997271815919613881♠"></span>$11/<a href="/wiki/Acre" title="Acre">acre</a></span><br /> <code>{{Val|11|ul=km/s|upl=Mpc}}</code> → <span class="nowrap"><span data-sort-value="6978356485721841673♠"></span>11 (<a href="/wiki/Metre_per_second" title="Metre per second">km/s</a>)/<a href="/wiki/Parsec#Megaparsecs_and_gigaparsecs" title="Parsec">Mpc</a></span><br /> <code>{{Val|11|ul=kg.m|upl=s-2}}</code> → <span class="nowrap"><span data-sort-value="7002107873150000000♠"></span>11 (<a href="/wiki/Kilogram_metre_(torque)" class="mw-redirect" title="Kilogram metre (torque)">kg⋅m</a>)/<a href="/wiki/Second" title="Second">s<sup>−2</sup></a></span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|p=</code></td> <td>Prefix the entire Val expression. Non-spaced, but accepts markup.<br /> <p><code>{{Val|11|22|ul=m/s|p=[Prefix]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>[Prefix]11<span style="margin-left:0.3em;margin-right:0.15em;">±</span>22 <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a></span><br /> <code>{{Val|11|22|ul=m/s|p=[Prefix]&nbsp;}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>[Prefix] 11<span style="margin-left:0.3em;margin-right:0.15em;">±</span>22 <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a></span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|s=</code></td> <td>Suffix the entire Val expression. Non-spaced, but accepts markup.<br /> <p><code>{{Val|11|22|ul=m/s|s=[Suffix]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11<span style="margin-left:0.3em;margin-right:0.15em;">±</span>22 <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a>[Suffix]</span><br /> <code>{{Val|11|22|ul=m/s|s=&nbsp;[Suffix]}}</code> → <span class="nowrap"><span data-sort-value="7001110000000000000♠"></span>11<span style="margin-left:0.3em;margin-right:0.15em;">±</span>22 <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a> [Suffix]</span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|e=</code> </td> <td>Exponent. Val alternatively accepts e notation in the first parameter; these are mutually exclusive (see "1st" argument above).<br /> <p><code>{{Val|11|22|33|e=11}}</code> → <span class="nowrap"><span data-sort-value="7012110000000000000♠"></span>11<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+22<br />−33</span></span><span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>11</sup></span><br /> <code>{{Val|11e11|22|33}}</code> → <span class="nowrap"><span data-sort-value="7012110000000000000♠"></span>11<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+22<br />−33</span></span><span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>11</sup></span><br /> <code>{{Val|e=33}}</code> → <span class="nowrap"><span data-sort-value="7033099999999999999♠"></span>10<sup>33</sup></span> </p> </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|long scale=</code></td> <td>Usually a unit is the short <a href="/wiki/Ton" title="Ton">ton</a> and <a href="/wiki/Billion" title="Billion">billion</a> means <span class="nowrap"><span data-sort-value="7009100000000000000♠"></span>1<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>9</sup></span>. But there are long versions of these units and others. Use <code class="tpl-para" style="word-break:break-word;">|long scale=on</code> to assign your unit to the long scale instead. The unit code's link will change and it will sort differently in tables. "See <a href="/wiki/Long_and_short_scales" title="Long and short scales">Long and short scales</a>". </td></tr> <tr> <td style="vertical-align:top;text-align: center;"><code class="tpl-para" style="word-break:break-word;">|nocategory=</code></td> <td>If set to any value, errors in the use of this template will not cause the page to be added to the <a href="/wiki/Category:Pages_with_incorrect_formatting_templates_use" title="Category:Pages with incorrect formatting templates use">Pages with incorrect formatting templates use</a> category. This is useful for documentation and test pages that do not need to be fixed. </td></tr> </tbody></table> <div class="mw-heading mw-heading2"><h2 id="Errors">Errors</h2></div> <p>There is strict checking on the validity of arguments; any incorrect use will result in an error. Pages that contain incorrect use of this template will show up on <a href="/wiki/Category:Pages_with_incorrect_formatting_templates_use" title="Category:Pages with incorrect formatting templates use">Category:Pages with incorrect formatting templates use</a>. </p><p>Val checks for unsupported parameters and gives a relatively subtle warning if found. See <a href="/wiki/Category:Pages_with_incorrect_formatting_templates_use" title="Category:Pages with incorrect formatting templates use">tracking category</a> to track any of these improper usages on existing on the wiki. Hold the mouse over "warning" to see details. Here is what warnings look like: </p> <ul><li><code>{{val|1.23|exp=6|u=m/s}}</code> → <span class="nowrap"><span data-sort-value="7000123000000000000♠"></span>1.23 m/s</span><span id="FormattingError"></span><strong class="error">Error in {{<a class="mw-selflink selflink">val</a>}}: Val parameter "exp=6" is not supported</strong></li> <li><code>{{val|1.23|us=kbit/s}}</code> → <span class="nowrap"><span data-sort-value="7000123000000000000♠"></span>1.23</span><span id="FormattingError"></span><strong class="error">Error in {{<a class="mw-selflink selflink">val</a>}}: Val parameter "us=kbit/s" is not supported</strong></li> <li><code>{{val|1.23|.05|.04|.03|u=m/s}}</code> → <span class="nowrap"><span data-sort-value="7000123000000000000♠"></span>1.23<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+0.05<br />−0.04</span></span> m/s</span><span id="FormattingError"></span><strong class="error">Error in {{<a class="mw-selflink selflink">val</a>}}: Val parameter 4 ignored</strong></li></ul> <div class="mw-heading mw-heading2"><h2 id="Format_of_numbers">Format of numbers</h2></div> <p><span class="nowrap">{{</span><a class="mw-selflink selflink">Val</a><span class="nowrap">}}</span> produces formatting compliant with Wikipedia's <a href="/wiki/Wikipedia:MOSNUM" class="mw-redirect" title="Wikipedia:MOSNUM">Manual of Style</a>. </p><p>The <a href="/wiki/Wikipedia:MOSNUM#Delimiting_(grouping_of_digits)" class="mw-redirect" title="Wikipedia:MOSNUM">MOS</a> recommends that numbers either be delimited using thin spaces either side of the decimal, or commas to the left and no delimiters to the right. Articles should be consistent with respect to the style of delimiting. The template defaults to the former style, this can be adjusted using <code>|fmt=</code> (see <a href="#Arguments">above</a>). </p> <div class="mw-heading mw-heading2"><h2 id="Sorting">Sorting</h2></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Further information: <a href="/wiki/Help:Sortable_tables" title="Help:Sortable tables">Help:Sortable tables</a></div> <p>The sort key for each sortable unit is visible at <a href="/wiki/Template:Val/list" title="Template:Val/list">Template:Val/list</a>. </p><p>Here is a live example showing the minimal markup for a sortable table: </p> <table> <tbody><tr> <td style="vertical-align:top;"> <div class="mw-highlight mw-highlight-lang-wikitext mw-content-ltr" dir="ltr"><pre><span></span><span class="p">{|</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"wikitable sortable floatright"</span><span class="w"> </span><span class="na">summary</span><span class="o">=</span><span class="s2">"Val sorting test"</span> <span class="p">|+</span><span class="gh"> Click to sort &darr;</span> <span class="p">|-</span> <span class="p">!</span><span class="gu"> Val sort test</span> <span class="p">!</span><span class="gu"> In base unit</span> <span class="p">!</span><span class="gu"> {{nobold|1=(unsort)}}</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>3<span class="p">|</span><span class="nl">ul</span><span class="o">=</span> Mm <span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>3000000<span class="p">|</span><span class="nl">u</span><span class="o">=</span>m<span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; font-size:small;"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">random number</span><span class="p">|</span>100<span class="p">|</span>1<span class="p">|</span>67<span class="p">}}</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>4e6<span class="p">|</span><span class="nl">ul</span><span class="o">=</span> m <span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>4000000<span class="p">|</span><span class="nl">u</span><span class="o">=</span>m<span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; font-size:small;"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">random number</span><span class="p">|</span>100<span class="p">|</span>3<span class="p">|</span>67<span class="p">}}</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>1<span class="p">|</span><span class="nl">ul</span><span class="o">=</span> km <span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>1000<span class="p">|</span><span class="nl">u</span><span class="o">=</span>m<span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; font-size:small;"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">random number</span><span class="p">|</span>100<span class="p">|</span>5<span class="p">|</span>67<span class="p">}}</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>5e3<span class="p">|</span><span class="nl">u</span><span class="o">=</span> m <span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>5000<span class="p">|</span><span class="nl">u</span><span class="o">=</span>m<span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; font-size:small;"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">random number</span><span class="p">|</span>100<span class="p">|</span>7<span class="p">|</span>67<span class="p">}}</span> <span class="p">|-</span> <span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>2<span class="p">|</span><span class="nl">u</span><span class="o">=</span> m <span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">val</span><span class="p">|</span>2<span class="p">|</span><span class="nl">u</span><span class="o">=</span>m<span class="p">}}</span> <span class="p">|</span><span class="w"> </span><span class="na">style</span><span class="o">=</span><span class="s2">"text-align:right; font-size:small;"</span><span class="w"> </span><span class="p">|</span> <span class="p">{{</span><span class="nt">random number</span><span class="p">|</span>100<span class="p">|</span>11<span class="p">|</span>67<span class="p">}}</span> <span class="p">|}</span> |} </pre></div> </td> <td style="vertical-align:top;"> <table class="wikitable sortable floatright" summary="Val sorting test"> <caption>Click to sort ↓ </caption> <tbody><tr> <th>Val sort test </th> <th>In base unit </th> <th><style data-mw-deduplicate="TemplateStyles:r886047488">.mw-parser-output .nobold{font-weight:normal}</style><span class="nobold">(unsort)</span> </th></tr> <tr> <td><span class="nowrap"><span data-sort-value="7006300000000000000♠"></span>3 <a href="/wiki/Megametre" class="mw-redirect" title="Megametre">Mm</a></span> </td> <td style="text-align:right"><span class="nowrap"><span data-sort-value="7006300000000000000♠"></span>3<span style="margin-left:.25em;">000</span><span style="margin-left:.25em;">000</span> m</span> </td> <td style="text-align:right; font-size:small;">97 </td></tr> <tr> <td><span class="nowrap"><span data-sort-value="7006400000000000000♠"></span>4<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>6</sup> <a href="/wiki/Metre" title="Metre">m</a></span> </td> <td style="text-align:right"><span class="nowrap"><span data-sort-value="7006400000000000000♠"></span>4<span style="margin-left:.25em;">000</span><span style="margin-left:.25em;">000</span> m</span> </td> <td style="text-align:right; font-size:small;">31 </td></tr> <tr> <td><span class="nowrap"><span data-sort-value="7003100000000000000♠"></span>1 <a href="/wiki/Kilometre" title="Kilometre">km</a></span> </td> <td style="text-align:right"><span class="nowrap"><span data-sort-value="7003100000000000000♠"></span>1000 m</span> </td> <td style="text-align:right; font-size:small;">65 </td></tr> <tr> <td><span class="nowrap"><span data-sort-value="7003500000000000000♠"></span>5<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>3</sup> m</span> </td> <td style="text-align:right"><span class="nowrap"><span data-sort-value="7003500000000000000♠"></span>5000 m</span> </td> <td style="text-align:right; font-size:small;">99 </td></tr> <tr> <td><span class="nowrap"><span data-sort-value="7000200000000000000♠"></span>2 m</span> </td> <td style="text-align:right"><span class="nowrap"><span data-sort-value="7000200000000000000♠"></span>2 m</span> </td> <td style="text-align:right; font-size:small;">67 </td></tr></tbody></table> </td></tr></tbody></table> <p>A sort value relates to a Val expression as follows. </p> <ol><li>The numeric value is a starting point.</li> <li>If the unit has an SI Prefix, that order of magnitude is applied.</li> <li>The value of the unit from its own <a href="/wiki/System_of_units" class="mw-redirect" title="System of units">system of units</a> is applied.</li> <li>If the unit is composite, each subunit is multiplied or divided per their <a href="/wiki/Dimensional_analysis#Definition" title="Dimensional analysis">dimension</a>.</li> <li>The result is passed to <span class="nowrap">{{</span><a href="/wiki/Template:Ntsh" class="mw-redirect" title="Template:Ntsh">ntsh</a><span class="nowrap">}}</span> which applies a normalization formula.</li> <li>The output of <span class="nowrap">{{ntsh}}</span> is added (behaviorally only, i.e. "hidden") into the table as usual, via the data-sort-value attribute of a table.</li></ol> <div class="mw-heading mw-heading2"><h2 id="More_example_expressions">More example expressions</h2></div> <div class="mw-heading mw-heading3"><h3 id="Number">Number</h3></div> <p><code>{{val|1234567.1234567}}</code> → <span class="nowrap"><span data-sort-value="7006123456712345670♠"></span>1<span style="margin-left:.25em;">234</span><span style="margin-left:.25em;">567</span>.123<span style="margin-left:.25em;">4567</span></span><br /> <code>⟨{{val|<span class="nowrap">  </span>1234567.1234567<span class="nowrap">   </span>}}⟩</code> → ⟨<span class="nowrap"><span data-sort-value="7006123456712345670♠"></span>1<span style="margin-left:.25em;">234</span><span style="margin-left:.25em;">567</span>.123<span style="margin-left:.25em;">4567</span></span>⟩<br /> <code>{{val|.1234567|fmt=commas}}</code> → <span class="nowrap"><span data-sort-value="6999123456700000000♠"></span>0.1234567</span><br /> <code>{{val|+1234567|fmt=commas}}</code> → <span class="nowrap"><span data-sort-value="7006123456700000000♠"></span>+1,234,567</span><br /> <code>{{val|-1234567}}</code> → <span class="nowrap"><span data-sort-value="2993876543300000000♠"></span>−1<span style="margin-left:.25em;">234</span><span style="margin-left:.25em;">567</span></span><br /> </p> <div class="mw-heading mw-heading3"><h3 id="Uncertainty">Uncertainty</h3></div> <p><code>{{val|1.234|0.005}}</code> → <span class="nowrap"><span data-sort-value="7000123400000000000♠"></span>1.234<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.005</span><br /> <code>{{val|1.234|0.005|e=3}}</code> → <span class="nowrap"><span data-sort-value="7003123400000000000♠"></span>(1.234<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.005)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>3</sup></span><br /> <code>{{val|1.234|+0.005|-0.006}}</code> → <span class="nowrap"><span data-sort-value="7000123400000000000♠"></span>1.234<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+0.005<br />−0.006</span></span></span><br /> <code>{{val|1.234|(5)}}</code> → <span class="nowrap"><span data-sort-value="7000123400000000000♠"></span>1.234(5)</span><br /> </p> <div class="mw-heading mw-heading3"><h3 id="Units">Units</h3></div> <p><code>{{val|1.234|u=m}}</code> → <span class="nowrap"><span data-sort-value="7000123400000000000♠"></span>1.234 m</span><br /> <code>{{val|1.234|u=m2}}</code> → <span class="nowrap"><span data-sort-value="7000123400000000000♠"></span>1.234 m<sup>2</sup></span><br /> <code>{{val|1.234|ul=m}}</code> → <span class="nowrap"><span data-sort-value="7000123400000000000♠"></span>1.234 <a href="/wiki/Metre" title="Metre">m</a></span><br /> <code>{{val|123.4|ul=USgal}}</code> → <span class="nowrap"><span data-sort-value="6999467119814145600♠"></span>123.4 <a href="/wiki/US_gallon" class="mw-redirect" title="US gallon">US gal</a></span><br /> <code>{{val|12.34|ul=mpgimp}}</code> → <span class="nowrap"><span data-sort-value="6993228914859264037♠"></span>12.34 <a href="/wiki/Fuel_economy_in_automobiles#Units_of_measure" title="Fuel economy in automobiles">mpg</a><sub>‑<a href="/wiki/Imperial_units" title="Imperial units">imp</a></sub></span><br /> </p><p><code>{{val|12.34|u=deg}}</code> → <span class="nowrap"><span data-sort-value="6999215373629696100♠"></span>12.34°</span><br /> <code>{{val|1.234|0.005|u='}}</code> → <span class="nowrap"><span data-sort-value="6996358956049493501♠"></span>1.234′<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.005′</span><br /> <code>{{val|1.234|+0.005|-0.006|u="}}</code> → <span class="nowrap"><span data-sort-value="6994598260082489168♠"></span>1.234″<span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+0.005″<br />−0.006″</span></span></span><br /> </p><p><code>{{val|1.234|u=%}}</code> → <span class="nowrap"><span data-sort-value="6998123400000000000♠"></span>1.234%</span><br /> <code>{{val|1.234|end=&nbsp;[[m/s]]}}</code> → <span class="nowrap"><span data-sort-value="7000123400000000000♠"></span>1.234 <a href="/wiki/M/s" class="mw-redirect" title="M/s">m/s</a></span><br /> </p><p><code>{{val|12.34|u=degC}}</code> → <span class="nowrap"><span data-sort-value="7002285489999999999♠"></span>12.34 °C</span><br /> <code>{{val|12.34|u=K}}</code> → <span class="nowrap"><span data-sort-value="7001123400000000000♠"></span>12.34 K</span><br /> </p> <div class="mw-heading mw-heading3"><h3 id="Exponents">Exponents</h3></div> <p><code>{{val|e=5}}</code> → <span class="nowrap"><span data-sort-value="7005100000000000000♠"></span>10<sup>5</sup></span><br /> <code>{{val|e=5|ul=m}}</code> → <span class="nowrap"><span data-sort-value="7005100000000000000♠"></span>10<sup>5</sup> <a href="/wiki/Metre" title="Metre">m</a></span> </p><p><code>{{val|1.234e5|ul=m}}</code> → <span class="nowrap"><span data-sort-value="7005123400000000000♠"></span>1.234<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>5</sup> <a href="/wiki/Metre" title="Metre">m</a></span><br /> <code>{{val|1.234|e=5|ul=m}}</code> → <span class="nowrap"><span data-sort-value="7005123400000000000♠"></span>1.234<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>5</sup> <a href="/wiki/Metre" title="Metre">m</a></span> </p><p><code>{{val|1.234e7|0.056}}</code> → <span class="nowrap"><span data-sort-value="7007123400000000000♠"></span>(1.234<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.056)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>7</sup></span><br /> <code>{{val|1.234|0.056|e=7}}</code> → <span class="nowrap"><span data-sort-value="7007123400000000000♠"></span>(1.234<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.056)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>7</sup></span> </p><p><code>{{val|1.23456e-9|+0.00007|-0.00008|ul=m/s}}</code> → <span class="nowrap"><span data-sort-value="6991123456000000000♠"></span>1.234<span style="margin-left:.25em;">56</span><span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+0.000<span style="margin-left:.25em;">07</span><br />−0.000<span style="margin-left:.25em;">08</span></span></span><span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>−9</sup> <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a></span><br /> <code>{{val|1.23456|+0.00007|-0.00008|e=-9|ul=m/s}}</code> → <span class="nowrap"><span data-sort-value="6991123456000000000♠"></span>1.234<span style="margin-left:.25em;">56</span><span style="margin-left:0.3em;"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:right;">+0.000<span style="margin-left:.25em;">07</span><br />−0.000<span style="margin-left:.25em;">08</span></span></span><span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>−9</sup> <a href="/wiki/Metre_per_second" title="Metre per second">m/s</a></span> </p><p><code>{{val|1.234e7|0.056|ul=psi}}</code> → <span class="nowrap"><span data-sort-value="7010850813049976975♠"></span>(1.234<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.056)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>7</sup> <a href="/wiki/Pounds_per_square_inch" class="mw-redirect" title="Pounds per square inch">psi</a></span><br /> <code>{{val|1.234|0.056|e=7|ul=psi}}</code> → <span class="nowrap"><span data-sort-value="7010850813049976975♠"></span>(1.234<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.056)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>7</sup> <a href="/wiki/Pounds_per_square_inch" class="mw-redirect" title="Pounds per square inch">psi</a></span> </p><p><code>{{val|1.234e-2|(5)}}</code> → <span class="nowrap"><span data-sort-value="6998123400000000000♠"></span>1.234(5)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>−2</sup></span><br /> <code>{{val|1.234|(5)|e=-2}}</code> → <span class="nowrap"><span data-sort-value="6998123400000000000♠"></span>1.234(5)<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>−2</sup></span> </p> <div class="mw-heading mw-heading3"><h3 id="Prefix/suffix"><span id="Prefix.2Fsuffix"></span>Prefix/suffix</h3></div> <p><code>{{val|12.34|p=Δ&nbsp;}}</code> → <span class="nowrap"><span data-sort-value="7001123400000000000♠"></span>Δ 12.34</span><br /> <code>{{val|12.34|u=%|p=≅}}</code> → <span class="nowrap"><span data-sort-value="6999123400000000000♠"></span>≅12.34%</span><br /> <code>{{val|12.34|0.25|s=%}}</code> → <span class="nowrap"><span data-sort-value="7001123400000000000♠"></span>12.34<span style="margin-left:0.3em;margin-right:0.15em;">±</span>0.25%</span><br /> </p> <div class="mw-heading mw-heading3"><h3 id="Numerator/denominator"><span id="Numerator.2Fdenominator"></span>Numerator/denominator</h3></div> <p><code>{{val|1.234|e=7|ul=W|up=m2}}</code> → <span class="nowrap"><span data-sort-value="7007123400000000000♠"></span>1.234<span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>7</sup> <a href="/wiki/Watt" title="Watt">W</a>/m<sup>2</sup></span><br /> </p> <div class="mw-heading mw-heading3"><h3 id="Repeating_digits">Repeating digits</h3></div> <p><code>{{val|1.2|end={{overline|34}}|e=7|ul=W|up=m2}}</code> → <span class="nowrap"><span data-sort-value="7007120000000000000♠"></span>1.2<span style="text-decoration:overline;">34</span><span style="margin-left:0.25em;margin-right:0.15em;">×</span>10<sup>7</sup> <a href="/wiki/Watt" title="Watt">W</a>/m<sup>2</sup></span> </p> <div class="mw-heading mw-heading3"><h3 id="Even_more_examples">Even more examples</h3></div> <p>See the testcases at <span class="nowrap">{{</span><a href="/wiki/Template:Val/testcases" title="Template:Val/testcases">val/testcases</a><span class="nowrap">}}</span>. </p> <div class="mw-heading mw-heading2"><h2 id="FAQ_and_comments">FAQ and comments</h2></div> <dl><dt>Q. Why should I use Val?</dt> <dd>A1. Val formats numbers: <ul><li>inserts spaces between groups of digits, meeting <a href="/wiki/MOS:NUM" class="mw-redirect" title="MOS:NUM">MoS standards</a>,</li> <li>formats standard <a href="/wiki/Uncertainty#Measurements" title="Uncertainty">uncertainties in measurements</a>, providing a ± character, correct spacing, and correct alignment,</li> <li>formats <a href="/wiki/Exponentiation" title="Exponentiation">exponents of 10</a> and <a href="/wiki/Scientific_notation" title="Scientific notation">scientific notation</a>,</li> <li>replaces "-" (hyphen) with a "−" (minus sign).</li></ul></dd> <dd>A2. Val preserves spacing: <ul><li>It makes sure the value does not <a href="/wiki/Word_wrap" class="mw-redirect" title="Word wrap">wrap</a> at the end of a line, so that it can always be read as a single value on one line in the text.</li> <li>It spaces the various parts of the value where they should be.</li></ul></dd> <dd>A3. Configuring Val gives you your own code for automating the markup for, and a link to, any units in the entire Encyclopedia.</dd> <dd>A4. Val helps make Wikipedia more consistent. It adheres to the <a href="/wiki/Wikipedia:MOSNUM" class="mw-redirect" title="Wikipedia:MOSNUM">Wikipedia Manual of Style for numbers</a>. Updates to the MoS can be applied to this template and result in automatic modification on values that use it. All this makes sure all values on all pages have the same <a href="/wiki/Look_and_feel" title="Look and feel">look and feel</a> because they will all use the same <a href="/wiki/Letter-spacing" class="mw-redirect" title="Letter-spacing">spacing</a>, <a href="/wiki/Font" title="Font">font size</a>, positioning, etc, and makes updating and checking by the bots easier because they can recognize a value for what it is.</dd> <dt>Q. Why not use <math>?</dt> <dd>A. For the same reasons <a href="/wiki/Help:Math#Pros_of_HTML" class="mw-redirect" title="Help:Math">HTML might be preferred over TeX</a>: <ul><li>Because the <a href="/wiki/Font" title="Font">font</a> in math tags differs both in face and size from the prose, which can disturb the layout of a page when used inline with the prose.</li> <li>You cannot <a href="/wiki/Cut,_copy,_and_paste" title="Cut, copy, and paste">cut and paste</a> a bitmap image rendered by the LaTeX.</li> <li>Images are slower to load and use more bandwidth, which is especially bad for the mobile version of Wikipedia.</li> <li><math> does not automatically easily align to the Manual of Style for numbers.</li></ul></dd></dl> <dl><dt>Q. Are there any known issues with Val?</dt> <dd>A1: This template is now a new Lua module as of Aug 6, 2015. Technically, there is no good reason not to try Val.</dd> <dd>A2. Issues are solved rapidly by an active set of responsive template coders. See the talk page.</dd> <dt>Q. How should I use Val?</dt> <dd>A1. Val probably already has your unit on <a href="/wiki/Module:Val/units" title="Module:Val/units">its current list</a>. If not, add your own unit there.</dd> <dd>A2. To avoid <a href="/wiki/Wikipedia:OVERLINKING" class="mw-redirect" title="Wikipedia:OVERLINKING">overlinking</a>, switch from <code class="tpl-para" style="word-break:break-word;">|ul=</code> to <code class="tpl-para" style="word-break:break-word;">|u=</code> and from <code class="tpl-para" style="word-break:break-word;">|upl=</code> to <code class="tpl-para" style="word-break:break-word;">|up=</code>.</dd> <dd>A3. Any time you have a unit to link or a table to sort, Val already setup with that unit's link and sorting value.</dd> <dd>A3. Use Val along with <span class="nowrap">{{</span><a href="/wiki/Template:Convert" title="Template:Convert">Convert</a><span class="nowrap">}}</span>. See <a href="/wiki/Module:Convert/data" title="Module:Convert/data">how to add units to Convert</a>.</dd> <dd>A4. Where consistent styling of long list articles, with many hundreds or thousands of numbers or units is needed.</dd></dl> <div class="mw-heading mw-heading2"><h2 id="Redirects">Redirects</h2></div> <ul><li><a href="/wiki/Template:Units" class="mw-redirect" title="Template:Units">Template:Units</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div> <ul><li><a href="/wiki/Module:Val" title="Module:Val">Module:Val</a></li> <li><a href="/wiki/Module:Val/units" title="Module:Val/units">Module:Val/units</a></li> <li><a href="/wiki/Module:Convert/data" title="Module:Convert/data">Module:Convert/data</a></li> <li><a href="/wiki/Template:Convert" title="Template:Convert">Template:Convert</a></li> <li><a href="/wiki/Template:Gaps" title="Template:Gaps">Template:Gaps</a></li> <li><a href="/wiki/Template:Round" title="Template:Round">Template:Round</a></li> <li><a href="/wiki/Template:Scinote" title="Template:Scinote">Template:Scinote</a> to display a value in scientific notation</li> <li><a href="/wiki/Template:10%5E" title="Template:10^">Template:10^</a> to display a power of ten</li></ul> <div class="mw-heading mw-heading2"><h2 id="TemplateData">TemplateData</h2></div> <div class="templatedata-header">This is the <a href="/wiki/Wikipedia:TemplateData" title="Wikipedia:TemplateData">TemplateData</a> for this template used by <a href="https://www.mediawiki.org/wiki/Extension:TemplateWizard" class="extiw" title="mw:Extension:TemplateWizard">TemplateWizard</a>, <a href="/wiki/Wikipedia:VisualEditor" title="Wikipedia:VisualEditor">VisualEditor</a> and other tools. <a rel="nofollow" class="external text" href="https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=Val">See a monthly parameter usage report</a> for <a class="mw-selflink selflink">Template:Val</a> in articles based on its TemplateData. <p><b>TemplateData for Val</b> </p> </div> <section class="mw-templatedata-doc-wrap"><header><p class="mw-templatedata-doc-desc">This template is used to easily present values in scientific notation, including uncertainty and/or units, as prescribed by Wikipedia's Manual of Style.</p></header><table class="wikitable mw-templatedata-doc-params sortable"><caption><p class="mw-templatedata-caption">Template parameters<span class="mw-editsection-like"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Template:Val/doc&action=edit&templatedata=edit" title="Template:Val/doc">Edit template data</a><span class="mw-editsection-bracket">]</span></span></p><p><span class="oo-ui-widget oo-ui-widget-enabled oo-ui-iconElement-icon oo-ui-icon-template-format-inline oo-ui-iconElement oo-ui-labelElement-invisible oo-ui-iconWidget"></span><span class="mw-templatedata-format">This template prefers inline formatting of parameters.</span></p></caption><thead><tr><th colspan="2">Parameter</th><th>Description</th><th>Type</th><th>Status</th></tr></thead><tbody><tr><th>Number</th><td class="mw-templatedata-doc-param-name"><code>1</code></td><td><p>A number in decimal point notation or in e notation. The main basis of the Val expression.</p><dl><dt>Example</dt><dd>-12.12345e9</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-required" data-sort-value="2">required</td></tr><tr><th>Uncertainty</th><td class="mw-templatedata-doc-param-name"><code>2</code></td><td><p class="mw-templatedata-doc-muted">no description</p><dl></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Asymmetric uncertainty -</th><td class="mw-templatedata-doc-param-name"><code>3</code></td><td><p class="mw-templatedata-doc-muted">no description</p><dl></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Format</th><td class="mw-templatedata-doc-param-name"><code>fmt</code></td><td><p>By default, numbers are formatted with gaps separating groups of three digits in both integer and fractional part. However, by default, four-digit integers are not formatted; use "gaps" (without quotes) to force gaps. Use the value "commas" (without quotes) to delimit the integer part of the number with commas. Use "none" (without quotes) for no formatting (no gaps or commas).</p><dl><dt>Suggested values</dt><dd><code>gaps</code> <code>commas</code> <code>none</code></dd><dt>Example</dt><dd>commas</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>End</th><td class="mw-templatedata-doc-param-name"><code>end</code></td><td><p>Put something at the end of the main number (before anything else that might follow).</p><dl></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Unit</th><td class="mw-templatedata-doc-param-name"><code>u</code></td><td><p>The unit code. A space and the unit will be added after the number.</p><dl><dt>Example</dt><dd>m</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Unit – wikilinked</th><td class="mw-templatedata-doc-param-name"><code>ul</code></td><td><p>The unit code that will be wikilinked to a page with information about the unit. A space and this unit will be added after the number.</p><dl><dt>Example</dt><dd>m</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Unit to be prefixed with a slash (/)</th><td class="mw-templatedata-doc-param-name"><code>up</code></td><td><p>A unit code, but instead of a space, the template adds a slash and the unit, a "per" unit (the denominator), to form a ratio.</p><dl><dt>Example</dt><dd>s</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Unit to be prefixed with a slash (/) – wikilinked</th><td class="mw-templatedata-doc-param-name"><code>upl</code></td><td><p>A wikilinked unit code, but instead of a space, the template adds a slash and the unit, a "per" unit (the denominator), to form a ratio.</p><dl><dt>Example</dt><dd>s</dd></dl></td><td class="mw-templatedata-doc-param-type">String</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Prefix</th><td class="mw-templatedata-doc-param-name"><code>p</code></td><td><p>Prefix for the entire Val expression. Non-spaced, but accepts markup.</p><dl></dl></td><td class="mw-templatedata-doc-param-type">Content</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Suffix</th><td class="mw-templatedata-doc-param-name"><code>s</code></td><td><p>Suffix for the entire Val expression. Non-spaced, but accepts markup.</p><dl></dl></td><td class="mw-templatedata-doc-param-type">Content</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>Exponent</th><td class="mw-templatedata-doc-param-name"><code>e</code></td><td><p>Val alternatively accepts e notation in the first parameter; these are mutually exclusive (see the Number parameter).</p><dl><dt>Example</dt><dd>9</dd></dl></td><td class="mw-templatedata-doc-param-type">Number</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>errend</th><td class="mw-templatedata-doc-param-name"><code>errend</code></td><td><p class="mw-templatedata-doc-muted">no description</p><dl></dl></td><td class="mw-templatedata-doc-param-type mw-templatedata-doc-muted">Unknown</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>4</th><td class="mw-templatedata-doc-param-name"><code>4</code></td><td><p class="mw-templatedata-doc-muted">no description</p><dl></dl></td><td class="mw-templatedata-doc-param-type mw-templatedata-doc-muted">Unknown</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr><tr><th>5</th><td class="mw-templatedata-doc-param-name"><code>5</code></td><td><p class="mw-templatedata-doc-muted">no description</p><dl></dl></td><td class="mw-templatedata-doc-param-type mw-templatedata-doc-muted">Unknown</td><td class="mw-templatedata-doc-param-status-optional" data-sort-value="0">optional</td></tr></tbody></table></section> <div class="documentation-clear"></div> </div> <div role="note" class="documentation-metadata plainlinks">The above <a href="/wiki/Wikipedia:Template_documentation" title="Wikipedia:Template documentation">documentation</a> is <a href="/wiki/Help:Transclusion" title="Help:Transclusion">transcluded</a> from <a href="/wiki/Template:Val/doc" title="Template:Val/doc">Template:Val/doc</a>. <span class="documentation-toolbar">(<a href="/wiki/Special:EditPage/Template:Val/doc" title="Special:EditPage/Template:Val/doc">edit</a> | <a href="/wiki/Special:PageHistory/Template:Val/doc" title="Special:PageHistory/Template:Val/doc">history</a>)</span><br />Editors can experiment in this template's <a href="/wiki/Template:Val/sandbox" title="Template:Val/sandbox">sandbox</a> <span class="documentation-toolbar">(<a href="/wiki/Special:EditPage/Template:Val/sandbox" title="Special:EditPage/Template:Val/sandbox">edit</a> | <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Template%3AVal&page2=Template%3AVal%2Fsandbox">diff</a>)</span> and <a href="/wiki/Template:Val/testcases" title="Template:Val/testcases">testcases</a> <span class="documentation-toolbar">(<a href="/wiki/Special:EditPage/Template:Val/testcases" title="Special:EditPage/Template:Val/testcases">edit</a>)</span> pages.<br />Add categories to the <a href="/wiki/Template:Val/doc" title="Template:Val/doc">/doc</a> subpage. <a href="/wiki/Special:PrefixIndex/Template:Val/" title="Special:PrefixIndex/Template:Val/">Subpages of this template</a>.</div></div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐849f99967d‐phcpv Cached time: 20241124051723 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐page‐id, vary‐revision‐sha1, show‐toc] CPU time usage: 0.342 seconds Real time usage: 0.416 seconds Preprocessor visited node count: 3503/1000000 Post‐expand include size: 210965/2097152 bytes Template argument size: 2959/2097152 bytes Highest expansion depth: 16/100 Expensive parser function count: 10/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 19502/5000000 bytes Lua time usage: 0.195/10.000 seconds Lua memory usage: 5548717/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 345.416 1 -total 100.00% 345.416 1 Template:Documentation 84.75% 292.738 1 Template:Val/doc 29.73% 102.677 109 Template:Val 8.50% 29.351 2 Template:Details 7.39% 25.525 1 Template:High-use 3.05% 10.548 1 Template:Lua 3.03% 10.474 1 Template:TemplateData_header 2.59% 8.956 1 Template:COinS_safe 2.15% 7.424 1 Template:Notice --> <!-- Saved in parser cache with key enwiki:pcache:idhash:16592146-0!canonical and timestamp 20241124051723 and revision id 1147767985. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Template:Val&oldid=1147767985">https://en.wikipedia.org/w/index.php?title=Template:Val&oldid=1147767985</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Mathematical_formatting_templates" title="Category:Mathematical formatting templates">Mathematical formatting templates</a></li><li><a href="/wiki/Category:Superscript_and_subscript_templates" title="Category:Superscript and subscript templates">Superscript and subscript templates</a></li><li><a href="/wiki/Category:Sorting_templates" title="Category:Sorting templates">Sorting templates</a></li><li><a href="/wiki/Category:Abbreviation_templates" title="Category:Abbreviation templates">Abbreviation templates</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:Wikipedia_template-protected_templates" title="Category:Wikipedia template-protected templates">Wikipedia template-protected templates</a></li><li><a href="/wiki/Category:Templates_not_safe_for_use_in_citation_templates" title="Category:Templates not safe for use in citation templates">Templates not safe for use in citation templates</a></li><li><a href="/wiki/Category:Lua-based_templates" title="Category:Lua-based templates">Lua-based templates</a></li><li><a href="/wiki/Category:Convert-like_templates" title="Category:Convert-like templates">Convert-like templates</a></li><li><a href="/wiki/Category:Templates_using_TemplateData" title="Category:Templates using TemplateData">Templates using TemplateData</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 2 April 2023, at 01:46<span class="anonymous-show"> (UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Template:Val&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.canary-84779d6bf6-crlgt","wgBackendResponseTime":135,"wgPageParseReport":{"limitreport":{"cputime":"0.342","walltime":"0.416","ppvisitednodes":{"value":3503,"limit":1000000},"postexpandincludesize":{"value":210965,"limit":2097152},"templateargumentsize":{"value":2959,"limit":2097152},"expansiondepth":{"value":16,"limit":100},"expensivefunctioncount":{"value":10,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":19502,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 345.416 1 -total","100.00% 345.416 1 Template:Documentation"," 84.75% 292.738 1 Template:Val/doc"," 29.73% 102.677 109 Template:Val"," 8.50% 29.351 2 Template:Details"," 7.39% 25.525 1 Template:High-use"," 3.05% 10.548 1 Template:Lua"," 3.03% 10.474 1 Template:TemplateData_header"," 2.59% 8.956 1 Template:COinS_safe"," 2.15% 7.424 1 Template:Notice"]},"scribunto":{"limitreport-timeusage":{"value":"0.195","limit":"10.000"},"limitreport-memusage":{"value":5548717,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-849f99967d-phcpv","timestamp":"20241124051723","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>