<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trainzsimulator.com/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://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AIndent%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Template:Indent/doc&amp;action=history"/>
	<updated>2026-11-05T19:33:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Template:Indent/doc&amp;diff=5300&amp;oldid=prev</id>
		<title>Fabartus: genesis - imp mediawiki commons</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Template:Indent/doc&amp;diff=5300&amp;oldid=prev"/>
		<updated>2013-07-25T19:38:37Z</updated>

		<summary type="html">&lt;p&gt;genesis - imp mediawiki commons&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;
&lt;br /&gt;
The indenter [[Template: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:en|en]]-size &amp;amp; [[:en:em|em]]-size spaces that have been tested to work on a wide range of browsers. (To skip by &amp;#039;&amp;#039;n&amp;#039;&amp;#039; equal-size spaces, instead use {{tl2|in|&amp;#039;&amp;#039;n&amp;#039;&amp;#039;}} which puts all as the standard-size &amp;quot; &amp;quot; space.)&lt;br /&gt;
__TOC__&lt;br /&gt;
The indentation spacing generated by [[Template:indent]] will match the alignment of a colon-shift (&amp;quot;:&amp;quot;) by using {{tl2|indent|5}}, or to match &amp;quot;::&amp;quot; then align by {{tl2|indent|10}}.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Usage:&amp;#039;&amp;#039;&amp;#039; &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;indent|&amp;#039;&amp;#039;# of spaces&amp;#039;&amp;#039;}}&lt;br /&gt;
* Indents up to 30 spaces.&lt;br /&gt;
* Indent differs from {{tl|space}} only in that it automatically begins a wrapped-newline, then spaces over &amp;#039;&amp;#039;n&amp;#039;&amp;#039; spaces, whereas {{tl|space}} spaces over &amp;#039;&amp;#039;n&amp;#039;&amp;#039; 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;quot;:&amp;quot; were used instead.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example 1 - &amp;#039;&amp;#039;Indenting by 5:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;Some text.&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;indent|5}}Some more text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Results:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Some text.{{indent|5}}Some more text.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example 2 - &amp;#039;&amp;#039;Alignment with &amp;quot;:&amp;quot; or &amp;quot;::&amp;quot; indentations:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt; Line of colon-shifted text.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;indent|5}}Line of indent-5-shifted text.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;lt;br&amp;gt;&amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;&amp;amp;amp;nbsp;Line of br-6-nbsp-shifted text.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;lt;br&amp;gt;&amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;Line of br-5-nbsp-shifted text.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;amp;lt;br&amp;gt;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;Line of br-5-nbsp-true-shifted text.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;::&amp;lt;/nowiki&amp;gt; Line of 2-colon-shifted text.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;space|10}}Line of space-10-shifted text.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Results:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&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;
The non-breaking &amp;quot;&amp;amp;amp;nbsp;&amp;quot; is exactly the same size as a space (by definition, it must be the same), so it can be alternated with spaces to skip a wider area. Notice that neither {{tl|indent}} nor {{tl|space}} use true space-size, but rather mix en+em spaces, whereas &amp;quot;{{tl2|in|n}}&amp;quot; will actually skip &amp;#039;&amp;#039;n&amp;#039;&amp;#039; count of spaces, as if inserting &amp;#039;&amp;#039;n&amp;#039;&amp;#039; repetitions of an &amp;quot;&amp;amp;amp;nbsp;&amp;quot; space.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|space}} - skips similar spacing mix of en-size &amp;amp; em-size spaces.&lt;br /&gt;
* {{tl|in}} - skips equal-size spacing as all en-size spaces.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fabartus</name></author>
	</entry>
</feed>