Open main menu

Changes

Template:Blockquote paragraphs

765 bytes added, 18:21, 6 December 2021
m
1 revision imported
}}
An easy solution is to use the {{tl|poemquotepoem quote}} template instead of {{tag|blockquote}}. This is effectively the same as using the {{xtag|poem}} tag inside {{code|lang=html|code=<blockquote>}}, which converts line breaks to {{code|lang=html|code=<br />}} tags:
{{markup
|<syntaxhighlight lang="html">
Note that it may be necessary to put a line break in the wikitext before <nowiki><blockquote> and after </blockquote></nowiki> in order for the paragraphs to render with the intended separation. (This also makes the wikitext easier to read.)
This paragraph style also works with {{tl|quoteblockquote}}, which is a replacement for {{xtag|blockquote}} that also has parameters to make formatting of the attribution more convenient and consistent. Blockquote and templates that call it, and are indented with colon (:), bulleted with asterisk (*), or numbered with number (#), will generate errors and incorrectly display anything after a newline character.<!--Please do not "fix" these deliberate errors. -->{{markup|<syntaxhighlight lang="html">:<blockquote>Paragraph 1Paragraph 2</blockquote></syntaxhighlight>|:<blockquote>Paragraph 1Paragraph 2</blockquote>}} {{markup|<syntaxhighlight lang="html">*<blockquote>Paragraph 1Paragraph 2</blockquote></syntaxhighlight>|*<blockquote>Paragraph 1Paragraph 2</blockquote>}} {{markup|<syntaxhighlight lang="html">#<blockquote>Paragraph 1Paragraph 2</blockquote></syntaxhighlight>|#<blockquote>Paragraph 1Paragraph 2</blockquote>}} 
----<noinclude>
{{Documentation}}