Template:Paragraph break
| This template is used in system messages, and on approximately 2,140,000 pages, or roughly 3% of all pages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
| Any breaking changes to this template, including moving it or nominating it for deletion, must be communicated in advance to Twinkle's users and maintainers at Wikipedia talk:Twinkle. The standard installation of Twinkle relies on this template. Thank you. |
Usage
This template produces a "visual paragraph break" by inserting the following empty tag pair:
<div class="paragraphbreak"></div>
Example:
produces:
For best results, use this template in-line, as demonstrated above (do not add a manual line break after the template). Adding a manual line break can cause Wikipedia:Linter errors in some situations, i.e. when the block containing the template is indented using : or * markup.
Purpose
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 (see e.g. MOS:INDENTGAP). This template is used mostly in footnotes, where a visual break is desired, without adding an additional paragraph navigation point.
When discussing on talk pages, Wikipedia editors can use {{pb}} to start new paragraphs in a single post in a way where a single signature at the end clearly signifies all of it as your contribution. This also lets you avoid having to indent each new paragraph, since existing indentation (most commonly achieved through starting lines with : or * characters) is preserved over any visual paragraph breaks.
Example 1
The following reference uses line breaks for multiple lines.[1]
The following reference uses the paragraph break template for paragraph breaks.[2]
The following reference uses <br /> tags for paragraph breaks.[3]
Notes
which was generated using:
1. <ref>Paragraph 1a
Paragraph 1b</ref>
2. <ref>Paragraph 2a{{paragraph break}}Paragraph 2b</ref>
3. <ref>Line 3a<br />Line 3b</ref>
Example 2
Consider the following list
- Paragraph 1a Paragraph 1b
- Paragraph 2
which was generated using
# Paragraph 1a {{paragraph break}} Paragraph 1b
# Paragraph 2
See also
TemplateData
TemplateData for Paragraph break
Produces a "visual paragraph break".
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||