<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ABlock_indent%2Fdoc</id>
	<title>Template:Block indent/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3ABlock_indent%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Block_indent/doc&amp;action=history"/>
	<updated>2026-07-16T16:30:20Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Template:Block_indent/doc&amp;diff=2811529&amp;oldid=prev</id>
		<title>imported&gt;Liangent-bot：​清理有蓝链却未移除内部链接助手模板的页面：MediaWiki:Common.css</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Block_indent/doc&amp;diff=2811529&amp;oldid=prev"/>
		<updated>2017-02-17T04:34:41Z</updated>

		<summary type="html">&lt;p&gt;清理&lt;a href=&quot;/wiki/Category:%E6%9C%89%E8%93%9D%E9%93%BE%E5%8D%B4%E6%9C%AA%E7%A7%BB%E9%99%A4%E5%86%85%E9%83%A8%E9%93%BE%E6%8E%A5%E5%8A%A9%E6%89%8B%E6%A8%A1%E6%9D%BF%E7%9A%84%E9%A1%B5%E9%9D%A2&quot; title=&quot;Category:有蓝链却未移除内部链接助手模板的页面&quot;&gt;有蓝链却未移除内部链接助手模板的页面&lt;/a&gt;：&lt;a href=&quot;/wiki/MediaWiki:Common.css&quot; title=&quot;MediaWiki:Common.css&quot;&gt;MediaWiki:Common.css&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&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:维基数据|Wikipedia:Wikidata]]) --&amp;gt;&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 {{tsl|en|Semantic HTML||semantically abusing}} the {{tag|blockquote}} element, which is only for {{tsl|en|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 [[Wikipedia:格式手冊/列表|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 my 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 [[EM|&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;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
{{tsl|en|Category:Inline spacing templates||Category:Inline spacing templates}}&lt;br /&gt;
[[Category:輸入支援模板]]&lt;br /&gt;
{{tsl|en|Category:Semantic markup templates||Category:Semantic markup templates}}&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Liangent-bot</name></author>
	</entry>
</feed>