<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.freecapitalists.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AIn5%2Fdoc</id>
	<title>Template:In5/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.freecapitalists.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AIn5%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.freecapitalists.org/index.php?title=Template:In5/doc&amp;action=history"/>
	<updated>2026-08-16T19:42:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.freecapitalists.org/index.php?title=Template:In5/doc&amp;diff=15312&amp;oldid=prev</id>
		<title>John James: Created page with &quot;{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  The indenter &#039;&#039;&#039;Template:in5&#039;&#039;&#039; indents text by 5 spaces or the count specifie...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.freecapitalists.org/index.php?title=Template:In5/doc&amp;diff=15312&amp;oldid=prev"/>
		<updated>2011-05-07T01:05:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  The indenter &amp;#039;&amp;#039;&amp;#039;Template:in5&amp;#039;&amp;#039;&amp;#039; indents text by 5 spaces or the count specifie...&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;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The indenter &amp;#039;&amp;#039;&amp;#039;Template:in5&amp;#039;&amp;#039;&amp;#039; indents text by 5 spaces or&lt;br /&gt;
the count specified by&amp;lt;br&amp;gt;parameter 1 (range: 1 to 50 spaces).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:: Usage: &amp;amp;nbsp; {&amp;lt;font/&amp;gt;{in5}} {{in5}} &amp;lt;--indents by 5 spaces&amp;lt;br&amp;gt;&lt;br /&gt;
:: Usage: &amp;amp;nbsp; {&amp;lt;font/&amp;gt;{in5|8}} &amp;amp;nbsp; &amp;amp;nbsp; &amp;lt;--indents by 8 spaces&amp;lt;br&amp;gt;&lt;br /&gt;
:: Usage: &amp;amp;nbsp; {&amp;lt;font/&amp;gt;{in5|47}} &amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;--indents by 47&lt;br /&gt;
&lt;br /&gt;
Spaces outside the double braces will add an extra space on either&lt;br /&gt;
side,&amp;lt;br&amp;gt;such as the 12 spaces inserted by: &amp;quot; {&amp;lt;font/&amp;gt;{in5|10}} &amp;quot;.&lt;br /&gt;
&lt;br /&gt;
NOTE: The name &amp;quot;in5&amp;quot; was chosen because other names were debated, such as&amp;lt;br&amp;gt; the name &amp;quot;in&amp;quot; being redefined as 6 different uses.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
The following are examples showing larger amounts of spacing:&lt;br /&gt;
:: Example 1: &amp;lt;nowiki&amp;gt;xx{{in5|10}}yy{{in5|10}}&amp;lt;/nowiki&amp;gt;zz, produces: xx{{in5|10}}yy{{in5|10}}zz&lt;br /&gt;
:: Example 2: &amp;lt;nowiki&amp;gt;xx{{in5|10}}yy{{in5|15}}&amp;lt;/nowiki&amp;gt;zz, produces: xx{{in5|10}}yy{{in5|15}}zz&lt;br /&gt;
:: Example 3: &amp;lt;nowiki&amp;gt;aa{{in5|20}}bb{{in5|20}}&amp;lt;/nowiki&amp;gt;cc, produces: aa{{in5|20}}bb{{in5|20}}cc&lt;br /&gt;
:: Example 4: &amp;lt;nowiki&amp;gt;&amp;quot;32.0{{in5|7}}&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;amp;nbsp; produces: &amp;quot;32.0{{in5|7}}&amp;quot;&lt;br /&gt;
The example 4 shows the ability to put trailing spaces, such as spaces after a number in a wikitable column (coded as: |&amp;amp;nbsp;32.0{&amp;lt;font/&amp;gt;{in5}}&amp;amp;nbsp;). Typical numbers (with &amp;quot;align=right&amp;quot;), in a table column, often appear crowded at the right-hand side, so appending &amp;quot;{&amp;lt;font/&amp;gt;{in5}}&amp;quot; can improve readability, in tables with lines between columns.&lt;br /&gt;
&lt;br /&gt;
==Universal template==&lt;br /&gt;
This Template:in5 is intended as a universal template, with the same name on all Wikipedia sites. The name &amp;quot;in5&amp;quot; with the digit &amp;quot;5&amp;quot; is unlikely to conflict with other-language Wikipedias. Care must be taken not to name a universal template with a name that would be an awkward or peculiar word in the other languages. However, in some cases, a universal template might need a different name in a few conflicting languages.&lt;br /&gt;
&lt;br /&gt;
==Comparison with Template:spaces==&lt;br /&gt;
There are other templates that insert spaces, although none had allowed 50 spaces. For example, the&amp;amp;nbsp;[[Template:spaces]] has had a limit of about 15 spaces (during 2009-2010):&lt;br /&gt;
{| class=wikitable style=&amp;quot;margin-left:40px&amp;quot;&lt;br /&gt;
| valign=top | Example of &amp;lt;nowiki&amp;gt;{{spaces|10}}&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;and...&amp;lt;br&amp;gt;with &amp;lt;nowiki&amp;gt;{{spaces|14}}&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;with &amp;lt;nowiki&amp;gt;{{spaces|15}}&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;with &amp;lt;nowiki&amp;gt;{{spaces|25}}&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;xx{{spaces|10}}&amp;lt;/nowiki&amp;gt;yy, produces:&amp;lt;br&amp;gt;xx{{spaces|10}}yy&amp;lt;br&amp;gt;xx{{spaces|14}}yy&amp;lt;br&amp;gt;xx{{spaces|15}}yy&amp;lt;br&amp;gt;xx{{spaces|25}}yy&lt;br /&gt;
|-&lt;br /&gt;
| valign=top | Example of &amp;lt;nowiki&amp;gt;{{in5|10}}&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;and...&amp;lt;br&amp;gt;with &amp;lt;nowiki&amp;gt;{{in5|14}}&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;with &amp;lt;nowiki&amp;gt;{{in5|15}}&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;with &amp;lt;nowiki&amp;gt;{{in5|25}}&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;with &amp;lt;nowiki&amp;gt;{{in5|45}}&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;xx{{in5|10}}&amp;lt;/nowiki&amp;gt;yy, produces:&amp;lt;br&amp;gt;xx{{in5|10}}yy&amp;lt;br&amp;gt;xx{{in5|14}}yy&amp;lt;br&amp;gt;xx{{in5|15}}yy&amp;lt;br&amp;gt;xx{{in5|25}}yy&amp;lt;br&amp;gt;xx{{in5|45}}yy&lt;br /&gt;
|}&lt;br /&gt;
Again, using {&amp;lt;font/&amp;gt;{in5}} reliably allows up to 50 spaces at a time.&lt;br /&gt;
&lt;br /&gt;
==Performance==&lt;br /&gt;
Template {in5} generates a mix of &amp;amp;amp;nbsp; and spaces to avoid the space compression done by the [[MediaWiki]] parser. Each &amp;amp;nbsp is stored inside the formatted page (such as seen by the browser option: &amp;amp;lt;View&amp;gt;&amp;amp;lt;Source&amp;gt;). The output is optimized to be the shortest possible markup language for spaces, in a variety of different browsers.&lt;br /&gt;
&lt;br /&gt;
Typically, {in5} runs much faster than [[Template:spaces]], generating 1/3 the markup per use (as 72% less text, over 50 fewer characters each time). Also, {in5} allows 50 spaces, whereas {spaces} has been limited to 15 spaces during 2009-2010.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Template:indent]] - forces newline break before indenting&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia formatting and function templates|In5]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>John James</name></author>
	</entry>
</feed>