<?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%3AIsnumeric%2Fdoc</id>
	<title>Template:Isnumeric/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%3AIsnumeric%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Isnumeric/doc&amp;action=history"/>
	<updated>2026-04-09T20:21:36Z</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:Isnumeric/doc&amp;diff=20707&amp;oldid=prev</id>
		<title>Wikipedia&gt;Buidhe: cfd closed as merge</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Isnumeric/doc&amp;diff=20707&amp;oldid=prev"/>
		<updated>2022-01-30T21:14:52Z</updated>

		<summary type="html">&lt;p&gt;cfd closed as merge&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;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template tests whether a value is numeric (or at least, that it can be treated as such by the expression ParserFunction).&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
By default, simply writing &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Isnumeric|1,327}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (where 1,327 is an example number) will pass through the parameter if it&amp;#039;s numeric and be blank if it&amp;#039;s not. If the parameter &amp;lt;code&amp;gt;boolean=true&amp;lt;/code&amp;gt; is given, as in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Isnumeric|1,327|boolean=true}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, then the template will output &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; if numeric and &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; if not numeric.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;code&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;result&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
{{Template example row|1,327.50}}&lt;br /&gt;
{{Template example row|9,999 (1950)}}&lt;br /&gt;
{{Template example row|9999999999999}}&lt;br /&gt;
{{Template example row|500 metres}}&lt;br /&gt;
{{Template example row|500*500}}&lt;br /&gt;
{{Template example row|9.999e50}}&lt;br /&gt;
{{Template example row|1+1}}&lt;br /&gt;
{{Template example row|&amp;lt;nowiki /&amp;gt;}}&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{tl|ifnumber}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:If-then-else templates]]&lt;br /&gt;
[[Category:Mathematical function templates]]&lt;br /&gt;
[[Category:Wikipedia formatting and function templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Buidhe</name></author>
	</entry>
</feed>