Template:Paragraph break
Jump to navigation
Jump to search
Usage
[edit]This template produces a "visual paragraph break" by inserting the following empty tag pair:
.
<div class="paragraphbreak"></div>
Example:
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{paragraph break}}Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
produces:
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Purpose
[edit]In some instances, it is not possible to introduce paragraph breaks using newlines alone. For example, within a list item and within references. However, using
tags can cause problems for navigation with screen readers, which expect these tags to delimit paragraphs of prose.
<p>
This template is particularly useful within the comments at talk pages where discussions are formatted as lists (using colons or asterisks for indentation).
The above documentation is transcluded from Template:Paragraph break/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |