<?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%3AIndent%2Fdoc</id>
	<title>Template:Indent/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%3AIndent%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Indent/doc&amp;action=history"/>
	<updated>2026-04-07T23:08:25Z</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:Indent/doc&amp;diff=15376&amp;oldid=prev</id>
		<title>Caleb Cooper at 10:56, 5 November 2020</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Indent/doc&amp;diff=15376&amp;oldid=prev"/>
		<updated>2020-11-05T10:56:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:56, 5 November 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As computers optimize code, they occasionally risk displaying unsavory results after condensing monotonous strings of characters (such as spaces). Thus, many templates around Wiki choose to avoid this hurdle by alternating different types of spaces (with the intention of displaying no differently than regular spaces).&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As computers optimize code, they occasionally risk displaying unsavory results after condensing monotonous strings of characters (such as spaces). Thus, many templates around Wiki choose to avoid this hurdle by alternating different types of spaces (with the intention of displaying no differently than regular spaces).&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Spaces come in two main size varieties: &#039;&#039;[[em (typography)|em spaces]]&#039;&#039; and &#039;&#039;[[en (typography)|en spaces]]&#039;&#039;. Em spaces are generally defined as the width of one character, and en spaces exactly half that size. However, there is no requirement that browsers {{em|must}} conform to this standard, and so templates that code in en spaces {{em|may}} not display uniformly across all browsers. Neither {{tl|indent}} nor {{tl|space}} use true space-size (that is, em-size spaces), but rather mix en and em spaces, whereas {{tl2|in5|{{var|n}}}} avoids en spaces altogether and will actually skip {{var|n}} count of spaces, as if inserting {{var|n}} repetitions of an em space. This is done by alternating em spaces with an em-size non-breaking {{code|lang=html|code=&amp;amp;nbsp;}}—by definition, it must be the same—in order to skip a wide area.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Spaces come in two main size varieties: &#039;&#039;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikipedia:&lt;/ins&gt;em (typography)|em spaces]]&#039;&#039; and &#039;&#039;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikipedia:&lt;/ins&gt;en (typography)|en spaces]]&#039;&#039;. Em spaces are generally defined as the width of one character, and en spaces exactly half that size. However, there is no requirement that browsers {{em|must}} conform to this standard, and so templates that code in en spaces {{em|may}} not display uniformly across all browsers. Neither {{tl|indent}} nor {{tl|space}} use true space-size (that is, em-size spaces), but rather mix en and em spaces, whereas {{tl2|in5|{{var|n}}}} avoids en spaces altogether and will actually skip {{var|n}} count of spaces, as if inserting {{var|n}} repetitions of an em space. This is done by alternating em spaces with an em-size non-breaking {{code|lang=html|code=&amp;amp;nbsp;}}—by definition, it must be the same—in order to skip a wide area.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===History===&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===History===&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template originated on the [[Wikipedia:Sister projects|sister project]] &#039;&#039;&#039;[[Wikisource]]&#039;&#039;&#039; ([[Wikisource:Main Page|main page]]), and was subsequently ported to English Wikipedia at 21:27, 26 May 2006 (UTC).&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template originated on the [[Wikipedia:Sister projects|sister project]] &#039;&#039;&#039;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wikipedia:&lt;/ins&gt;Wikisource]]&#039;&#039;&#039; ([[Wikisource:Main Page|main page]]), and was subsequently ported to English Wikipedia at 21:27, 26 May 2006 (UTC).&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===See also===&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===See also===&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:Indent/doc&amp;diff=15375&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Documentation subpage}} {{Lua|Module:Indent}} {{Commons Import}}  &lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&gt;  The template {{tlx|indent}} perf...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Indent/doc&amp;diff=15375&amp;oldid=prev"/>
		<updated>2020-11-05T10:52:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{Lua|Module:Indent}} {{Commons Import}}  &amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;  The template {{tlx|indent}} perf...&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;
{{Lua|Module:Indent}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template {{tlx|indent}} performs a newline and indents by a specified number of spaces. However, the spaces are not all the same size, but rather a mixture of [[en (typography)|en]]-size &amp;amp; [[em (typography)|em]]-size spaces that have been tested to work on a wide range of browsers.  (To skip by {{var|n}} equal-size spaces, instead use {{tl2|in5|{{var|n}}}}, which puts all as the standard-size [[non-breaking space]] and does not force a newline.)&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
The indentation spacing generated by [[Template:Indent]] will match the alignment of a colon-shift &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; by using {{tl2|indent|5}}. To match &amp;lt;code&amp;gt;::&amp;lt;/code&amp;gt;, use {{tl2|indent|10}}.&lt;br /&gt;
* Note: This may vary depending on your browser.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Usage:&amp;#039;&amp;#039;&amp;#039; {{tl2|indent|{{var|# of spaces}}}}&lt;br /&gt;
* Indents up to 30 spaces. (use {{tl2|in5|{{var|n}}}} to skip up to 50 spaces)&lt;br /&gt;
* Indent differs from {{tl2|space}} only in that it automatically begins a wrapped-newline, then spaces over {{var|n}} spaces, whereas {{tl|space}} spaces over {{var|n}} in the same (current) line.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
The following are detailed examples, also comparing to the equivalent indentation generated if a colon-shift &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; were used instead.&lt;br /&gt;
&lt;br /&gt;
{{markupv|title=Example 1 – &amp;#039;&amp;#039;Indenting by 5:&amp;#039;&amp;#039;&lt;br /&gt;
|markup=&amp;lt;nowiki&amp;gt;Some text.{{indent|5}}Some more text.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|renders=Some text.{{indent|5}}Some more text.}}&lt;br /&gt;
&lt;br /&gt;
{{markupv|title=Example 2 – &amp;#039;&amp;#039;Alignment with &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;::&amp;lt;/code&amp;gt; indentations:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
|markup=&amp;lt;nowiki&amp;gt;: Line of colon-shifted text.&lt;br /&gt;
{{indent|5}}Line of indent-5-shifted text.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;Line of br-6-nbsp-shifted text.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;Line of br-5-nbsp-shifted text.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Line of br-5-nbsp-true-shifted text.&lt;br /&gt;
:: Line of 2-colon-shifted text.&lt;br /&gt;
{{space|10}}Line of space-10-shifted text.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|renders=&lt;br /&gt;
: Line of colon-shifted text.&lt;br /&gt;
{{indent|5}}Line of indent-5-shifted text.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;Line of br-6-nbsp-shifted text.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;Line of br-5-nbsp-shifted text.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Line of br-5-nbsp-true-shifted text.&lt;br /&gt;
:: Line of 2-colon-shifted text.&lt;br /&gt;
{{space|10}}Line of space-10-shifted text.&lt;br /&gt;
}}&lt;br /&gt;
Note that if the prior line is already colon-shifted text, then using &amp;quot;{{tl2|indent|5}}&amp;quot; generates a blank line first, so instead, use &amp;quot;{{tl2|space|5}}&amp;quot; (or such) after a colon-shifted line.&lt;br /&gt;
&lt;br /&gt;
===Analysis of uneven spacing===&lt;br /&gt;
As computers optimize code, they occasionally risk displaying unsavory results after condensing monotonous strings of characters (such as spaces). Thus, many templates around Wiki choose to avoid this hurdle by alternating different types of spaces (with the intention of displaying no differently than regular spaces).&lt;br /&gt;
&lt;br /&gt;
Spaces come in two main size varieties: &amp;#039;&amp;#039;[[em (typography)|em spaces]]&amp;#039;&amp;#039; and &amp;#039;&amp;#039;[[en (typography)|en spaces]]&amp;#039;&amp;#039;. Em spaces are generally defined as the width of one character, and en spaces exactly half that size. However, there is no requirement that browsers {{em|must}} conform to this standard, and so templates that code in en spaces {{em|may}} not display uniformly across all browsers. Neither {{tl|indent}} nor {{tl|space}} use true space-size (that is, em-size spaces), but rather mix en and em spaces, whereas {{tl2|in5|{{var|n}}}} avoids en spaces altogether and will actually skip {{var|n}} count of spaces, as if inserting {{var|n}} repetitions of an em space. This is done by alternating em spaces with an em-size non-breaking {{code|lang=html|code=&amp;amp;nbsp;}}—by definition, it must be the same—in order to skip a wide area.&lt;br /&gt;
&lt;br /&gt;
===History===&lt;br /&gt;
This template originated on the [[Wikipedia:Sister projects|sister project]] &amp;#039;&amp;#039;&amp;#039;[[Wikisource]]&amp;#039;&amp;#039;&amp;#039; ([[Wikisource:Main Page|main page]]), and was subsequently ported to English Wikipedia at 21:27, 26 May 2006 (UTC).&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* {{tl|block indent}}, to indent an entire block of content, similar to a [[Template:Quote|block quotation]] (uses {{code|lang=html|code=&amp;lt;div&amp;gt;}} and CSS margins)&lt;br /&gt;
* {{tl|colon}}, to produce a colon character (&amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt;) without risk of affecting wiki markup.&lt;br /&gt;
* {{tl|outdent}}, to break indentation in a threaded conversation&lt;br /&gt;
{{Inline spacing templates}}&lt;br /&gt;
&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:Inline spacing templates]]&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>