<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/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://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AGaps%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Gaps/doc&amp;action=history"/>
	<updated>2026-04-08T07:11:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Gaps/doc&amp;diff=15427&amp;oldid=prev</id>
		<title>Caleb Cooper: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Gaps/doc&amp;diff=15427&amp;oldid=prev"/>
		<updated>2020-11-05T11:04:47Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:04, 5 November 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Gaps/doc&amp;diff=15426&amp;oldid=prev</id>
		<title>wikipedia&gt;Vanisaac: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Gaps/doc&amp;diff=15426&amp;oldid=prev"/>
		<updated>2020-04-25T15:17:09Z</updated>

		<summary type="html">&lt;p&gt;clean up per &lt;a href=&quot;/index.php?title=WP:CAT&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:CAT (page does not exist)&quot;&gt;WP:CAT&lt;/a&gt; and &lt;a href=&quot;/index.php?title=WP:AWBREQ&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:AWBREQ (page does not exist)&quot;&gt;WP:AWBREQ&lt;/a&gt; add template:Sandbox other&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;Lua String-based templates&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;Vanisaac</name></author>
	</entry>
</feed>