Difference between revisions of "Template:Blockquote paragraphs"
en>SMcCandlish (loops again) |
en>SMcCandlish (update) |
||
| Line 1: | Line 1: | ||
| − | Due to the utterly intractable [[MediaWiki]] bug reported at {{bugzilla|6200}}, block quoting cannot handle freeform linebreaking for paragraphs and poems and the like. The {{em|only}} solution for this is to use unbroken markup with {{tag|p}} or {{tag|br|single}} elements: | + | Due to the utterly intractable [[MediaWiki]] bug reported at {{bugzilla|6200}}, block quoting cannot handle freeform linebreaking for paragraphs and poems and the like. |
| + | |||
| + | The problem in action: | ||
| + | :{{tnull|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1<br/> | ||
| + | Line 2<br/> | ||
| + | Line 3<br/> | ||
| + | Line 4.}} | ||
| + | Which results in: | ||
| + | :{{<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1<br/> | ||
| + | Line 2<br/> | ||
| + | Line 3<br/> | ||
| + | Line 4.}} | ||
| + | |||
| + | The {{em|only}} solution for this is to use unbroken markup with {{tag|p}} or {{tag|br|single}} elements: | ||
:{{tnull|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1<br/>Line 2<br/>Line 3<br/>Line 4.}} | :{{tnull|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>bq</noinclude>|Line 1<br/>Line 2<br/>Line 3<br/>Line 4.}} | ||
Which results in: | Which results in: | ||
Revision as of 17:55, 2 February 2012
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:
Which results in:
The Template:Em solution for this is to use unbroken markup with <p>...</p> or <br /> elements:
Which results in:
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.}}
Result of either:
Template:Bq {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}