Template:Blockquote paragraphs

From PortlandWiki
Revision as of 16:27, 21 March 2012 by WikiMaster (talk | contribs) (1 revision: Import from source: http://en.wikipedia.org/wiki/Template:Quote)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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] Documentation icon 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.