<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Item_tree_analysis</id>
	<title>Item tree analysis - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Item_tree_analysis"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Item_tree_analysis&amp;action=history"/>
	<updated>2026-04-18T16:07:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Item_tree_analysis&amp;diff=260333&amp;oldid=prev</id>
		<title>en&gt;Dexbot: Bot: Fixing broken section link</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Item_tree_analysis&amp;diff=260333&amp;oldid=prev"/>
		<updated>2014-12-17T14:57:19Z</updated>

		<summary type="html">&lt;p&gt;Bot: Fixing broken section link&lt;/p&gt;
&lt;a href=&quot;https://en.formulasearchengine.com/index.php?title=Item_tree_analysis&amp;amp;diff=260333&amp;amp;oldid=21915&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>en&gt;Dexbot</name></author>
	</entry>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Item_tree_analysis&amp;diff=21915&amp;oldid=prev</id>
		<title>en&gt;DerBorg: /* Example of an application */ fix image link</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Item_tree_analysis&amp;diff=21915&amp;oldid=prev"/>
		<updated>2011-10-03T17:57:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Example of an application: &lt;/span&gt; fix image link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation subpage}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
{{Intricate template}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
This template is used to easily present values in [[scientific notation]], including uncertainty and/or units, as prescribed by Wikipedia&amp;#039;s [[WP:MOSNUM|Manual of Style]]. It wraps the entire result in a {{tl|nowrap}} block, so that it never gets broken into separate pieces at the end of a line. (See [[WP:NBSP]] for more information on the usage of non-breaking spaces.)&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
There are four ways this template can be used:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;val|&amp;#039;&amp;#039;number&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - for displaying values without uncertainty/significance.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;val|&amp;#039;&amp;#039;number&amp;#039;&amp;#039;|&amp;#039;&amp;#039;uncertainty&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - for displaying values with uncertainty like so {{val|1234|56}}.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;val|&amp;#039;&amp;#039;number&amp;#039;&amp;#039;|&amp;#039;&amp;#039;upper uncertainty&amp;#039;&amp;#039;|&amp;#039;&amp;#039;lower uncertainty&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - for displaying values with uncertainty like so {{val|1234|+56|-78}}.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;val|&amp;#039;&amp;#039;number&amp;#039;&amp;#039;|(&amp;#039;&amp;#039;significance&amp;#039;&amp;#039;)&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; - for displaying values with significance like so {{val|1234|(56)}}.&lt;br /&gt;
They all take roughly the same arguments&lt;br /&gt;
{|&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;  || The value (must be a valid number)&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039;  || The (upper limit of) uncertainty (must be a valid number) or significance (must be a valid number in parenthesis)&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039;  || The lower limit of uncertainty (must be a valid negative number)&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;  || The exponent for the power of 10 (optional). This will show up in the result as &amp;quot;&amp;lt;span style=&amp;quot;margin-left:0.25em;margin-right:0.15em&amp;quot;&amp;gt;×&amp;lt;/span&amp;gt;10{{su|p=e}}&amp;quot;.&lt;br /&gt;
:Values (arguments &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;–&amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;e&amp;#039;&amp;#039;&amp;#039;) are run through code copied from {{tl|delimitnum}} for readability, except for argument &amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039; when it is surrounded by parenthesis. &amp;#039;&amp;#039;&amp;#039;This currently causes an error for large numbers, numbers that require high precision and numbers that have zeros after the decimal point. This last issue is being addressed, the other issues require changes to the Wikipedia software.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;u&amp;#039;&amp;#039;&amp;#039; / &amp;#039;&amp;#039;&amp;#039;ul&amp;#039;&amp;#039;&amp;#039;   || Activate units and any markup / with a link to a page about the unit (optional / optional)&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;up&amp;#039;&amp;#039;&amp;#039; / &amp;#039;&amp;#039;&amp;#039;upl&amp;#039;&amp;#039;&amp;#039; || Construct units, and this is the &amp;quot;per&amp;quot; unit that is the denominator / with a link to a page about the denominator (requires numerator from &amp;#039;&amp;#039;&amp;#039;u&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;ul&amp;#039;&amp;#039;&amp;#039;) &lt;br /&gt;
:Units for the number, specified by &amp;#039;&amp;#039;&amp;#039;u&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;ul&amp;#039;&amp;#039;&amp;#039; (and &amp;#039;&amp;#039;&amp;#039;up&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;upl&amp;#039;&amp;#039;&amp;#039;), are replaced by a more aesthetically pleasing HTML representation and can get a link (&amp;#039;&amp;#039;&amp;#039;ul&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;upl&amp;#039;&amp;#039;&amp;#039; only) if they are in the list found in {{tl|val/unitswithlink}} or if they are supported by {{tl|convert}}). You can specify units using just &amp;#039;&amp;#039;&amp;#039;u&amp;#039;&amp;#039;&amp;#039;; a good example is &amp;quot;ul=m/s&amp;quot;, which gets translated to &amp;quot;[[Meter per second|m·s&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;]]&amp;quot;, or you can use &amp;#039;&amp;#039;&amp;#039;u&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;up&amp;#039;&amp;#039;&amp;#039;, as in &amp;quot;u/up&amp;quot;; a good example is &amp;quot;ul=m|up=s&amp;quot;, which gets translated to &amp;quot;[[Metre|m]]/s&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;#039;  || A prefix for the value (such as ∆, ⌀, etc.; optional).&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039;  || A suffix for the value (such as %, optional).&lt;br /&gt;
:Prefixes (specified by &amp;#039;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;#039;) and suffixes (specified by &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039;) are put in front of or behind the value &amp;#039;&amp;#039;as is&amp;#039;&amp;#039;: this includes spaces. They are inside the &amp;#039;&amp;#039;nowrap&amp;#039;&amp;#039; block and will always be on the same line as the value. The parameters that previously provided this functionality (&amp;#039;&amp;#039;&amp;#039;h&amp;#039;&amp;#039;&amp;#039; for header and &amp;#039;&amp;#039;&amp;#039;f&amp;#039;&amp;#039;&amp;#039; for footer) are &amp;#039;&amp;#039;deprecated&amp;#039;&amp;#039; and will be ignored.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;end&amp;#039;&amp;#039;&amp;#039; || Appends something after the main value. For example, &amp;lt;nowiki&amp;gt;{{val|123.24|end=...}}&amp;lt;/nowiki&amp;gt; gives {{val|123.24|end=...}}&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;errend&amp;#039;&amp;#039;&amp;#039; || Appends something after the uncertainty. For example, &amp;lt;nowiki&amp;gt;{{val|123.23|end=...|2.34|errend=...}}&amp;lt;/nowiki&amp;gt; gives {{val|123.23|end=...|2.34|errend=...}}&lt;br /&gt;
|-&lt;br /&gt;
|align=top| {{nowrap|&amp;#039;&amp;#039;&amp;#039;+errend&amp;#039;&amp;#039;&amp;#039;}} &amp;amp; {{nowrap|&amp;#039;&amp;#039;&amp;#039;-errend&amp;#039;&amp;#039;&amp;#039;}} || Appends something after the positive/negative uncertainties. For example, &amp;lt;nowiki&amp;gt;{{val|123.23|end=...|+2.34|+errend=...|-1.23|-errend=...}}&amp;lt;/nowiki&amp;gt; gives {{val|123.23|end=...|+2.34|+errend=...|-1.23|-errend=...}}&lt;br /&gt;
|-&lt;br /&gt;
|align=top| {{nowrap|&amp;#039;&amp;#039;&amp;#039;fmt&amp;#039;&amp;#039;&amp;#039;}} || Allows alternative formatting using commas to the left of the decimal point as opposed gaps either side. For example, &amp;lt;nowiki&amp;gt;{{val|123123.123123|fmt=commas}}&amp;lt;/nowiki&amp;gt; gives {{val|123123.123123|fmt=commas}}&lt;br /&gt;
|-&lt;br /&gt;
|valign=top| &amp;#039;&amp;#039;&amp;#039;nocategory&amp;#039;&amp;#039;&amp;#039;  || If set to any value, errors in the use of this template will not cause the page to be added to the [[:Category:Pages with incorrect formatting templates use|Pages with incorrect formatting templates use]] category. This is useful for documentation and test pages that do not need to be fixed.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See {{tl|val/testcases}} for a list of examples of the correct output of {{tl|val}} and the errors it may return when incorrectly used.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
There is strict checking on the validity of arguments; any incorrect use will result in an error, which is displayed using {{tl|FormattingError}}. Pages that contain incorrect use of this template will show up on [[:Category:Pages with incorrect formatting templates use]].&lt;br /&gt;
&lt;br /&gt;
== Format of numbers ==&lt;br /&gt;
{{tl|Val}} should produces formatting compliant with Wikipedia&amp;#039;s [[WP:MOSNUM|Manual of Style]]. &lt;br /&gt;
&lt;br /&gt;
The [[Wikipedia:MOSNUM#Delimiting_(grouping_of_digits)|MOS]] recommends that numbers either be delimited using thin spaces either side of the decimal or commas to the left and do delimiters to the right.  Articles should be consistent wrt the style of delimiting.  The template defaults to the former style, this can be adjusted using &amp;lt;code&amp;gt;|fmt=&amp;lt;/code&amp;gt; (see [[#Arguments|above]]).&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1234567890}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1234567890}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.23456789}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.23456789}}&lt;br /&gt;
|-&lt;br /&gt;
|{{xpdop3c|gives={{!}}{{!}}&amp;amp;nbsp;→&amp;amp;nbsp;{{!}}{{!}}|d=|val|21563.252564425}}&lt;br /&gt;
|-&lt;br /&gt;
|colspan=3|&amp;#039;&amp;#039;&amp;#039;Uncertainty/significance&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|0.005}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|0.005}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|+0.005|-0.006}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|+0.005|-0.006}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|(5)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|(5)}}&lt;br /&gt;
|-&lt;br /&gt;
|colspan=3|&amp;#039;&amp;#039;&amp;#039;Exponents/units&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|e=5|u=m}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|e=5|u=m}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|e=5|u=m2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|e=5|u=m2}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|e=5|ul=m}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|e=5|ul=m}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|0.056|e=7}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|0.056|e=7}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.23456|+0.00007|-0.00008|e=-9|ul=m/s}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.23456|+0.00007|-0.00008|e=-9|ul=m/s}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|0.056|e=7|ul=psi}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|0.056|e=7|ul=psi}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|123.4|ul=USgal}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|123.4|ul=USgal}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|12.34|ul=mpgimp}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|12.34|ul=mpgimp}}&lt;br /&gt;
|-&lt;br /&gt;
|colspan=3|&amp;#039;&amp;#039;&amp;#039;Prefix/suffix&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|p=Δ&amp;amp;amp;nbsp;|12.34|s=%}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|p=Δ&amp;amp;nbsp;|12.34|s=%}}&lt;br /&gt;
|-&lt;br /&gt;
|colspan=3|&amp;#039;&amp;#039;&amp;#039;Numerator/Denominator&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|1.234|e=7|ul=W|up=m2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;||&amp;amp;nbsp;→&amp;amp;nbsp;||{{val|1.234|e=7|ul=W|up=m2}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;More examples&amp;#039;&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;See the testcases at [[Template:Val/testcases|Val/testcases]].&lt;br /&gt;
&lt;br /&gt;
==Performance impact==&lt;br /&gt;
For most uses, in the text of articles, Template:Val will not restrict performance, but when used inside the wikitext markup of large templates, there are some restrictions. When displaying integer amounts, Template:Val has an internal [[m:HELP:Expansion depth|expansion depth]] of 15 levels, but for numbers with decimal portions, it uses 22 levels, or more.&lt;br /&gt;
&lt;br /&gt;
==How to add units==&lt;br /&gt;
The unit you will add is required to have a link version and a non-link version for stylistic reasons (including the ability of editors to avoid [[WP:OVERLINKING|overlinking]]).  The link version will be added to &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Val/unitswithlink&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; to process the &amp;lt;code&amp;gt;ul&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;upl&amp;lt;/code&amp;gt; [[m:Templates#Parameters|parameter]]s.  The non-link version &amp;#039;&amp;#039;might&amp;#039;&amp;#039; need to be added to &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Val/units&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; to process the &amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;up&amp;lt;/code&amp;gt; parameter; it depends on whether or not the unit needs [[Help:Wiki markup#Format|markup]], or if the characters users will give to the &amp;lt;code&amp;gt;ul&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt; parameter are different than what is displayed, or if &amp;quot;technical reasons&amp;quot; are discovered. (See below.)&lt;br /&gt;
&lt;br /&gt;
Note these points before adding units:&lt;br /&gt;
* For composite units you should probably link the whole, not individual units. For example the line you add would say &amp;lt;code&amp;gt; {{nowrap|{{xt|&amp;lt;nowiki&amp;gt;|m·s-1=[[Velocity|m·s{{sup|&amp;amp;minus;1}}]]&amp;lt;/nowiki&amp;gt;}}}}&amp;lt;/code&amp;gt; linking to &amp;#039;&amp;#039;Velocity&amp;#039;&amp;#039;, not {{nowrap|&amp;lt;code&amp;gt;{{!xt|&amp;lt;nowiki&amp;gt;|m*s-1=[[Metre|m]]·[[Second|s]]{{sup|&amp;amp;minus;1}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt;}}.  &amp;#039;&amp;#039;[[List of common physics notations]]&amp;#039;&amp;#039; has many examples of composite units that have their own page.&lt;br /&gt;
* The val user can compose their own divisor unit from an existing unit, writing {{nowrap|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|ul=m|upl=s}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}} to render there own &amp;quot;{{val|ul=m|upl=s}}&amp;quot; with two links:  &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; to &amp;#039;&amp;#039;Meter&amp;#039;&amp;#039; and &amp;lt;code&amp;gt;s&amp;lt;/code&amp;gt; to &amp;#039;&amp;#039;Second&amp;#039;&amp;#039;.  &lt;br /&gt;
* The val user can compose their own multiplier units by using the &amp;lt;code&amp;gt;end&amp;lt;/code&amp;gt; parameter to prepend a string.  For example, to prepend &amp;quot;{{val|ul=Ma}}&amp;quot;, they could write {{nowrap|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{val|333|end=&amp;amp;amp;nbsp;Ma|ul=uBP}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}, rendering &amp;quot;{{val|333|end=&amp;amp;nbsp;Ma|ul=uBP}}&amp;quot;. These cannot be linked.&lt;br /&gt;
&lt;br /&gt;
The technique involves activating &amp;quot;[[WP:Show changes|Show changes]]&amp;quot; to catch unintended changes that are otherwise difficult to detect in any of the many pages using val that would be affected.&lt;br /&gt;
# Edit {{tl|Val/unitswithlink/test}}.  The [[Sides of an equation|LHS]] of the &amp;quot;=&amp;quot; sign is what val users will give to the &amp;lt;code&amp;gt;ul&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;upl&amp;lt;/code&amp;gt;) parameter. Activate &amp;quot;[[WP:Show preview|Show preview]]&amp;quot;.  This will run your test data through val, which would be similar to running val itself in a sandbox. [[Wikipedia:TESTLINK|Prove the intended link]] and markup here because you will not be able to show a preview in the next steps. [[Cut and paste|Copy]] what you will be adding to the wiki with the next steps. Save the page to serve as a &amp;quot;current list&amp;quot;.&lt;br /&gt;
# Edit {{tl|Val/unitswithlink}}.  Paste the identical line proven in step 1.  Sort order is not important. Show changes, and then save.&lt;br /&gt;
# If the unit will display differently from what is typed into &amp;lt;code&amp;gt;u=&amp;lt;/code&amp;gt;, edit {{tl|Val/units}}. Paste the identical line, and remove any [[help:wikilinks|links]] from the RHS of the &amp;quot;=&amp;quot; sign, being careful to leave any rendering work. Show changes, and then save.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039;. Run &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Val|u=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Val|ul=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in a [[WP:sand|sandbox]] and verify that your unit has an identical appearance in both cases. Edit {{tl|Val/units}} to make any corrections. (The discrepancy occurred for technical reasons.)&lt;br /&gt;
The last step is an important to the [[WP:MOSNUM|manual of style for dates and numbers]].&lt;br /&gt;
&lt;br /&gt;
==FAQ and comments==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Q: Why should I use val?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: A1: {{tl|Val}} formats numbers: &lt;br /&gt;
:*inserts commas into large numbers and spaces between decimal digits&lt;br /&gt;
:*handles [[Uncertainty#Measurements|uncertainties in measurements]] and [[significant digits]], providing a ± character, etc.&lt;br /&gt;
:*handles [[Exponentiation|exponents of 10]] and [[scientific notation]]&lt;br /&gt;
:*replaces &amp;quot;-&amp;quot; (hyphen) with a &amp;quot;&amp;amp;minus;&amp;quot;  (minus sign)&lt;br /&gt;
: A2: It preserves spacing:&lt;br /&gt;
:* It makes sure the value does not [[Word wrap|wrap]] at the end of a line, so that it can always be read as a single value on one line in the text.&lt;br /&gt;
:* It spaces the various parts of the value where they should be&lt;br /&gt;
: A3: It automates the markup for, and a link to a displayed unit.&lt;br /&gt;
: A4: Val helps make Wikipedia more consistent. It adheres to the [[Wikipedia:MOSNUM|Wikipedia Manual of Style for numbers]]. Updates to the [[Wikipedia:MOSNUM|Wikipedia Manual of Style for numbers]] can be applied to this template, and result in automatic modification on values that use val. All this makes sure all values on all pages have the same [[look and feel]] because they will all use the same [[Letter-spacing|spacing]], [[font|font size]], positioning, etc, and makes updating and checking by the bots easier because they can recognize a value for what it is.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Q: Why not use &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;&amp;lt;/nowiki&amp;gt;?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: A: For the same reasons [[Help:Math#Pros_of_HTML|HTML might be preferred over {{TeX}}]]:&lt;br /&gt;
:* Because the [[font]] 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.&lt;br /&gt;
:*You cannot [[cut and paste]] a bitmap image rendered by the Latex.&lt;br /&gt;
:*Images are slower to load and use more bandwidth, which is especially bad for the mobile version of Wikipedia.&lt;br /&gt;
:* &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;&amp;lt;/nowiki&amp;gt; does not automatically adhere to the [[Wikipedia:MOSNUM|Wikipedia Manual of Style for numbers]].&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Q: Are there any known issues with val?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: A1: Because numbers can only be stored with a limited precision by Wikipedia servers, val cannot handle very large numbers, such as 123456789123456789. This is reported using a {{tl|FormattingError}}, so it should be easy to spot. Since there is very limited use for such large numbers, there is no fix planned for this. &lt;br /&gt;
: A2: This template has been in full use on many pages for quite some time without major problems or [[wiktionary:breaking change|breaking changes]]. Technically, there is no good reason &amp;#039;&amp;#039;not&amp;#039;&amp;#039; to try val.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Q: How should I use val?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: A1: Val probably already has your unit on [[Template:Val/unitswithlink/test|its current list]]. If not, then your unit [[#How_to_add_units|can be added]]. &lt;br /&gt;
: A2: To avoid [[WP:OVERLINKING|over linking]] switch from the &amp;#039;&amp;#039;ul=&amp;#039;&amp;#039; to the &amp;#039;&amp;#039;u=&amp;#039;&amp;#039; parameter of the given unit.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Valid}} : number validity checking (for parameters 1, 2, 3, e : value, and uncertainties, base-10 exponent)&lt;br /&gt;
* {{tl|FormattingError}} : for reporting inconsistent parameters&lt;br /&gt;
* {{tl|Val/delimitnum}} : for formatting a decimal number with delimiters between groups of digits&lt;br /&gt;
* {{tl|Su}} : for formatting exponents, or two-values incertainty one below the other (monospaced : currently not printable to PDF)&lt;br /&gt;
* {{t1|±}} : for positive &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; and negative &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;sub&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
* {{tl|Val/units}} : for formatting unit names (contents of parameters &amp;lt;tt&amp;gt;u&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;up&amp;lt;/tt&amp;gt;)&lt;br /&gt;
* {{tl|Val/unitswithlink}} : for formatting unit names with links (contents of parameters &amp;lt;tt&amp;gt;ul&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;upl&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{template other|{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
[[Category:Wikipedia formatting and function templates|Val]]&lt;br /&gt;
[[Category:Subtemplates of Template Convert/wrapper templates|Val]]&amp;lt;!-- added to allow disentanglement from template {convert} proper. Related to Lua module introduction. 2013-12-10 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ka:თარგი:Val]]&lt;br /&gt;
}}}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;DerBorg</name></author>
	</entry>
</feed>