<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tiffa.net/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://wiki.tiffa.net/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ABlock_indent%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Block_indent/doc&amp;action=history"/>
	<updated>2026-04-17T19:04:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.tiffa.net/w/index.php?title=Template:Block_indent/doc&amp;diff=899&amp;oldid=prev</id>
		<title>imported&gt;Fire at 13:11, 19 December 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.tiffa.net/w/index.php?title=Template:Block_indent/doc&amp;diff=899&amp;oldid=prev"/>
		<updated>2022-12-19T13:11:06Z</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;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{二次利用}}&lt;br /&gt;
{{tsh|bi}}&lt;br /&gt;
{{Uses TemplateStyles|Template:Block indent/styles.css}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template block-indents the value that is supplied to it. This is similar to block quotation, but it uses the HTML {{tag|div}} element, instead of [[:en:Semantic HTML|semantically abusing]] the {{tag|blockquote}} element, which is only for [[Wikipedia:block quotation|block quotation]]s. It is also preferred over semantically abusing a colon at the start of the line, which should be used only for [[MOS:DEFLIST|description lists]].&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;
The default display differs from the block quotation template {{tl|Quote}} 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.&lt;br /&gt;
* support that other template&amp;#039;s attribution parameters (since it isn&amp;#039;t for quotations).&lt;br /&gt;
* support plain blank-line paragraph breaks inside it.&lt;br /&gt;
Both templates 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, as its behavior may be altered at any time by the developers.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
{{tlx|block indent |1{{=}}{{tl|Lorem}}}}&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{{block indent |1={{Lorem}}}}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
{{para|1}} a.k.a. {{para|text}} The material to be indented. {{strong|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 [[:en: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|Quote}} (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|Quote}}&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;50%&amp;quot;| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{lorem}}{{block indent|1={{lorem}}&amp;lt;p&amp;gt;{{lorem}}&amp;lt;/p&amp;gt;}}{{lorem}}&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}}{{quote|1={{lorem}}&amp;lt;p&amp;gt;{{lorem}}&amp;lt;/p&amp;gt;}}{{lorem}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| {{lorem}}{{block indent|1={{lorem}}&amp;lt;p&amp;gt;{{lorem}}&amp;lt;/p&amp;gt;}}{{lorem}}&lt;br /&gt;
| {{lorem}}{{quote|1={{lorem}}&amp;lt;p&amp;gt;{{lorem}}&amp;lt;/p&amp;gt;}}{{lorem}}&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|quote}}, the block quotation template&lt;br /&gt;
* {{tl|hanging indent}}, the block hanging indent 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:インラインテンプレート]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Fire</name></author>
	</entry>
</feed>