https://grlucas.net/index.php?title=Template:Blockquote_paragraphs&feed=atom&action=historyTemplate:Blockquote paragraphs - Revision history2024-03-19T06:07:24ZRevision history for this page on the wikiMediaWiki 1.39.0https://grlucas.net/index.php?title=Template:Blockquote_paragraphs&diff=593&oldid=prevGrlucas: 1 revision imported2018-12-19T19:27:03Z<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:27, 19 December 2018</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Grlucashttps://grlucas.net/index.php?title=Template:Blockquote_paragraphs&diff=592&oldid=preven>Nøkkenbuer: added {{code}}s and replaced nowikis with <syntaxhighlights>s2018-06-10T00:34:54Z<p>added {{code}}s and replaced nowikis with <syntaxhighlights>s</p>
<p><b>New page</b></p><div><div style="float: right; padding: 0 1em;">{{navbar|Blockquote paragraphs|plain=y}}</div><br />
The {{code|lang=html|code=<blockquote>}} element and any templates that use it do not honor newlines:<br />
{{markup<br />
|<syntaxhighlight lang="html"><br />
<blockquote><br />
Line 1<br />
Line 2<br />
Line 3<br />
Line 4<br />
</blockquote><br />
</syntaxhighlight><br />
|<blockquote><br />
Line 1<br />
Line 2<br />
Line 3<br />
Line 4<br />
</blockquote><br />
}}<br />
<br />
The simplest workaround for this is to use the {{xtag|poem}} tag inside {{code|lang=html|code=<blockquote>}}, which will convert line breaks to {{code|lang=html|code=<br />}} tags:<br />
{{markup<br />
|<syntaxhighlight lang="html"><br />
<blockquote><poem><br />
Line 1<br />
Line 2<br />
Line 3<br />
Line 4<br />
</poem></blockquote><br />
</syntaxhighlight><br />
|<blockquote><poem><br />
Line 1<br />
Line 2<br />
Line 3<br />
Line 4<br />
</poem></blockquote><br />
}}<noinclude><br />
<br />
To markup actual paragraphs within block quotations, entire blank lines can be used between them, which will convert to {{code|lang=html|code=<p>...</p>}} tags:<br />
<br />
{{markup<br />
|<syntaxhighlight lang="html"><br />
<blockquote><br />
Paragraph 1<br />
<br />
Paragraph 2<br />
<br />
Paragraph 3<br />
</blockquote><br />
</syntaxhighlight><br />
|<blockquote><br />
Paragraph 1<br />
<br />
Paragraph 2<br />
<br />
Paragraph 3<br />
</blockquote><br />
}}<noinclude><br />
<br />
{{Documentation}}<br />
<br />
<!-- Categories go on the /doc subpage. --><br />
<br />
</noinclude></div>en>Nøkkenbuer