Difference between revisions of "Template:Blockquote paragraphs"
Jump to navigation
Jump to search
en>Nøkkenbuer (added {{code}}s and replaced nowikis with <syntaxhighlights>s) |
(No difference)
|
Revision as of 01:34, 10 June 2018
The <blockquote>
element and any templates that use it do not honor newlines:
Markup | Renders as |
---|---|
|
|
The simplest workaround for this is to use the <poem>
tag inside <blockquote>
, which will convert line breaks to <br />
tags:
Markup | Renders as |
---|---|
|
|
To markup actual paragraphs within block quotations, entire blank lines can be used between them, which will convert to <p>...</p>
tags:
Markup | Renders as |
---|---|
|
|
Usage
This is a documentation subtemplate transcluded into the /doc pages of block quotation templates on how to work around a MediaWiki bug[which?] that affects all of them.
Use it like so:
== Paragraphs ==
{{Blockquote paragraphs}}
The above documentation is transcluded from Template:Blockquote paragraphs/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |