<?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%3AGaps%2Fdoc</id>
	<title>Template:Gaps/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%3AGaps%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Gaps/doc&amp;action=history"/>
	<updated>2026-04-06T13:58:31Z</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:Gaps/doc&amp;diff=17398&amp;oldid=prev</id>
		<title>Wikipedia&gt;Fayenatic london: Update category</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Gaps/doc&amp;diff=17398&amp;oldid=prev"/>
		<updated>2021-12-10T22:55:08Z</updated>

		<summary type="html">&lt;p&gt;Update category&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;
{{Lua|Module:Gaps|category=&amp;lt;includeonly&amp;gt;Templates based on the String Lua module&amp;lt;/includeonly&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:Gaps&amp;#039;&amp;#039;&amp;#039; outputs its unnamed arguments in order, applying the &amp;lt;code&amp;gt;margin-left: 0.25em&amp;lt;/code&amp;gt; [[CSS]] rule to all but the first, so that there will be gaps of 0.25[[em (typography)|em]] between the arguments. The whole output has the &amp;lt;code&amp;gt;white-space: nowrap&amp;lt;/code&amp;gt; rule so that it will not be broken across several lines.&lt;br /&gt;
&lt;br /&gt;
It supports up to twenty unnamed arguments. In addition, it supports the &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;base&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;e&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; arguments which can be used for numbers in [[exponential notation]]. The base will be assumed to be 10 unless otherwise specified; a [[hyphen-minus]] &amp;quot;-&amp;quot; in the exponent will be automatically substituted by a [[minus sign]] &amp;quot;&amp;amp;minus;&amp;quot;. It also supports the arguments &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;lhs&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; for putting left-hand sides and units within the non-breaking span (see examples below).&lt;br /&gt;
&lt;br /&gt;
See [[Wikipedia:Manual of Style (dates and numbers)#Delimiting (grouping of digits)|Wikipedia:Manual of Style (dates and numbers)&amp;amp;nbsp;§ Delimiting (grouping of digits)]] for information about where to put the gaps in numbers.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 ! Input !! Output&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{gaps|−2.002|319|304|3622|(15)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |{{gaps|−2.002|319|304|3622|(15)}}&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{gaps|299|792|458|u=m/s}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |{{gaps|299|792|458|u=m/s}}&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{gaps|lhs=π|3.14159|26535|89793|23846|26433|83279|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |{{gaps|lhs=π|3.14159|26535|89793|23846|26433|83279|...}}&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{gaps|P.|A.|M.}} Dirac&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |{{gaps|P.|A.|M.}} Dirac&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{nowrap|1={{gaps|sin|2&amp;#039;&amp;#039;φ&amp;#039;&amp;#039;}} = 2 {{gaps|sin|&amp;#039;&amp;#039;φ&amp;#039;&amp;#039;}} {{gaps|cos|&amp;#039;&amp;#039;φ&amp;#039;&amp;#039;}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |{{nowrap|1={{gaps|sin|2&amp;#039;&amp;#039;φ&amp;#039;&amp;#039;}} = 2 {{gaps|sin|&amp;#039;&amp;#039;φ&amp;#039;&amp;#039;}} {{gaps|cos|&amp;#039;&amp;#039;φ&amp;#039;&amp;#039;}}}}&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;She disputed his statement that &amp;#039;Voltaire never said &amp;quot;I disapprove of what you say, but I will defend to the death your right to say {{gaps|it.&amp;quot;|&amp;#039;|&amp;quot;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |&amp;quot;She disputed his statement that &amp;#039;Voltaire never said &amp;quot;I disapprove of what you say, but I will defend to the death your right to say {{gaps|it.&amp;quot;|&amp;#039;|&amp;quot;}}&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{gaps|1.602|176|487|(40)|e=-19|u=C}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |{{gaps|1.602|176|487|(40)|e=-19|u=C}}&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;64 MB ({{gaps|64|base=2|e=20}} bytes)&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |64 MB ({{gaps|64|base=2|e=20}} bytes)&lt;br /&gt;
|-&lt;br /&gt;
 |&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{gaps|A|B|C|gap=10em}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 |{{gaps|A|B|C|gap=10em}}&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
===Performance impact===&lt;br /&gt;
Template:Gaps allows any number of parameters, and displays the gaps by setting the left-margin space of each group. The gaps are not actual spaces, so a copy/paste of the text is treated as connected, consecutive text. Although the text, as displayed, is consecutive as on-screen text, {gaps} for a number cannot be used in a calculation because the internal markup contains the invisible &amp;amp;lt;span&amp;gt; tags which would be invalid text in typical numeric processing.&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{tl|val}} to format a number to show commas, but decimal gaps of 3 or 4 digits.&lt;br /&gt;
{{Inline spacing templates}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- Categories below this line, please: --&amp;gt;&lt;br /&gt;
[[Category:String manipulation templates]]&lt;br /&gt;
[[Category:Inline spacing templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Fayenatic london</name></author>
	</entry>
</feed>