Jump to content

Template:Br/doc

From Wikisource

Inserts a line break without using HTML tags in the body of MediaWiki code.

Usage

[edit]

Manually break a line of text at a specified place:

Roses are red{{br}}Violets are blue

Renders as:

Roses are red
Violets are blue

TemplateData

[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

Br

Inserts a line break. Useful when wanting to avoid using HTML within wikitext.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

See also

[edit]
  • {{lb}} which outputs a line break that is not shown in the Page: namespace
  • {{!lb}} which outputs a line break that is only shown in the Page: namespace
  • {{wbr}}, which recommends line breaks to the browser
  • {{pbr}}, which creates a div that mimics a paragraph break.