Sjabloon:Blockquote paragraphs

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen

The <blockquote> element and any templates that use it do not honor newlines:

Markup Renders as
<blockquote>
Line 1
Line 2
Line 3
Line 4
</blockquote>

Line 1 Line 2 Line 3 Line 4

To resolve this, use the <poem> tag inside <blockquote>:

Markup Renders as
<blockquote><poem>
Line 1
Line 2
Line 3
Line 4
</poem></blockquote>

<poem>

Line 1 Line 2 Line 3 Line 4

</poem>

[bewerken] [purge] Template documentation

Usage

This is a documentation subtemplate transcluded into the /doc pages of block quotation templates on how to work around a MediaWiki bug that affects all of them.

Use it like so:

== Paragraphs ==
{{blockquote paragraphs}}