Template:Blockquote paragraphs: Difference between revisions

rv change of sense and accuracy
mNo edit summary
(rv change of sense and accuracy)
Line 1:
<div style="float: right; padding: 0 1em;">{{navbar|Blockquote paragraphs|plain=y}}</div>
Due to the utterly intractable [[MediaWiki]] bug reported at {{bugzilla|6200}}, and still unfixed {{as of|February 2012|lc=y}}, block quoting on Wikipedia, with or without a template, cannot handle freeform linebreaking for paragraphs and poems and the like, unless formatted one very specific (and annoying) way. It's not a problem of blockquote templates, but all uses of {{tag|blockquote|open}}.
 
Line 5:
The intuitive choice:
 
<blockquote><code><nowiki>{{</nowiki><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />
Line 2 <br />
Line 3 <br />
Line 4}}</code></blockquote>
 
Line 19:
Blank lines seem to work at first:
 
<blockquote><code><nowiki>{{</nowiki><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />
<br />
Line 2 <br />
<br />
Line 3 <br />
<br />
Line 4}}</code></blockquote>
Line 37:
Line 4}}
 
Yet this markup fails with wiki  ":" citation indentation:
 
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1
Line 49:
Just trying to use {{tag|p}} or {{tag|br|single}} markup won't solve all the problems:
 
<blockquote><code><nowiki>{{</nowiki><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 &lt;br/><br />
Line 2 &lt;br/><br />
Line 3 &lt;br/><br />
Line 4}}</code></blockquote>
 
results in odd spacing, with the middle blocks too close together:
 
{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />
Line 2 <br />
Line 3 <br />
Line 4}}
 
Meanwhile this version seems OKokay at first:
 
<blockquote><code><nowiki>{{</nowiki><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|&lt;p>Line 1&lt;/p><br />
Line 73:
<p>Line 4</p>}}
 
but again can't be indented in citation:
 
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|<p>Line 1</p>
Line 84:
{{As of|February 2012}}, the {{em|only}} solution for the problem is to use {{em|unbroken markup}} with {{tag|p}} or {{tag|br|single}} elements (or others, like nested blockquotes and lists):
 
:{{tnull|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 &lt;br/>Line 2 &lt;br/>Line 3 &lt;br/>Line 4.}}
 
which, while hard to read, especially for long content, results in the expected:
 
{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />Line 2 <br />Line 3 <br />Line 4.}}
 
And it {{em|does}} work with wikimarkup  ":" citation indentation, unlike the failed test cases hereinbeforeabove:
 
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1 <br />Line 2 <br />Line 3 <br />Line 4.}}
 
Happily, there is aan [[HTML]] -comment workaround for readability that lets you do whatever you want:
 
<blockquote><code><nowiki>
{{</nowiki><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|1=&lt;!--<br />
-->Line 1 &lt;br/>&lt;!--<br />
-->Line 2 &lt;br/>&lt;!--<br />
-->Line 3 &lt;br/>&lt;!--<br />
-->Line 4.}}
</code></blockquote>
Line 109:
{{</nowiki><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|1=&lt;!--<br />
<br />
-->Line 1 &lt;br/>&lt;!--<br />
<br />
-->Line 2 &lt;br/>&lt;!--<br />
<br />
-->Line 3 &lt;br/>&lt;!--<br />
<br />
-->Line 4.}}
Line 122:
{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|1=<!--
 
-->Line 1 <br /><!--
 
-->Line 2 <br /><!--
 
-->Line 3 <br /><!--
 
-->Line 4.}}
 
They {{em|are}} citableindentable:
 
:{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|1=<!--
-->Line 1 <br /><!--
-->Line 2 <br /><!--
-->Line 3 <br /><!--
-->Line 4.}}<noinclude>
 
{{Documentation}}
 
<!-- Categories and interwikis links go on the /doc subpage. -->
 
</noinclude>
Anonymous user