<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ml.sayahna.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ABq%2Fdoc</id>
	<title>Template:Bq/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ml.sayahna.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ABq%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://ml.sayahna.org/index.php?title=Template:Bq/doc&amp;action=history"/>
	<updated>2026-04-23T23:59:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.5</generator>
	<entry>
		<id>http://ml.sayahna.org/index.php?title=Template:Bq/doc&amp;diff=4942&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ml.sayahna.org/index.php?title=Template:Bq/doc&amp;diff=4942&amp;oldid=prev"/>
		<updated>2014-03-23T05:07:38Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:07, 23 March 2014&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>Admin</name></author>
		
	</entry>
	<entry>
		<id>http://ml.sayahna.org/index.php?title=Template:Bq/doc&amp;diff=4941&amp;oldid=prev</id>
		<title>Gadget850: Reverted 1 edit by 217.112.3.248 (talk). (TW)</title>
		<link rel="alternate" type="text/html" href="http://ml.sayahna.org/index.php?title=Template:Bq/doc&amp;diff=4941&amp;oldid=prev"/>
		<updated>2014-01-13T22:56:07Z</updated>

		<summary type="html">&lt;p&gt;Reverted 1 edit by &lt;a href=&quot;/index.php/Special:Contributions/217.112.3.248&quot; title=&quot;Special:Contributions/217.112.3.248&quot;&gt;217.112.3.248&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:217.112.3.248&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:217.112.3.248 (page does not exist)&quot;&gt;talk&lt;/a&gt;). (&lt;a href=&quot;/index.php?title=WP:TW&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:TW (page does not exist)&quot;&gt;TW&lt;/a&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;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
This template is to help facilitate the indentation of blocks of content (quotations, computer source code, etc.) with the [[Semantic markup|semantically correct]] {{tag|blockquote}} element, which can also be further styled and given metadata. This method is often preferred to using wikimarkup's &amp;quot;;&amp;quot; indentation (actually an abuse of {{tag|dt}} code), and other means that can cause problems or which are complicated and error-prone, and for [[WP:Accessibility|accessibility]], [[Separation of presentation and content|content/presentation separation]], [[semantic Web]], and [[WP:METADATA|metadata]] reasons; &amp;amp;#91;[[XHTML|X]]&amp;amp;#93;[[HTML]]'s {{tag|blockquote|open=y}} element has semantic meaning, while many tricks for indenting do not, or even have incorrect semantics.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
{{markupv&lt;br /&gt;
|markup=&amp;lt;nowiki&amp;gt;{{bq|1={{lorem}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|renders={{bq|1={{lorem}}}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Compare to:&lt;br /&gt;
&lt;br /&gt;
{{markupv&lt;br /&gt;
|markup=&amp;lt;nowiki&amp;gt;&amp;lt;blockquote&amp;gt;{{lorem}}&amp;lt;/blockquote&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|renders=&amp;lt;blockquote&amp;gt;{{lorem}}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that this example makes use of the &amp;quot;lorem&amp;quot; template&amp;amp;nbsp;– if you wish to use other text in your own quote (which you almost certainly will) you should not enclose that quote in pairs of template brackets.  Doing so will produce a template error and your text will appear in red.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
*{{para|text}} or {{para|quote}} or {{para|1}} (required) the content of the indented block; it is always safest to specify this parameter explicitly, as it will otherwise break if the content ever contains the &amp;quot;=&amp;quot; character, and can also fail under other technical circumstances.&lt;br /&gt;
*{{para|class}} an additional CSS class; it already uses &amp;lt;code&amp;gt;templatequote&amp;lt;/code&amp;gt; by default.&lt;br /&gt;
*{{para|id}} an identifier, which can be used as a link target or for other purposes, e.g. custom user scripts; it must begin with a letter, not a number or symbol, and be unique on a page.&lt;br /&gt;
*{{para|style}} inline CSS directives for custom styling, like background color.&lt;br /&gt;
*{{para|title}} metadata that indicates a title or label for the element; different browsers handle this differently, most often as a pop-up &amp;quot;tooltip&amp;quot; on mouseover.&lt;br /&gt;
&lt;br /&gt;
===Cited quotations===&lt;br /&gt;
For use with cited quotations, {{tnull|bq}} supports the sourcing parameters (and their aliases) of the older and simpler {{tlx|quote}} templates and the frequently abused {{tlx|cquote}}, so {{tnull|bq}} can be used as a drop-in replacement for them that provides the above additional features. Conversion from several other templates, including {{tlx|quote box}} and {{tlx|quotation}}, even {{tlx|talkquote}}, is trivially easy. Converting from {{tlx|rquote}} requires deletion of its first parameter, which is always &amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;right&amp;lt;/code&amp;gt; and then the rest of its data will just work without modification. Such conversions of course lose features (decoration, etc.) of many of those templates, but sometimes that is precisely what is desired.&lt;br /&gt;
&lt;br /&gt;
*{{para|2}} or {{para|sign}} or {{para|cite}} or {{para|author}} or {{para|by}} author/speaker of the quotation; this is free-form text and can including a link to the author's article.&lt;br /&gt;
*{{para|3}} or {{para|source}} or {{para|ts}} source from which the quotation is drawn; this is free-form text and can including links, styling, etc.; if converting from {{tlx|quote box}}, the author would also be included in {{para|source}}, but should really be moved manually to the above parameter.&lt;br /&gt;
*{{para|4}} or {{para|diff}} optionally, you can divide the citation up further, e.g. {{para|2|Lastname, Firstname}}{{para|3|&amp;quot;Article Title&amp;quot;}}{{para|4|Book Title}}, but this is not really necessary, and is mainly to make conversion from {{tlx|quotation}} a little easier. Parameter 4 is automatically italicized, since it is only used for larger works like books, albums, magazines, or TV shows. It also maps to {{para|diff}} for conversion of {{tlx|talkquote}}.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
{{markupv&lt;br /&gt;
|markup=&amp;lt;nowiki&amp;gt;{{bq |text={{Lorem}} |sign=Anne O. Nymus |source=&amp;lt;cite&amp;gt;The Unlightable Being of Bareness&amp;lt;/cite&amp;gt;, 1992, p. 37}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|renders={{bq |text={{Lorem}} |sign=Anne O. Nymus |source=&amp;lt;cite&amp;gt;The Unlightable Being of Bareness&amp;lt;/cite&amp;gt;, 1992, p. 37}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{markupv&lt;br /&gt;
|markup=&amp;lt;nowiki&amp;gt;{{bq |1={{Lorem}} |2=Anne O. Nymus |3=1992, &amp;quot;Introduction&amp;quot;, pp. vii–ix |4=The Unlightable Being of Bareness}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|renders={{bq |1={{Lorem}} |2=Anne O. Nymus |3=1992, &amp;quot;Introduction&amp;quot;, pp. vii–ix |4=The Unlightable Being of Bareness}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Working around display problems===&lt;br /&gt;
&lt;br /&gt;
;Lists and other complexities&lt;br /&gt;
Complex markup may require a simple trick to work around a longstanding MediaWiki bug; this is the inclusion of the code &amp;lt;code&amp;gt;&amp;amp;lt;nowiki /&amp;amp;gt;&amp;lt;/code&amp;gt; immediately after the {{para|1}} (or {{para|text}} if the content following the &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; begins with a linebreak:&lt;br /&gt;
&lt;br /&gt;
{{markup|title=This fails:&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{bq|1=&lt;br /&gt;
*Foo&lt;br /&gt;
*Bar&lt;br /&gt;
*Baz&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{bq|1=&lt;br /&gt;
*Foo&lt;br /&gt;
*Bar&lt;br /&gt;
*Baz&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{markup|title=This works properly:&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{bq|1=&amp;amp;lt;nowiki /&amp;amp;gt;&lt;br /&gt;
*Foo&lt;br /&gt;
*Bar&lt;br /&gt;
*Baz&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|{{bq|1=&amp;lt;nowiki /&amp;gt;&lt;br /&gt;
*Foo&lt;br /&gt;
*Bar&lt;br /&gt;
*Baz&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This tweak unfortunately cannot be put into the template code itself, as the {{tag|nowiki|s}} markup doesn't pass through the transclusion process.&lt;br /&gt;
&lt;br /&gt;
'''Multiple paragraphs'''&lt;br /&gt;
* {{Blockquote paragraphs}}&lt;br /&gt;
&lt;br /&gt;
'''URLs and other breakage'''&lt;br /&gt;
&lt;br /&gt;
Make sure that all the parameters are named (e.g. {{para|1}}, etc. or with word names like {{para|source}}). Many URLs, and plenty of other things, contain the &amp;quot;=&amp;quot; character, which due to [[MediaWiki]] limitations, will cause the template to malfunction if used in an unnamed parameter.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
'''Block quotations'''&lt;br /&gt;
* {{Quotation templates see also|}}&lt;br /&gt;
&lt;br /&gt;
'''Semantic markup'''&lt;br /&gt;
* {{Var/seealso}}&lt;br /&gt;
&lt;br /&gt;
{{basepage subpage&lt;br /&gt;
|&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Quotation templates]]&lt;br /&gt;
[[Category:Programming typing-aid templates]]&lt;br /&gt;
[[Category:Semantic markup templates]]&lt;br /&gt;
[[Category:Wikipedia XHTML tag replacing templates]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Gadget850</name></author>
		
	</entry>
</feed>