Predloga:Paragraph break
Ta predloga se uporablja v sistemskih sporočilih. Njene spremembe lahko povzročijo takojšnje spremembe uporabniškega vmesnika Wikipedije. Da bi se izognili večjim motnjam, je treba vse spremembe najprej preizkusiti v /peskovniku ali na podstrani /testniprimeri te strani ali v svojem uporabniškem prostoru. Preizkušene spremembe lahko nato objavite v enem samem urejanju te strani. Prosimo, da se o morebitnih spremembah, pred objavo, pogovorite na pogovorni strani. |
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 <p>
tags can cause problems for navigation with screen readers, which expect these tags to delimit paragraphs of prose. This template is used mostly in footnotes, where a visual break is desired, without adding an additional paragraph navigation point.
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
Produces a "visual paragraph break".
Parameter | Opis | Vrsta | Stanje | |||
---|---|---|---|---|---|---|
Določen ni noben parameter |