ਫਰਮਾ:Paragraph break
This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any changes at the talk page before implementing them. |
Usage
ਸੋਧੋThis template produces a "visual paragraph break" by inserting the following empty tag pair:
<div class="paragraphbreak"></div>
Example:
produces:
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
tags can cause problems for navigation with screen readers, which expect these tags to delimit paragraphs of prose (see e.g. ). This template is used mostly in footnotes, where a visual break is desired, without adding an additional paragraph navigation point.
<p>
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
tags for paragraph breaks.[3]
<br />
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
Produces a "visual paragraph break".
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |||
---|---|---|---|---|---|---|
No parameters specified |