Template:Blockquote paragraphs

From Remorra
Revision as of 22:39, 2 February 2012 by en>SMcCandlish (update)
Jump to: navigation, search

Due to the utterly intractable MediaWiki bug reported at Template:Bugzilla, and still unfixed Template:As of, block quoting on Wikipedia, with or without a template, cannot handle freeform linebreaking for paragraphs and poems and the like. x

The problem in action:

The intuitive choice:

{{bq|Line 1

Line 2
Line 3

Line 4}}

results in the mangled:

Template:Bq

Blank lines seem to work at first:

{{bq|Line 1


Line 2

Line 3

Line 4}}

though with quite tall spacing between the content blocks (lines, in our test cases):

Template:Bq

Yet this markup fails with wiki ":" indentation:

Template:Bq

Just trying to use <p>...</p> or <br /> markup won't solve all the problems:

{{bq|Line 1<br/>

Line 2<br/>
Line 3<br/>

Line 4}}

results in odd spacing, with the middle blocks too close together:

Template:Bq

Meanwhile this version again seems ok:

Template:Bq

but again can't be indented:

Template:Bq

The Template:Em solution for this is to use Template:Em with <p>...</p> or <br /> elements (or others, like nested blockquotes and lists):

Template:Tnull

which, while hard to read, especially for long content, results in the expected:

Template:Bq

And Template:Em be indented:

Template:Bq

Happily, there is an HTML-comment workaround for readability that lets you do whatever you want:

{{bq|1=<!--

-->Line 1<br/><!--
-->Line 2<br/><!--
-->Line 3<br/><!--
-->Line 4.}}

or even:

{{bq|1=<!--


-->Line 1<br/><!--

-->Line 2<br/><!--

-->Line 3<br/><!--

-->Line 4.}}

which results in the expected:

Template:Bq

They Template:Em indentable:

Template:Bq


{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}