Template:Blockquote paragraphs

From Remorra
Revision as of 18:00, 2 February 2012 by en>SMcCandlish (oops)
Jump to: navigation, search

Due to the utterly intractable MediaWiki bug reported at Template:Bugzilla, block quoting cannot handle freeform linebreaking for paragraphs and poems and the like.

The problem in action:

{{bq|Line 1<br/>

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

Line 4.}}

Which results in the oddly spaced: Template:Bq

The Template:Em solution for this is to use unbroken markup with <p>...</p> or <br /> elements:

Template:Tnull

Which results in the expected:

Template:Bq

However there is an HTML-comment workaround for readability that lets you do whatever you want, and is even indentable with *, : and # markup:

{{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.}}

Either which results in the expected:

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