Template:Blockquote paragraphs: Difference between revisions

m
52 revisions imported from wikipedia:Template:Blockquote_paragraphs
(moved)
m (52 revisions imported from wikipedia:Template:Blockquote_paragraphs)
 
(One intermediate revision by the same user not shown)
Line 20:
}}
 
An easy solution is to use the {{tl|poem quotepoemquote}} template instead of {{tagxtag|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">
Line 59:
}}
 
This paragraph style also works with {{tl|blockquotequote}}, which is a replacement for {{xtag|blockquote}} that also has parameters to make formatting of the attribution more convenientconveniently and consistentconsistently.
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|blockquote}}, 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 1
Paragraph 2</blockquote>
</syntaxhighlight>
|
:<blockquote>Paragraph 1
Paragraph 2</blockquote>
}}
 
{{markup
|<syntaxhighlight lang="html">
*<blockquote>Paragraph 1
Paragraph 2</blockquote>
</syntaxhighlight>
|
*<blockquote>Paragraph 1
Paragraph 2</blockquote>
}}
 
{{markup
|<syntaxhighlight lang="html">
#<blockquote>Paragraph 1
Paragraph 2</blockquote>
</syntaxhighlight>
|
#<blockquote>Paragraph 1
Paragraph 2</blockquote>
}}
 
----<noinclude>
{{Documentation}}