<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormat_price%2Fdoc</id>
	<title>Template:Format price/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AFormat_price%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Format_price/doc&amp;action=history"/>
	<updated>2026-04-16T11:50:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Format_price/doc&amp;diff=17004&amp;oldid=prev</id>
		<title>Wikipedia&gt;Mirokado: typo &quot;receive&quot;</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Format_price/doc&amp;diff=17004&amp;oldid=prev"/>
		<updated>2020-11-29T12:17:36Z</updated>

		<summary type="html">&lt;p&gt;typo &amp;quot;receive&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
This template displays numbers typically representing prices in a pleasant way, ideally suited for articles. Numbers one thousand or greater are reduced down and rounded to a total of three digits followed by a multiplier text, and smaller numbers receive separators and exactly two digits to represent cents, which does not always happen with the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{formatnum:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Help:Magic words|magic word]].&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
 {{tlx|Format price|value|digits}}&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;: the value that will be formatted and displayed (required).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;digits&amp;#039;&amp;#039;&amp;#039;: sets the digit in which a value lower than one thousand must be rounded, defaulting to &amp;quot;2&amp;quot; (cents) if unspecified.&lt;br /&gt;
&lt;br /&gt;
Providing non-numeric parameters, failing to provide any parameter, or providing a negative &amp;#039;&amp;#039;value&amp;#039;&amp;#039; parameter, result all in a link to the [[NaN]] article. Despite its name, this template only handles the number-formatting, not any unit symbols – consider {{tl|currency}} for that separate feature.&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
* {{aye}} {{tlx|Format price|1.2}} = {{Format price|1.2}}&lt;br /&gt;
* {{aye}} {{tlx|Format price|456.789}} = {{Format price|456.789}}&lt;br /&gt;
* {{aye}} {{tlx|Format price|456.789|1}} = {{Format price|456.789|1}}&lt;br /&gt;
* {{aye}} {{tlx|Format price|456.789|0}} = {{Format price|456.789|0}}&lt;br /&gt;
* {{aye}} {{tlx|Format price|456.789|-2}} = {{Format price|456.789|-2}}&lt;br /&gt;
* {{aye}} &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Format price|1234}}&amp;lt;/code&amp;gt; = ${{Format price|1234}}&lt;br /&gt;
* {{aye}} &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Format price|12345}}&amp;lt;/code&amp;gt; = ${{Format price|12345}}&lt;br /&gt;
* {{aye}} &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Format price|123456}}&amp;lt;/code&amp;gt; = ${{Format price|123456}}&lt;br /&gt;
* {{aye}} &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;{{tlx|Format price|1000000}}&amp;lt;/code&amp;gt; = ${{Format price|1000000}}&lt;br /&gt;
* {{aye}} &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;¥&amp;#039;&amp;#039;&amp;#039;{{tlx|Format price|98765432109876}}&amp;lt;/code&amp;gt; = ¥{{Format price|98765432109876}}&lt;br /&gt;
* {{aye}} &amp;lt;code&amp;gt;{{tlx|Format price|7.86178E+25}} atoms&amp;lt;/code&amp;gt; = {{Format price|7.86E+25}} atoms&lt;br /&gt;
&lt;br /&gt;
=====Wrong=====&lt;br /&gt;
* {{nay}} {{tlx|Format price}} = {{Format price}} (empty parameter)&lt;br /&gt;
* {{nay}} {{tlx|Format price|{{!}}0}} = {{Format price||0}} (empty first parameter)&lt;br /&gt;
* {{nay}} {{tlx|Format price|-100}} = {{Format price|-100}} (negative values are invalid)&lt;br /&gt;
* {{nay}} {{tlx|Format price|xyz|A}} = {{Format price|xyz|A}} (only numeric values are allowed)&lt;br /&gt;
* {{nay}} {{tlx|Format price|1E+309}} = {{Format price|1E+309}} (overflow)&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{tl|Inflation}}&lt;br /&gt;
* {{tl|Inflation/fn}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{DEFAULTSORT:Format Price}}&lt;br /&gt;
[[Category:Currency conversion templates]]&lt;br /&gt;
[[Category:Economics formatting and function templates]]&lt;br /&gt;
[[Category:Finance templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;value&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;the value that will be formatted and displayed&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;1,000&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;digits&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;sets the digit in which a value lower than one thousand must be rounded, defaulting to \&amp;quot;2\&amp;quot; (cents) if unspecified&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;2&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Mirokado</name></author>
	</entry>
</feed>