Fyrimynd:Blockquote paragraphs

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search

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 work around this, use the <poem> tag inside <blockquote>, which will convert line breaks to br tags:

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

Line 1
Line 2
Line 3
Line 4

Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

Usage[rætta wikitekst]

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

Use it like so:

== Paragraphs ==
{{blockquote paragraphs}}