<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ABlock_indent%2Fdoc</id>
	<title>Template:Block indent/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ABlock_indent%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Block_indent/doc&amp;action=history"/>
	<updated>2026-04-13T14:23:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Block_indent/doc&amp;diff=6320&amp;oldid=prev</id>
		<title>Wikipedia&gt;A876: some linked templates were renamed. re-explained alternatives that are not recommended. sorted.</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Block_indent/doc&amp;diff=6320&amp;oldid=prev"/>
		<updated>2022-04-04T20:03:12Z</updated>

		<summary type="html">&lt;p&gt;some linked templates were renamed. re-explained alternatives that are not recommended. sorted.&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;
{{tsh|bi}}&lt;br /&gt;
{{Uses TemplateStyles|Template:Block indent/styles.css}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{tl|block indent}} adds a block of indented text to a page.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{block indent|1=&amp;lt;/nowiki&amp;gt;{{var|The material to be indented here. May include markup, paragraph breaks, etc.}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternatives that are not recommended===&lt;br /&gt;
&lt;br /&gt;
A colon at the start of the line produces a similar indent, but it produces incorrect HTML. See [[MOS:INDENT]]. (An initial &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; was intended only for use after &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt;, in constructing [[MOS:DEFLIST|description lists]], but most editors have used it almost everywhere for indenting.)&lt;br /&gt;
&lt;br /&gt;
{{tl|Blockquote}} is for actual quotations only. Using it for block indent is not correct [[semantic HTML]], and the appearance differs. ({{tl|Blockquote}} produces the HTML {{tag|blockquote}} element, which indicates a [[block quotation]]; {{tl|block indent}} produces the HTML {{tag|div}} element.)&lt;br /&gt;
&lt;br /&gt;
The default display of {{tl|block indent}} differs from that of {{tl|Blockquote}} in that it does not:&lt;br /&gt;
* introduce whitespace margins above or below the indented material (just add a blank line above and/or below manually); nor&lt;br /&gt;
* indent from the right as well as the left (there is an optional parameter for this); nor&lt;br /&gt;
* affect the font size of its contents; nor&lt;br /&gt;
* (on mobile) bookend the block with large quotation marks; nor&lt;br /&gt;
* support plain blank-line paragraph breaks inside it; nor&lt;br /&gt;
* support attribution parameters (because {{tl|block indent}} isn&amp;#039;t for quotations).&lt;br /&gt;
&lt;br /&gt;
{{tl|Blockquote}} and {{tl|block indent}} both support paragraph breaks using {{tag|p}} around second and subsequent paragraphs, as well as other HTML markup, and it is always safest to explicitly format with HTML rather than rely on MediaWiki&amp;#039;s parser to do the right thing, because the developers could alter its behavior at any time.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{tlx|block indent|1{{=}}{{tl|Lorem ipsum}}}}&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{{block indent|1={{Lorem ipsum}}}}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
{{para|1}} a.k.a. {{para|text}} The material to be indented. {{strong|1=It is always safest to explicitly define this with &amp;lt;code&amp;gt;1=&amp;lt;/code&amp;gt;, not as an unnamed parameter}}, because any occurrence (e.g. in a URL, template, etc.) of the &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; character will break the template without it.&lt;br /&gt;
&lt;br /&gt;
{{para|left}} a.k.a. {{para|em}} the value (e.g. &amp;lt;kbd&amp;gt;0.1&amp;lt;/kbd&amp;gt; or &amp;lt;kbd&amp;gt;7&amp;lt;/kbd&amp;gt;) in [[Em (typography)|&amp;lt;code&amp;gt;em&amp;lt;/code&amp;gt; units]] by which to indent the material from the left; defaults to &amp;lt;code&amp;gt;3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{para|right}} the value, also in &amp;lt;code&amp;gt;em&amp;lt;/code&amp;gt;, by which to indent the material from the right; defaults to &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (use &amp;lt;kbd&amp;gt;7&amp;lt;/kbd&amp;gt; to match the default left indentation)&lt;br /&gt;
&lt;br /&gt;
{{para|style}} arbitrary CSS declarations, e.g. &amp;lt;code&amp;gt;font-size: 95%;&amp;lt;/code&amp;gt;. This parameter should not normally be needed. Note: It already includes &amp;lt;code&amp;gt;overflow: hidden;&amp;lt;/code&amp;gt; by default, to avoid collision of the div&amp;#039;s background with floating elements.&lt;br /&gt;
&lt;br /&gt;
{{para|class}} any CSS class names (e.g. as defined at [[MediaWiki:Common.css]]), comma-separated if more than one. This parameter should not normally be needed.&lt;br /&gt;
&lt;br /&gt;
===Comparison with {{tl|Blockquote}} (block quotation)===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|{{tl|Blockquote}}&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;50%&amp;quot;| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Lorem ipsum}}{{block indent|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| width=&amp;quot;50%&amp;quot;| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Lorem ipsum}}{{Blockquote|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| {{Lorem ipsum}}{{block indent|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}&lt;br /&gt;
| {{Lorem ipsum}}{{Blockquote|1={{Lorem ipsum}}{{Lorem ipsum}}}}{{Lorem ipsum}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Technical issues with block templates===&lt;br /&gt;
{{Block bug documentation}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|indent}}, which indents a single line, after a newline, using a mixture of en- and em-dash sized spaces&lt;br /&gt;
* {{tl|spaces}}, which indents a single line (or content inline in one) uses non-breaking spaces&lt;br /&gt;
* {{tl|in5}}, which indents a single line (or content inline in one), skipping up to fifty equal en-sized spaces&lt;br /&gt;
* {{tl|hanging indent}}, the block hanging indent template&lt;br /&gt;
* {{tl|Blockquote}}, the block quotation template&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Inline spacing templates]]&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
[[Category:Semantic markup templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;A876</name></author>
	</entry>
</feed>