<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ekatrafoundation.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AHanging_indent_inherit%2Fdoc</id>
	<title>Template:Hanging indent inherit/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ekatrafoundation.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AHanging_indent_inherit%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.ekatrafoundation.org/index.php?title=Template:Hanging_indent_inherit/doc&amp;action=history"/>
	<updated>2026-07-21T23:07:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0</generator>
	<entry>
		<id>https://wiki.ekatrafoundation.org/index.php?title=Template:Hanging_indent_inherit/doc&amp;diff=80449&amp;oldid=prev</id>
		<title>Meghdhanu: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.ekatrafoundation.org/index.php?title=Template:Hanging_indent_inherit/doc&amp;diff=80449&amp;oldid=prev"/>
		<updated>2024-11-04T02:55:37Z</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 02:55, 4 November 2024&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>Meghdhanu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ekatrafoundation.org/index.php?title=Template:Hanging_indent_inherit/doc&amp;diff=80448&amp;oldid=prev</id>
		<title>enws&gt;Shāntián Tàiláng at 17:24, 7 August 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.ekatrafoundation.org/index.php?title=Template:Hanging_indent_inherit/doc&amp;diff=80448&amp;oldid=prev"/>
		<updated>2023-08-07T17:24:45Z</updated>

		<summary type="html">&lt;p&gt;&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;
{{template shortcut|hii}}&lt;br /&gt;
{{mbox|text=This is the first half of a paired template based on &amp;#039;&amp;#039;&amp;#039;&amp;amp;lt;div&amp;gt;&amp;#039;&amp;#039;&amp;#039;. It needs a second template &amp;#039;&amp;#039;&amp;#039;{{tl|div end}}&amp;#039;&amp;#039;&amp;#039; applied to close, and hence function properly.}}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
This template applies a hanging indent as a division &amp;amp;lt;div&amp;gt; (default) or as paragraph &amp;amp;lt;p&amp;gt;, and it inherits any previously applied formatting (the margins are generally the most important in this context, as they will &amp;quot;accumulate&amp;quot;).  It acts as a wrapper around text, rather than embedding the text into the template. Consequently the template needs to be closed with {{tl|div end}} to function properly.&lt;br /&gt;
&lt;br /&gt;
Note that this template functions differently from {{tl|hanging indent}}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
* {{parameter|1}}: indentation (in em) of first line relative to the other lines of the paragraph (i.e. CSS &amp;quot;text-indent&amp;quot;)&lt;br /&gt;
* {{parameter|2}}: indentation (in em) of the whole paragraph (i.e. the CSS &amp;quot;margin-left&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;: indentation is measured rightwards. To &amp;quot;reverse indent&amp;quot; (make a line stick out to the left), enter a negative value.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
====Defaults: hanging indent ====&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{hii}} = {{hii|0|2}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
** First line 0em from relative position&lt;br /&gt;
** Remaining lines indented further 2em: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{hanging indent inherit}}{{lorem ipsum}}&lt;br /&gt;
{{div end}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Output&lt;br /&gt;
{{hanging indent inherit}}{{lorem ipsum}}&lt;br /&gt;
{{div end}}&lt;br /&gt;
&lt;br /&gt;
==== Example2: two indented paragraphs ====&lt;br /&gt;
*For each paragraph:&lt;br /&gt;
** First line 0em from relative position&lt;br /&gt;
** Remaining lines indented further 2em &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{hanging indent inherit}}{{lorem ipsum}}&lt;br /&gt;
{{hanging indent inherit}}{{lorem ipsum}}&lt;br /&gt;
{{div end}}&lt;br /&gt;
{{div end}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Output&lt;br /&gt;
{{hanging indent inherit}}{{lorem ipsum}}&lt;br /&gt;
{{hanging indent inherit}}{{lorem ipsum}}&lt;br /&gt;
{{div end}}&lt;br /&gt;
{{div end}}&lt;br /&gt;
&lt;br /&gt;
==== Example 3: two differently indented paragraphs ====&lt;br /&gt;
*First paragraph:&lt;br /&gt;
** Start 2em from relative, and remaining lines indented 2em&lt;br /&gt;
*Second paragraph&lt;br /&gt;
** Start 1em from relative, and remaining lines indented 1em&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{hanging indent inherit|2|2}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{hanging indent inherit|1|1}}&lt;br /&gt;
{{lorem ipsum}}&lt;br /&gt;
{{div end}}{{div end}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Output&lt;br /&gt;
{{hanging indent inherit|2|2}}{{lorem ipsum}}&lt;br /&gt;
{{hanging indent inherit|1|1}}{{lorem ipsum}}&lt;br /&gt;
{{div end}}{{div end}}&lt;br /&gt;
&lt;br /&gt;
==== Example 4: traditionally indented paragraphs ====&lt;br /&gt;
This template can be used for traditional first line indent. However this is not recommended, as this is more efficiently done using a CSS style such as &amp;quot;text-indent:2em&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*first line 2em, paragraph -2 relative&lt;br /&gt;
*first line 1em, paragraph -1 relative&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{hanging indent inherit|2|-2}}{{lorem ipsum}}&lt;br /&gt;
{{hanging indent inherit|1|-1}}{{lorem ipsum}}&lt;br /&gt;
{{div end}}{{div end}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Output&lt;br /&gt;
{{hanging indent inherit|2|-2}}{{lorem ipsum}}&lt;br /&gt;
{{hanging indent inherit|1|-1}}{{lorem ipsum}}&lt;br /&gt;
{{div end}}{{div end}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|hanging indent}}&lt;br /&gt;
* {{tl|left margin}}&lt;br /&gt;
* {{tl|outdent}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- template categories and interwiki links --&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Formatting templates|Hanging indent inherit]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>enws&gt;Shāntián Tàiláng</name></author>
	</entry>
</feed>