Jump to content

ទំព័រគំរូ:Paragraph break/doc

ពីវិគីភីឌា

This template produces a "visual paragraph break" by inserting the following empty tag pair:

<div></div>

Example:

ទំព័រគំរូ:Block indent

produces:

ទំព័រគំរូ:Block indent

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. ). This template is used mostly in footnotes, where a visual break is desired, without adding an additional paragraph navigation point.

The following reference uses line breaks for multiple lines.[] The following reference uses the paragraph break template for paragraph breaks.[] The following reference uses <br /> tags for paragraph breaks.[]

Notes

  1. Paragraph 1a Paragraph 1b
  2. Paragraph 2a
    Paragraph 2b
  3. Line 3a
    Line 3b


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>

Consider the following list

  1. Paragraph 1a
    Paragraph 1b
  2. Paragraph 2

which was generated using

# Paragraph 1a {{paragraph break}} Paragraph 1b
# Paragraph 2


Produces a "visual paragraph break".

Template parameters

ParameterDescriptionTypeStatus
No parameters specified