Template:Paragraph break

From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation[view · edit · history · purge ]

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 <p> tags can cause problems for navigation with screen readers, which expect these tags to delimit paragraphs of prose.

This template is particularly useful within the comments at talk pages where discussions are formatted as lists (using colons or asterisks for indentation).