Template:Blockquote paragraphs

From PortlandWiki
Jump to: navigation, search

Due to the utterly intractable MediaWiki bug reported at Bugzilla: 6200, and still unfixed as of February 2012, 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 <blockquote>.

As of February 2012, the only solution for the problem is to use unbroken markup with <p>...</p> or <br /> elements (or others, like nested blockquotes and lists):

{{bq|Line 1<br/>Line 2<br/>Line 3<br/>Line 4.}}

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

Template:Bq

And it does work with wikimarkup ":" indentation, unlike the failed test cases above:

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 are indentable:

Template:Bq


[create] 50px Template documentation
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.


Retrieved from "http://portlandwiki.org/index.php?title=Template:Blockquote_paragraphs&oldid=20203"