Sjabloon:Blockquote paragraphs: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(Nieuwe pagina aangemaakt met '<div style="float: right; padding: 0 1em;">{{navbar|Blockquote paragraphs|plain=y}}</div> The {{tag|blockquote|o}} element and any templates that use it do not hono...') |
(geen verschil)
|
Huidige versie van 19 jul 2013 om 16:14
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> |
|
To resolve this, use the <poem>
tag inside <blockquote>
:
Markup | Renders as |
---|---|
<blockquote><poem> Line 1 Line 2 Line 3 Line 4 </poem></blockquote> |
|
[bewerken] [ ] Template documentation
Usage
This is a documentation subtemplate transcluded into the /doc pages of block quotation templates on how to work around a MediaWiki bug that affects all of them.
Use it like so:
== Paragraphs ==
{{blockquote paragraphs}}
The above documentation is transcluded from Sjabloon:Blockquote paragraphs/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |